mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-07 03:06:03 +08:00
AjayKemparaj: Tabs to spaces and minor java code fixups
This commit is contained in:
@@ -967,8 +967,8 @@ public class JSONObject {
|
||||
String name = method.getName();
|
||||
String key = "";
|
||||
if (name.startsWith("get")) {
|
||||
if (name.equals("getClass") ||
|
||||
name.equals("getDeclaringClass")) {
|
||||
if ("getClass".equals(name) ||
|
||||
"getDeclaringClass".equals(name)) {
|
||||
key = "";
|
||||
} else {
|
||||
key = name.substring(3);
|
||||
|
Reference in New Issue
Block a user