Skip to content

Commit d91cbc5

Browse files
committed
Reformat code
Big hack
1 parent 9c67a7a commit d91cbc5

File tree

160 files changed

+3940
-5617
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+3940
-5617
lines changed

src/main/java/com/eclipsesource/json/Json.java

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ private Json()
7777
/**
7878
* Returns a JsonValue instance that represents the given <code>int</code> value.
7979
*
80-
* @param value
81-
* the value to get a JSON representation for
80+
* @param value the value to get a JSON representation for
8281
* @return a JSON value that represents the given value
8382
*/
8483
public static JsonValue value(int value)
@@ -89,8 +88,7 @@ public static JsonValue value(int value)
8988
/**
9089
* Returns a JsonValue instance that represents the given <code>long</code> value.
9190
*
92-
* @param value
93-
* the value to get a JSON representation for
91+
* @param value the value to get a JSON representation for
9492
* @return a JSON value that represents the given value
9593
*/
9694
public static JsonValue value(long value)
@@ -101,8 +99,7 @@ public static JsonValue value(long value)
10199
/**
102100
* Returns a JsonValue instance that represents the given <code>float</code> value.
103101
*
104-
* @param value
105-
* the value to get a JSON representation for
102+
* @param value the value to get a JSON representation for
106103
* @return a JSON value that represents the given value
107104
*/
108105
public static JsonValue value(float value)
@@ -117,8 +114,7 @@ public static JsonValue value(float value)
117114
/**
118115
* Returns a JsonValue instance that represents the given <code>double</code> value.
119116
*
120-
* @param value
121-
* the value to get a JSON representation for
117+
* @param value the value to get a JSON representation for
122118
* @return a JSON value that represents the given value
123119
*/
124120
public static JsonValue value(double value)
@@ -133,8 +129,7 @@ public static JsonValue value(double value)
133129
/**
134130
* Returns a JsonValue instance that represents the given string.
135131
*
136-
* @param string
137-
* the string to get a JSON representation for
132+
* @param string the string to get a JSON representation for
138133
* @return a JSON value that represents the given string
139134
*/
140135
public static JsonValue value(String string)
@@ -145,8 +140,7 @@ public static JsonValue value(String string)
145140
/**
146141
* Returns a JsonValue instance that represents the given <code>boolean</code> value.
147142
*
148-
* @param value
149-
* the value to get a JSON representation for
143+
* @param value the value to get a JSON representation for
150144
* @return a JSON value that represents the given value
151145
*/
152146
public static JsonValue value(boolean value)
@@ -169,8 +163,7 @@ public static JsonValue array()
169163
* Creates a new JsonArray that contains the JSON representations of the given <code>int</code>
170164
* values.
171165
*
172-
* @param values
173-
* the values to be included in the new JSON array
166+
* @param values the values to be included in the new JSON array
174167
* @return a new JSON array that contains the given values
175168
*/
176169
public static JsonArray array(int... values)
@@ -191,8 +184,7 @@ public static JsonArray array(int... values)
191184
* Creates a new JsonArray that contains the JSON representations of the given <code>long</code>
192185
* values.
193186
*
194-
* @param values
195-
* the values to be included in the new JSON array
187+
* @param values the values to be included in the new JSON array
196188
* @return a new JSON array that contains the given values
197189
*/
198190
public static JsonArray array(long... values)
@@ -213,8 +205,7 @@ public static JsonArray array(long... values)
213205
* Creates a new JsonArray that contains the JSON representations of the given <code>float</code>
214206
* values.
215207
*
216-
* @param values
217-
* the values to be included in the new JSON array
208+
* @param values the values to be included in the new JSON array
218209
* @return a new JSON array that contains the given values
219210
*/
220211
public static JsonArray array(float... values)
@@ -235,8 +226,7 @@ public static JsonArray array(float... values)
235226
* Creates a new JsonArray that contains the JSON representations of the given <code>double</code>
236227
* values.
237228
*
238-
* @param values
239-
* the values to be included in the new JSON array
229+
* @param values the values to be included in the new JSON array
240230
* @return a new JSON array that contains the given values
241231
*/
242232
public static JsonArray array(double... values)
@@ -257,8 +247,7 @@ public static JsonArray array(double... values)
257247
* Creates a new JsonArray that contains the JSON representations of the given
258248
* <code>boolean</code> values.
259249
*
260-
* @param values
261-
* the values to be included in the new JSON array
250+
* @param values the values to be included in the new JSON array
262251
* @return a new JSON array that contains the given values
263252
*/
264253
public static JsonArray array(boolean... values)
@@ -278,8 +267,7 @@ public static JsonArray array(boolean... values)
278267
/**
279268
* Creates a new JsonArray that contains the JSON representations of the given strings.
280269
*
281-
* @param strings
282-
* the strings to be included in the new JSON array
270+
* @param strings the strings to be included in the new JSON array
283271
* @return a new JSON array that contains the given strings
284272
*/
285273
public static JsonArray array(String... strings)
@@ -311,11 +299,9 @@ public static JsonObject object()
311299
* Parses the given input string as JSON. The input must contain a valid JSON value, optionally
312300
* padded with whitespace.
313301
*
314-
* @param string
315-
* the input string, must be valid JSON
302+
* @param string the input string, must be valid JSON
316303
* @return a value that represents the parsed JSON
317-
* @throws ParseException
318-
* if the input is not valid JSON
304+
* @throws ParseException if the input is not valid JSON
319305
*/
320306
public static JsonValue parse(String string)
321307
{
@@ -343,13 +329,10 @@ public static JsonValue parse(String string)
343329
* performance.
344330
* </p>
345331
*
346-
* @param reader
347-
* the reader to read the JSON value from
332+
* @param reader the reader to read the JSON value from
348333
* @return a value that represents the parsed JSON
349-
* @throws IOException
350-
* if an I/O error occurs in the reader
351-
* @throws ParseException
352-
* if the input is not valid JSON
334+
* @throws IOException if an I/O error occurs in the reader
335+
* @throws ParseException if the input is not valid JSON
353336
*/
354337
public static JsonValue parse(Reader reader) throws IOException
355338
{

0 commit comments

Comments
 (0)