jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbros...@apache.org
Subject svn commit: r1205944 - /jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/ext/StopJackrabbit.java
Date Thu, 24 Nov 2011 18:05:38 GMT
Author: dbrosius
Date: Thu Nov 24 18:05:37 2011
New Revision: 1205944

URL: http://svn.apache.org/viewvc?rev=1205944&view=rev
Log:
remove always false conditional code

Modified:
    jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/ext/StopJackrabbit.java

Modified: jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/ext/StopJackrabbit.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/ext/StopJackrabbit.java?rev=1205944&r1=1205943&r2=1205944&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/ext/StopJackrabbit.java
(original)
+++ jackrabbit/trunk/jackrabbit-standalone/src/main/java/org/apache/jackrabbit/standalone/cli/ext/StopJackrabbit.java
Thu Nov 24 18:05:37 2011
@@ -42,10 +42,6 @@ public class StopJackrabbit implements C
         if (repo == null) {
             throw new IllegalStateException("No current working repository");
         }
-        if (!(repo instanceof RepositoryImpl)) {
-            throw new IllegalStateException(
-                    "Jackrabbit is not the current working repository");
-        }
         repo.shutdown();
         CommandHelper.setRepository(ctx, null, null);
         return false;



Mime
View raw message