directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r809942 - in /directory/studio/trunk: apacheds/src/main/java/org/apache/directory/studio/apacheds/StudioConsoleAppender.java schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java
Date Tue, 01 Sep 2009 09:49:33 GMT
Author: pamarcelot
Date: Tue Sep  1 09:49:33 2009
New Revision: 809942

URL: http://svn.apache.org/viewvc?rev=809942&view=rev
Log:
Moved to equals() method as stated in the javadoc.

Modified:
    directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/StudioConsoleAppender.java
    directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java

Modified: directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/StudioConsoleAppender.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/StudioConsoleAppender.java?rev=809942&r1=809941&r2=809942&view=diff
==============================================================================
--- directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/StudioConsoleAppender.java
(original)
+++ directory/studio/trunk/apacheds/src/main/java/org/apache/directory/studio/apacheds/StudioConsoleAppender.java
Tue Sep  1 09:49:33 2009
@@ -60,7 +60,7 @@
         {
             public void propertyChange( PropertyChangeEvent event )
             {
-                if ( ApacheDsPluginConstants.PREFS_SERVER_LOGS_PATTERN.equalsIgnoreCase(
event.getProperty() ) )
+                if ( ApacheDsPluginConstants.PREFS_SERVER_LOGS_PATTERN.equals( event.getProperty()
) )
                 {
                     // We need to set the layout asynchronously to avoid UI thread exception
                     Display.getDefault().asyncExec( new Runnable()

Modified: directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java?rev=809942&r1=809941&r2=809942&view=diff
==============================================================================
--- directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java
(original)
+++ directory/studio/trunk/schemaeditor/src/main/java/org/apache/directory/studio/schemaeditor/controller/SchemaViewController.java
Tue Sep  1 09:49:33 2009
@@ -559,8 +559,8 @@
             {
                 if ( authorizedPrefs.contains( event.getProperty() ) )
                 {
-                    if ( PluginConstants.PREFS_SCHEMA_VIEW_GROUPING == event.getProperty()
-                        || PluginConstants.PREFS_SCHEMA_VIEW_SCHEMA_PRESENTATION == event.getProperty()
)
+                    if ( PluginConstants.PREFS_SCHEMA_VIEW_GROUPING.equals( event.getProperty()
)
+                        || PluginConstants.PREFS_SCHEMA_VIEW_SCHEMA_PRESENTATION.equals(
event.getProperty() ) )
                     {
                         view.reloadViewer();
                     }



Mime
View raw message