projects
/
javainspect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f337554
)
bugfix
author
Svjatoslav Agejenko
<svjatoslav@svjatoslav.eu>
Fri, 13 Sep 2013 15:12:04 +0000
(18:12 +0300)
committer
Svjatoslav Agejenko
<svjatoslav@svjatoslav.eu>
Fri, 13 Sep 2013 15:12:04 +0000
(18:12 +0300)
.classpath
patch
|
blob
|
history
.gitignore
patch
|
blob
|
history
.project
patch
|
blob
|
history
.settings/org.eclipse.jdt.core.prefs
patch
|
blob
|
history
src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java
patch
|
blob
|
history
diff --git
a/.classpath
b/.classpath
index
5adac7b
..
e4af868
100644
(file)
--- a/
.classpath
+++ b/
.classpath
@@
-14,6
+14,7
@@
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
+ <attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
diff --git
a/.gitignore
b/.gitignore
index
2f7896d
..
6874e1e
100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-1
+1,3
@@
+/.settings/org.eclipse.wst.common.component
+/.settings/org.eclipse.wst.common.project.facet.core.xml
target/
target/
diff --git
a/.project
b/.project
index
9a24d02
..
56ca015
100644
(file)
--- a/
.project
+++ b/
.project
@@
-5,6
+5,11
@@
<projects>
</projects>
<buildSpec>
<projects>
</projects>
<buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
@@
-15,9
+20,17
@@
<arguments>
</arguments>
</buildCommand>
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
</buildSpec>
<natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
</natures>
</projectDescription>
</natures>
</projectDescription>
diff --git
a/.settings/org.eclipse.jdt.core.prefs
b/.settings/org.eclipse.jdt.core.prefs
index
60105c1
..
69c31cd
100644
(file)
--- a/
.settings/org.eclipse.jdt.core.prefs
+++ b/
.settings/org.eclipse.jdt.core.prefs
@@
-1,5
+1,8
@@
eclipse.preferences.version=1
eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.6
diff --git
a/src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java
b/src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java
index
96e0d20
..
0f12dd4
100644
(file)
--- a/
src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java
+++ b/
src/main/java/eu/svjatoslav/inspector/java/methods/Annotation.java
@@
-20,6
+20,9
@@
public class Annotation {
while (true) {
final TokenizerMatch token = tokenizer.getNextToken();
while (true) {
final TokenizerMatch token = tokenizer.getNextToken();
+ if (token == null)
+ return;
+
if ("(".equals(token.token))
depth++;
if (")".equals(token.token))
if ("(".equals(token.token))
depth++;
if (")".equals(token.token))