directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r797960 - in /directory/studio/trunk: ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/ ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/
Date Sun, 26 Jul 2009 17:42:26 GMT
Author: seelmann
Date: Sun Jul 26 17:42:25 2009
New Revision: 797960

URL: http://svn.apache.org/viewvc?rev=797960&view=rev
Log:
o Fix for DIRSTUDIO-507 (Attempt to rename the rdn results in message contain {0} and {1})
o Fixed ArrayIndexOutOfBoundException 


Modified:
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_de.properties
    directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_fr.properties
    directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeRootDSERunnable.java

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages.properties?rev=797960&r1=797959&r2=797960&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages.properties
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages.properties
Sun Jul 26 17:42:25 2009
@@ -45,6 +45,6 @@
 ScopeDialog.WholeSubtrees=&Subtree (The whole subtrees)
 SimulateRenameDialogImpl.SimulateButton=Press OK to simulate the move/rename operation by
searching/copying/deleting.
 SimulateRenameDialogImpl.SimulateRename=Simulate moving/renaming?
-SimulateRenameDialogImpl.SimulateRenameDescription1=You are trying to move/rename '{0}' to
'{1}'.
-SimulateRenameDialogImpl.SimulateRenameDescription2=The LDAP server '{0}' doesn't support
moving/renaming of non-leaf entries.
+SimulateRenameDialogImpl.SimulateRenameDescription1=You are trying to move/rename {0} to
{1}.
+SimulateRenameDialogImpl.SimulateRenameDescription2=The LDAP server {0} doesn't support moving/renaming
of non-leaf entries.
 TextDialog.TextEditor=Text Editor

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_de.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_de.properties?rev=797960&r1=797959&r2=797960&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_de.properties
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_de.properties
Sun Jul 26 17:42:25 2009
@@ -45,6 +45,6 @@
 ScopeDialog.WholeSubtrees=&Subtree (die gesamten Teilb\u00E4ume)
 SimulateRenameDialogImpl.SimulateButton=OK dr\u00FCcken, um die Verschieb-/Umbenenn-Operation
zu simulieren (durch suchen/kopieren/l\u00F6schen).
 SimulateRenameDialogImpl.SimulateRename=Verschieb-/Umbenenn-Operation simulieren?
-SimulateRenameDialogImpl.SimulateRenameDescription1=Sie versuchen '{0}' nach '{1}' umzubenennen
bzw. zu verschieben.
-SimulateRenameDialogImpl.SimulateRenameDescription2=Der LDAP server '{0}' unterst\u00FCtzt
nicht das Umbenennen bzw. Verschieben von Container-Eintr\u00E4gen.
+SimulateRenameDialogImpl.SimulateRenameDescription1=Sie versuchen {0} nach {1} umzubenennen
bzw. zu verschieben.
+SimulateRenameDialogImpl.SimulateRenameDescription2=Der LDAP Server {0} unterst\u00FCtzt
nicht das Umbenennen bzw. Verschieben von Container-Eintr\u00E4gen.
 TextDialog.TextEditor=Text Editor

Modified: directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_fr.properties
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_fr.properties?rev=797960&r1=797959&r2=797960&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_fr.properties
(original)
+++ directory/studio/trunk/ldapbrowser-common/src/main/java/org/apache/directory/studio/ldapbrowser/common/dialogs/messages_fr.properties
Sun Jul 26 17:42:25 2009
@@ -45,6 +45,6 @@
 ScopeDialog.WholeSubtrees=&Subtree (Tout les sous-arbres)
 SimulateRenameDialogImpl.SimulateButton=Appuyer sur OK pour simuler l'op\u00E9ration de d\u00E9placement/renommage
par recherche/copie/suppression.
 SimulateRenameDialogImpl.SimulateRename=Simuler le d\u00E9placement/renommage ?
-SimulateRenameDialogImpl.SimulateRenameDescription1=Vous essayez de d\u00E9placer/renommer
'{0}' vers/en '{1}'.
-SimulateRenameDialogImpl.SimulateRenameDescription2=Le serveur LDAP '{0}' ne supporte pas
le d\u00E9placement/renommage d'entr\u00E9e qui ne sont pas des feuilles.
+SimulateRenameDialogImpl.SimulateRenameDescription1=Vous essayez de d\u00E9placer/renommer
{0} vers/en {1}.
+SimulateRenameDialogImpl.SimulateRenameDescription2=Le serveur LDAP {0} ne supporte pas le
d\u00E9placement/renommage d'entr\u00E9e qui ne sont pas des feuilles.
 TextDialog.TextEditor=Editeur de texte

Modified: directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeRootDSERunnable.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeRootDSERunnable.java?rev=797960&r1=797959&r2=797960&view=diff
==============================================================================
--- directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeRootDSERunnable.java
(original)
+++ directory/studio/trunk/ldapbrowser-core/src/main/java/org/apache/directory/studio/ldapbrowser/core/jobs/InitializeRootDSERunnable.java
Sun Jul 26 17:42:25 2009
@@ -220,7 +220,7 @@
             {
                 for ( String namingContext : namingContextSet )
                 {
-                    if ( namingContext.charAt( namingContext.length() - 1 ) == '\u0000' )
+                    if ( namingContext.length() > 0 && namingContext.charAt( namingContext.length()
- 1 ) == '\u0000' )
                     {
                         namingContext = namingContext.substring( 0, namingContext.length()
- 1 );
                     }



Mime
View raw message