incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1031819 - /incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java
Date Fri, 05 Nov 2010 21:39:35 GMT
Author: mbenson
Date: Fri Nov  5 21:39:34 2010
New Revision: 1031819

URL: http://svn.apache.org/viewvc?rev=1031819&view=rev
Log:
add a procedure completion callback mechanism.

Modified:
    incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java

Modified: incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java?rev=1031819&r1=1031818&r2=1031819&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-jsr303/src/main/java/org/apache/bval/jsr303/util/PathNavigation.java
Fri Nov  5 21:39:34 2010
@@ -69,8 +69,15 @@ public class PathNavigation {
          * {@inheritDoc}
          */
         public final Object result() {
+            complete();
             return null;
         }
+
+        /**
+         * Complete this CallbackProcedure.  Default implementation is noop.
+         */
+        protected void complete() {
+        }
     }
 
     /**



Mime
View raw message