directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r666330 - /directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ReloadSchemasJob.java
Date Tue, 10 Jun 2008 21:20:45 GMT
Author: seelmann
Date: Tue Jun 10 14:20:44 2008
New Revision: 666330

URL: http://svn.apache.org/viewvc?rev=666330&view=rev
Log:
Fix for DIRSTUDIO-326: fixed reloading of schema

Modified:
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ReloadSchemasJob.java

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ReloadSchemasJob.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ReloadSchemasJob.java?rev=666330&r1=666329&r2=666330&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ReloadSchemasJob.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/ReloadSchemasJob.java
Tue Jun 10 14:20:44 2008
@@ -231,9 +231,8 @@
                 String schemaTimestamp = modifyTimestamp != null ? modifyTimestamp : createTimestamp;
                 String cacheTimestamp = schema.getModifyTimestamp() != null ? schema.getModifyTimestamp()
: schema
                     .getCreateTimestamp();
-                if ( cacheTimestamp == null
-                    || ( cacheTimestamp != null && schemaTimestamp != null &&
schemaTimestamp
-                        .compareTo( cacheTimestamp ) > 0 ) )
+                if ( cacheTimestamp != null && schemaTimestamp != null &&
schemaTimestamp
+                        .compareTo( cacheTimestamp ) > 0 )
                 {
                     return true;
                 }



Mime
View raw message