diff options
author | Pacien TRAN-GIRARD | 2014-05-04 18:10:35 +0200 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2014-05-04 18:10:35 +0200 |
commit | b8cafdd1c70b3fbb455ee6821c3dd0e5dc587188 (patch) | |
tree | bf84b623ddec71edfbfc68f16d5530a3e11f7155 /src/org/json/simple/parser | |
parent | 688634ae5a5aaf663159032e67d2132ea61c5d5f (diff) | |
download | esieequest-b8cafdd1c70b3fbb455ee6821c3dd0e5dc587188.tar.gz |
Use lombok and clean up
Diffstat (limited to 'src/org/json/simple/parser')
-rw-r--r-- | src/org/json/simple/parser/ContentHandler.java | 4 | ||||
-rw-r--r-- | src/org/json/simple/parser/Yylex.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/org/json/simple/parser/ContentHandler.java b/src/org/json/simple/parser/ContentHandler.java index a704485..5ed233d 100644 --- a/src/org/json/simple/parser/ContentHandler.java +++ b/src/org/json/simple/parser/ContentHandler.java | |||
@@ -62,7 +62,7 @@ public interface ContentHandler { | |||
62 | * | 62 | * |
63 | * @see #endObjectEntry | 63 | * @see #endObjectEntry |
64 | */ | 64 | */ |
65 | boolean startObjectEntry(String key) throws ParseException, IOException; | 65 | boolean startObjectEntry(final String key) throws ParseException, IOException; |
66 | 66 | ||
67 | /** | 67 | /** |
68 | * Receive notification of the end of the value of previous object entry. | 68 | * Receive notification of the end of the value of previous object entry. |
@@ -105,6 +105,6 @@ public interface ContentHandler { | |||
105 | * @return false if the handler wants to stop parsing after return. | 105 | * @return false if the handler wants to stop parsing after return. |
106 | * @throws ParseException | 106 | * @throws ParseException |
107 | */ | 107 | */ |
108 | boolean primitive(Object value) throws ParseException, IOException; | 108 | boolean primitive(final Object value) throws ParseException, IOException; |
109 | 109 | ||
110 | } | 110 | } |
diff --git a/src/org/json/simple/parser/Yylex.java b/src/org/json/simple/parser/Yylex.java index 1ccf1b4..10049c4 100644 --- a/src/org/json/simple/parser/Yylex.java +++ b/src/org/json/simple/parser/Yylex.java | |||
@@ -304,11 +304,11 @@ class Yylex { | |||
304 | */ | 304 | */ |
305 | public final void yyreset(final rejava.io.Reader reader) { | 305 | public final void yyreset(final rejava.io.Reader reader) { |
306 | this.zzReader = reader; | 306 | this.zzReader = reader; |
307 | //this.zzAtBOL = true; | 307 | // this.zzAtBOL = true; |
308 | this.zzAtEOF = false; | 308 | this.zzAtEOF = false; |
309 | this.zzEndRead = this.zzStartRead = 0; | 309 | this.zzEndRead = this.zzStartRead = 0; |
310 | this.zzCurrentPos = this.zzMarkedPos = 0; | 310 | this.zzCurrentPos = this.zzMarkedPos = 0; |
311 | //this.yyline = this.yychar = this.yycolumn = 0; | 311 | // this.yyline = this.yychar = this.yycolumn = 0; |
312 | this.zzLexicalState = Yylex.YYINITIAL; | 312 | this.zzLexicalState = Yylex.YYINITIAL; |
313 | } | 313 | } |
314 | 314 | ||