cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ntimof...@apache.org
Subject [11/11] cayenne git commit: Cleanup
Date Fri, 02 Feb 2018 13:07:45 GMT
Cleanup


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

Branch: refs/heads/master
Commit: d8a944b0b67fa2ffc2dddb9430a65dd18d3f3fdb
Parents: d1c214f
Author: Nikita Timofeev <stariy95@gmail.com>
Authored: Fri Feb 2 15:53:40 2018 +0300
Committer: Nikita Timofeev <stariy95@gmail.com>
Committed: Fri Feb 2 15:53:40 2018 +0300

----------------------------------------------------------------------
 cayenne-client/src/main/java/org/apache/cayenne/rop/ROPUtil.java  | 3 +--
 .../org/apache/cayenne/configuration/xml/ObjEntityHandler.java    | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/d8a944b0/cayenne-client/src/main/java/org/apache/cayenne/rop/ROPUtil.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/main/java/org/apache/cayenne/rop/ROPUtil.java b/cayenne-client/src/main/java/org/apache/cayenne/rop/ROPUtil.java
index c95f46d..41866a9 100644
--- a/cayenne-client/src/main/java/org/apache/cayenne/rop/ROPUtil.java
+++ b/cayenne-client/src/main/java/org/apache/cayenne/rop/ROPUtil.java
@@ -143,8 +143,7 @@ public class ROPUtil {
             return (char) (d + '0' - 52);
         } else if (d == 62) {
             return '+';
-        }
-        else {
+        } else {
             return '/';
         }
     }

http://git-wip-us.apache.org/repos/asf/cayenne/blob/d8a944b0/cayenne-server/src/main/java/org/apache/cayenne/configuration/xml/ObjEntityHandler.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/main/java/org/apache/cayenne/configuration/xml/ObjEntityHandler.java
b/cayenne-server/src/main/java/org/apache/cayenne/configuration/xml/ObjEntityHandler.java
index a447dc2..1f04456 100644
--- a/cayenne-server/src/main/java/org/apache/cayenne/configuration/xml/ObjEntityHandler.java
+++ b/cayenne-server/src/main/java/org/apache/cayenne/configuration/xml/ObjEntityHandler.java
@@ -38,7 +38,7 @@ import static org.apache.cayenne.util.Util.isBlank;
  */
 public class ObjEntityHandler extends NamespaceAwareNestedTagHandler {
 
-    private static Logger logger = LoggerFactory.getLogger(ObjEntityHandler.class);
+    private static final Logger logger = LoggerFactory.getLogger(ObjEntityHandler.class);
 
     private static final String OBJ_ENTITY_TAG = "obj-entity";
     private static final String OBJ_ATTRIBUTE_TAG = "obj-attribute";


Mime
View raw message