(no commit message)
[utils] / support / cdi / src / test / java / org / wamblee / cdi / MySingleton.java
index 8af870eac46caf05a3dced7030a950ab8d04251b..60c0c06fd765a4b602f1b0b695c46549b9ddfda4 100644 (file)
@@ -17,22 +17,21 @@ package org.wamblee.cdi;
 
 import javax.enterprise.context.ApplicationScoped;
 
-
 @ApplicationScoped
 public class MySingleton {
-    
-    private static int instances = 0; 
 
-    public MySingleton() { 
-        instances++;
+    private static int INSTANCES = 0;
+
+    public MySingleton() {
+        INSTANCES++;
     }
-    
-    public static void reset() { 
-        instances = 0; 
+
+    public static void reset() {
+        INSTANCES = 0;
     }
-    
+
     public static int getInstances() {
-        return instances;
+        return INSTANCES;
     }
-   
+
 }