velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1834360 - /velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/ClassUtils.java
Date Mon, 25 Jun 2018 18:24:34 GMT
Author: cbrisson
Date: Mon Jun 25 18:24:33 2018
New Revision: 1834360

URL: http://svn.apache.org/viewvc?rev=1834360&view=rev
Log:
[tools/generic] remove unused ClassUtils.getInstance() method

Modified:
    velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/ClassUtils.java

Modified: velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/ClassUtils.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/ClassUtils.java?rev=1834360&r1=1834359&r2=1834360&view=diff
==============================================================================
--- velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/ClassUtils.java
(original)
+++ velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/ClassUtils.java
Mon Jun 25 18:24:33 2018
@@ -49,15 +49,8 @@ import org.apache.velocity.util.Enumerat
  */
 public class ClassUtils
 {
-    public static final ClassUtils INSTANCE = new ClassUtils();
-
     private ClassUtils() {}
 
-    public ClassUtils getInstance()
-    {
-        return INSTANCE;
-    }
-
     // shortcuts for readability...
     private static final ClassLoader getThreadContextLoader()
     {



Mime
View raw message