From f177c972589463674c4e3883a494cf4c1f186721 Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 10 Aug 2017 19:12:41 -0400 Subject: [PATCH] Replacing tabs with 4-spaces --- JSONObject.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/JSONObject.java b/JSONObject.java index 28f401e..a55ecf8 100644 --- a/JSONObject.java +++ b/JSONObject.java @@ -236,15 +236,15 @@ public class JSONObject { if (key != null) { // Check if key exists - if (this.opt(key) != null) { - // back one token to point to the last key character - x.back(); + if (this.opt(key) != null) { + // back one token to point to the last key character + x.back(); throw x.syntaxError("Duplicate key \"" + key + "\""); - } + } // Only add value if non-null Object value = x.nextValue(); if (value!=null) { - this.put(key, value); + this.put(key, value); } }