Skip to content

Commit c10e086

Browse files
committed
spotless:apply
1 parent 9bd1f3f commit c10e086

File tree

11 files changed

+14
-15
lines changed

11 files changed

+14
-15
lines changed

json-smart-action/src/main/java/net/minidev/json/actions/navigate/CopyPathsAction.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@
2828
public class CopyPathsAction implements JSONNavigateAction {
2929
/** The destination tree for copied paths */
3030
protected JSONObject destTree;
31+
3132
/** The current destination branch */
3233
protected JSONObject destBranch;
34+
3335
/** Stack for tracking destination nodes */
3436
protected Stack<Object> destNodeStack;
3537

json-smart-action/src/main/java/net/minidev/json/actions/navigate/JSONNavigator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* A navigator that operates on JSON objects and arrays for path-based navigation.
9-
*
9+
*
1010
1111
* @since 15 June 2016.
1212
*/

json-smart-action/src/main/java/net/minidev/json/actions/navigate/TreeNavigator.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@
3131
public class TreeNavigator<M extends Map<String, Object>, L extends List<Object>> {
3232
/** The list of paths to navigate */
3333
protected List<String> pathsToNavigate;
34+
3435
/** The navigation action to execute */
3536
protected NavigateAction<M, L> action;
37+
3638
/** The path prefix to use */
3739
protected String pathPrefix = "";
3840

json-smart-action/src/main/java/net/minidev/json/actions/path/PathDelimiter.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
public abstract class PathDelimiter {
1010
/** The delimiter character */
1111
protected char delimChar;
12+
1213
/** The delimiter as a string */
1314
protected String delimStr;
15+
1416
/** Whether to accept delimiter characters in keys */
1517
protected boolean acceptDelimInKey;
1618

json-smart-action/src/main/java/net/minidev/json/actions/traverse/KeysPrintAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
/**
88
* A traverse action that prints keys during JSON traversal.
9-
*
9+
*
1010
1111
* @since 5/24/16.
1212
*/

json-smart-action/src/main/java/net/minidev/json/actions/traverse/LocatePathsJsonAction.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,16 @@
2222
public class LocatePathsJsonAction implements JSONTraverseAction {
2323
/** The list of paths found during traversal */
2424
protected List<String> pathsFound;
25+
2526
/** The list of paths to search for */
2627
protected List<String> pathsToFind;
28+
2729
/** The path delimiter to use */
2830
protected PathDelimiter delim;
2931

3032
/**
3133
* Creates a new locate paths action.
32-
*
34+
*
3335
* @param pathsToFind A path to a field in the {@link JSONObject} should be specified in n-gram
3436
* format where keys are chained: k0[[[.k1].k2]...]
3537
* @param delim the path delimiter to use

json-smart/src/main/java/net/minidev/json/parser/JSONParserBase.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ protected <T> T parseNext(JsonReaderI<T> mapper) throws ParseException {
226226
* use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a
227227
* ContainerFactory
228228
*/
229-
230229
private <T> T parseInner(JsonReaderI<T> mapper) throws ParseException {
231230
T result;
232231
try {
@@ -825,7 +824,6 @@ public void append(int c) {
825824
b[p] = (char) c;
826825
}
827826

828-
829827
public String toString() {
830828
return new String(b, 0, p + 1);
831829
}

json-smart/src/main/java/net/minidev/json/parser/JSONParserMemory.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ protected void readNQString(boolean[] stop) throws IOException {
4141
extractStringTrim(start, pos);
4242
}
4343

44-
/**
45-
* this function must be sync with JSONParserStream.readNumber
46-
*/
44+
/** this function must be sync with JSONParserStream.readNumber */
4745
protected Object readNumber(boolean[] stop) throws ParseException, IOException {
4846
int start = pos;
4947
// accept first char digit or -
@@ -132,7 +130,7 @@ protected void readString() throws ParseException, IOException {
132130
return;
133131
}
134132
sb.clear();
135-
133+
136134
readString2();
137135
}
138136

json-smart/src/main/java/net/minidev/json/parser/JSONParserReader.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
* Parser for JSON text. Please note that JSONParser is NOT thread-safe.
2727
*
2828
* @author Uriel Chemouni &lt;[email protected]&gt;
29-
*
3029
*/
3130
class JSONParserReader extends JSONParserStream {
3231
private Reader in;

json-smart/src/main/java/net/minidev/json/parser/JSONParserStream.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ protected void readNQString(boolean[] stop) throws IOException {
4141
xs = sb.toString().trim();
4242
}
4343

44-
/**
45-
* this function must be sync with JSONParserMemory.readNumber
46-
*/
44+
/** this function must be sync with JSONParserMemory.readNumber */
4745
protected Object readNumber(boolean[] stop) throws ParseException, IOException {
4846
sb.clear();
4947
sb.append(c); // accept first char digit or -

0 commit comments

Comments
 (0)