You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mb...@apache.org on 2010/07/20 23:38:04 UTC

svn commit: r966018 - /commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/NullInvoker.java

Author: mbenson
Date: Tue Jul 20 21:38:04 2010
New Revision: 966018

URL: http://svn.apache.org/viewvc?rev=966018&view=rev
Log:
add shared instance of the noncomplex NullInvoker

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

Modified: commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/NullInvoker.java
URL: http://svn.apache.org/viewvc/commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/NullInvoker.java?rev=966018&r1=966017&r2=966018&view=diff
==============================================================================
--- commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/NullInvoker.java (original)
+++ commons/proper/proxy/branches/version-2.0-work/core/src/main/java/org/apache/commons/proxy2/invoker/NullInvoker.java Tue Jul 20 21:38:04 2010
@@ -35,6 +35,11 @@ public class NullInvoker implements Invo
     /** Serialization version */
     private static final long serialVersionUID = 1L;
 
+    /**
+     * Statically available instance.
+     */
+    public static final NullInvoker INSTANCE = new NullInvoker();
+
   //**********************************************************************************************************************
  // Invoker Implementation
  //**********************************************************************************************************************