directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1478353 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionDetailsPage.java
Date Thu, 02 May 2013 12:54:52 GMT
Author: pamarcelot
Date: Thu May  2 12:54:51 2013
New Revision: 1478353

URL: http://svn.apache.org/r1478353
Log:
Renamed variable.

Modified:
    directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionDetailsPage.java

Modified: directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionDetailsPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionDetailsPage.java?rev=1478353&r1=1478352&r2=1478353&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionDetailsPage.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/PartitionDetailsPage.java
Thu May  2 12:54:51 2013
@@ -791,12 +791,12 @@ public class PartitionDetailsPage implem
         removeListeners();
 
         // Checking if the selected partition is the system partition
-        boolean isPartition = PartitionsPage.isSystemPartition( input );
+        boolean isSystemPartition = PartitionsPage.isSystemPartition( input );
 
         // ID
         String id = input.getPartitionId();
         idText.setText( ( id == null ) ? "" : id ); //$NON-NLS-1$
-        idText.setEnabled( !isPartition );
+        idText.setEnabled( !isSystemPartition );
 
         // Cache Size
         cacheSizeText.setText( "" + input.getPartitionCacheSize() ); //$NON-NLS-1$
@@ -804,7 +804,7 @@ public class PartitionDetailsPage implem
         // Suffix
         Dn suffix = input.getPartitionSuffix();
         suffixText.setText( ( suffix == null ) ? "" : suffix.toString() ); //$NON-NLS-1$
-        suffixText.setEnabled( !isPartition );
+        suffixText.setEnabled( !isSystemPartition );
 
         // Enable Optimizer
         enableOptimizerCheckbox.setSelection( input.isJdbmPartitionOptimizerEnabled() );



Mime
View raw message