commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [1/3] [lang] JsonToStringStyle: private field FIELD_NAME_PREFIX can be static
Date Fri, 20 Jan 2017 17:48:42 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master 928e74f73 -> 86a082e8b


JsonToStringStyle: private field FIELD_NAME_PREFIX can be static


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/04436741
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/04436741
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/04436741

Branch: refs/heads/master
Commit: 044367419dd317eb9f9935d8360280b8b8695462
Parents: 928e74f
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Fri Jan 20 18:39:16 2017 +0100
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Fri Jan 20 18:39:16 2017 +0100

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/04436741/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java b/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
index f4eb64e..1658198 100644
--- a/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
+++ b/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
@@ -2366,7 +2366,7 @@ public abstract class ToStringStyle implements Serializable {
         /**
          * The summary size text start <code>'&gt;'</code>.
          */
-        private final String FIELD_NAME_PREFIX = "\"";
+        private static final String FIELD_NAME_PREFIX = "\"";
 
         /**
          * <p>


Mime
View raw message