directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r373654 - /directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
Date Tue, 31 Jan 2006 00:47:18 GMT
Author: akarasulu
Date: Mon Jan 30 16:47:16 2006
New Revision: 373654

URL: http://svn.apache.org/viewcvs?rev=373654&view=rev
Log:
oops put this exit in wrong place

Modified:
    directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java

Modified: directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
URL: http://svn.apache.org/viewcvs/directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java?rev=373654&r1=373653&r2=373654&view=diff
==============================================================================
--- directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
(original)
+++ directory/trunks/apacheds/tools/src/test/java/org/apache/ldap/server/dumptool/NotificationsExample.java
Mon Jan 30 16:47:16 2006
@@ -99,8 +99,6 @@
         else 
         {
             System.out.println( "Unknown event recieved with OID: " + evt.getNotification().getID()
);
-            System.out.println( "Process shutting down." );
-            System.exit( 1 );
         }
     }
 
@@ -108,5 +106,7 @@
     public void namingExceptionThrown( NamingExceptionEvent evt )
     {
         System.out.println( "Got an excption event: " + evt.getException().getMessage() );
+        System.out.println( "Process shutting down." );
+        System.exit( 1 );
     }
 }



Mime
View raw message