You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by bd...@apache.org on 2011/02/25 16:02:07 UTC

svn commit: r1074561 - /sling/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/jarexec/JarExecutor.java

Author: bdelacretaz
Date: Fri Feb 25 15:02:07 2011
New Revision: 1074561

URL: http://svn.apache.org/viewvc?rev=1074561&view=rev
Log:
SLING-1981 - fix JDK 1.5 compilation

Modified:
    sling/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/jarexec/JarExecutor.java

Modified: sling/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/jarexec/JarExecutor.java
URL: http://svn.apache.org/viewvc/sling/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/jarexec/JarExecutor.java?rev=1074561&r1=1074560&r2=1074561&view=diff
==============================================================================
--- sling/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/jarexec/JarExecutor.java (original)
+++ sling/trunk/testing/tools/src/main/java/org/apache/sling/testing/tools/jarexec/JarExecutor.java Fri Feb 25 15:02:07 2011
@@ -123,12 +123,10 @@ public class JarExecutor {
      */
     public void start() throws Exception {
         final ExecuteResultHandler h = new ExecuteResultHandler() {
-            @Override
             public void onProcessFailed(ExecuteException ex) {
                 log.error("Process execution failed:" + ex, ex);
             }
 
-            @Override
             public void onProcessComplete(int result) {
                 log.info("Process execution complete, exit code=" + result);
             }
@@ -153,4 +151,4 @@ public class JarExecutor {
         e.setProcessDestroyer(new ShutdownHookProcessDestroyer());
         e.execute(cl, h);
     }
-}
\ No newline at end of file
+}