directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r111900 - /incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitor.java /incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitorAdapter.java
Date Tue, 14 Dec 2004 23:06:02 GMT
Author: akarasulu
Date: Tue Dec 14 15:06:00 2004
New Revision: 111900

URL: http://svn.apache.org/viewcvs?view=rev&rev=111900
Log:
oops this was causing recursion and stack overflow
Modified:
   incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitor.java
   incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitorAdapter.java

Modified: incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitor.java
Url: http://svn.apache.org/viewcvs/incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitor.java?view=diff&rev=111900&p1=incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitor.java&r1=111899&p2=incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitor.java&r2=111900
==============================================================================
--- incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitor.java
(original)
+++ incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitor.java
Tue Dec 14 15:06:00 2004
@@ -24,6 +24,9 @@
  */
 public interface EncoderMonitor
 {
+    /** Use this if you don't want to recreate this as just a NOOP monitor */
+    public EncoderMonitor INSTANCE = new EncoderMonitorAdapter();
+
     /**
      * Receive notification of a recoverable error.  This callback is used to
      * denote a failure to handle a unit of data to be encoded or decoded.  The

Modified: incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitorAdapter.java
Url: http://svn.apache.org/viewcvs/incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitorAdapter.java?view=diff&rev=111900&p1=incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitorAdapter.java&r1=111899&p2=incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitorAdapter.java&r2=111900
==============================================================================
--- incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitorAdapter.java
(original)
+++ incubator/directory/snickers/trunk/codec/src/java/org/apache/snickers/codec/stateful/EncoderMonitorAdapter.java
Tue Dec 14 15:06:00 2004
@@ -25,9 +25,6 @@
  */
 public class EncoderMonitorAdapter implements EncoderMonitor
 {
-    /** Use this if you don't want to recreate this as just a NOOP monitor */
-    public EncoderMonitorAdapter INSTANCE = new EncoderMonitorAdapter();
-
     /**
      * Receive notification of a recoverable error.  This callback is used to
      * denote a failure to handle a unit of data to be encoded or decoded.  The

Mime
View raw message