aboutsummaryrefslogtreecommitdiff
path: root/src/org/json
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2014-05-04 18:10:35 +0200
committerPacien TRAN-GIRARD2014-05-04 18:10:35 +0200
commitb8cafdd1c70b3fbb455ee6821c3dd0e5dc587188 (patch)
treebf84b623ddec71edfbfc68f16d5530a3e11f7155 /src/org/json
parent688634ae5a5aaf663159032e67d2132ea61c5d5f (diff)
downloadesieequest-b8cafdd1c70b3fbb455ee6821c3dd0e5dc587188.tar.gz
Use lombok and clean up
Diffstat (limited to 'src/org/json')
-rw-r--r--src/org/json/simple/JSONStreamAware.java2
-rw-r--r--src/org/json/simple/parser/ContentHandler.java4
-rw-r--r--src/org/json/simple/parser/Yylex.java4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/org/json/simple/JSONStreamAware.java b/src/org/json/simple/JSONStreamAware.java
index 561634d..c0420fb 100644
--- a/src/org/json/simple/JSONStreamAware.java
+++ b/src/org/json/simple/JSONStreamAware.java
@@ -14,5 +14,5 @@ public interface JSONStreamAware {
14 /** 14 /**
15 * write JSON string to out. 15 * write JSON string to out.
16 */ 16 */
17 void writeJSONString(Writer out) throws IOException; 17 void writeJSONString(final Writer out) throws IOException;
18} 18}
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