continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r366268 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Date Thu, 05 Jan 2006 20:06:59 GMT
Author: evenisse
Date: Thu Jan  5 12:06:56 2006
New Revision: 366268

URL: http://svn.apache.org/viewcvs?rev=366268&view=rev
Log:
Fix schedule existence test

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=366268&r1=366267&r2=366268&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Thu Jan  5 12:06:56 2006
@@ -1170,7 +1170,7 @@
         {
             s = store.getScheduleByName( schedule.getName() );
 
-            if ( s == null )
+            if ( s != null )
             {
                 throw logAndCreateException( "Can't create schedule. A schedule with the
same name already exists.", null );
             }



Mime
View raw message