You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2019/12/11 13:09:14 UTC

[isis] branch master updated: ISIS-2158: minor: make some static fields final (code quality)

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new f7cb319  ISIS-2158: minor: make some static fields final (code quality)
f7cb319 is described below

commit f7cb31954df6da0d16d8d243c8706311a8f49c07
Author: Andi Huber <ah...@apache.org>
AuthorDate: Wed Dec 11 14:09:02 2019 +0100

    ISIS-2158: minor: make some static fields final (code quality)
---
 .../src/main/java/org/apache/isis/applib/Identifier.java       | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/applib/src/main/java/org/apache/isis/applib/Identifier.java b/core/applib/src/main/java/org/apache/isis/applib/Identifier.java
index a0e8ed2..417c838 100644
--- a/core/applib/src/main/java/org/apache/isis/applib/Identifier.java
+++ b/core/applib/src/main/java/org/apache/isis/applib/Identifier.java
@@ -73,11 +73,11 @@ public class Identifier implements Comparable<Identifier> {
         public abstract String toIdentityString(Identifier identifier);
     }
 
-    public static Depth CLASS = Depth.CLASS;
-    public static Depth CLASS_MEMBERNAME = Depth.CLASS_MEMBERNAME;
-    public static Depth CLASS_MEMBERNAME_PARAMETERS = Depth.CLASS_MEMBERNAME_PARAMETERS;
-    public static Depth MEMBERNAME_ONLY = Depth.MEMBERNAME_ONLY;
-    public static Depth PARAMETERS_ONLY = Depth.PARAMETERS_ONLY;
+    public static final Depth CLASS = Depth.CLASS;
+    public static final Depth CLASS_MEMBERNAME = Depth.CLASS_MEMBERNAME;
+    public static final Depth CLASS_MEMBERNAME_PARAMETERS = Depth.CLASS_MEMBERNAME_PARAMETERS;
+    public static final Depth MEMBERNAME_ONLY = Depth.MEMBERNAME_ONLY;
+    public static final Depth PARAMETERS_ONLY = Depth.PARAMETERS_ONLY;
 
     // ///////////////////////////////////////////////////////////////////////////
     // Factory methods