commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r1507557 - /commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java
Date Sat, 27 Jul 2013 02:05:35 GMT
Author: jcarman
Date: Sat Jul 27 02:05:35 2013
New Revision: 1507557

URL: http://svn.apache.org/r1507557
Log:
Removing trailing comment.

Modified:
    commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java

Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java?rev=1507557&r1=1507556&r2=1507557&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java
(original)
+++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/provider/SingletonProvider.java
Sat Jul 27 02:05:35 2013
@@ -34,9 +34,9 @@ public class SingletonProvider<T> extend
 
     private T instance;
 
-  //**********************************************************************************************************************
- // Constructors
- //**********************************************************************************************************************
+//**********************************************************************************************************************
+// Constructors
+//**********************************************************************************************************************
 
     /**
      * Create a new SingletonProvider instance.
@@ -47,9 +47,9 @@ public class SingletonProvider<T> extend
         super(inner);
     }
 
-  //**********************************************************************************************************************
- // ObjectProvider Implementation
- //**********************************************************************************************************************
+//**********************************************************************************************************************
+// ObjectProvider Implementation
+//**********************************************************************************************************************
 
     /**
      * {@inheritDoc}
@@ -61,7 +61,8 @@ public class SingletonProvider<T> extend
             if( instance == null )
             {
                 instance = super.getObject();
-                inner = null; // Garbage collection
+                // Garbage collection
+                inner = null;
             }
         }
         return instance;



Mime
View raw message