Skip to content

Commit f177c97

Browse files
committed
Replacing tabs with 4-spaces
1 parent 7d83534 commit f177c97

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

JSONObject.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,15 @@ public JSONObject(JSONTokener x) throws JSONException {
236236

237237
if (key != null) {
238238
// Check if key exists
239-
if (this.opt(key) != null) {
240-
// back one token to point to the last key character
241-
x.back();
239+
if (this.opt(key) != null) {
240+
// back one token to point to the last key character
241+
x.back();
242242
throw x.syntaxError("Duplicate key \"" + key + "\"");
243-
}
243+
}
244244
// Only add value if non-null
245245
Object value = x.nextValue();
246246
if (value!=null) {
247-
this.put(key, value);
247+
this.put(key, value);
248248
}
249249
}
250250

0 commit comments

Comments
 (0)