directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1025541 - in /directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards: ExportConnectionsWizard.java messages.properties
Date Wed, 20 Oct 2010 12:50:40 GMT
Author: pamarcelot
Date: Wed Oct 20 12:50:40 2010
New Revision: 1025541

URL: http://svn.apache.org/viewvc?rev=1025541&view=rev
Log:
Moved back some externalized strings in the java class. These were not intended to be externalized.

Modified:
    directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java
    directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/messages.properties

Modified: directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java?rev=1025541&r1=1025540&r2=1025541&view=diff
==============================================================================
--- directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java
(original)
+++ directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/ExportConnectionsWizard.java
Wed Oct 20 12:50:40 2010
@@ -113,7 +113,7 @@ public class ExportConnectionsWizard ext
             // Creating the ZipOutputStream
             ZipOutputStream zos = new ZipOutputStream( new FileOutputStream( new File( exportFileName
) ) );
             // Writing the Connections file.
-            zos.putNextEntry( new ZipEntry( Messages.getString( "ExportConnectionsWizard.1"
) ) ); //$NON-NLS-1$
+            zos.putNextEntry( new ZipEntry( "connections.xml" ) ); //$NON-NLS-1$
             Connection[] connections = ConnectionCorePlugin.getDefault().getConnectionManager().getConnections();
             Set<ConnectionParameter> connectionParameters = new HashSet<ConnectionParameter>();
             for ( Connection connection : connections )
@@ -123,7 +123,7 @@ public class ExportConnectionsWizard ext
             ConnectionIO.save( connectionParameters, zos );
             zos.closeEntry();
             // Writing the Connection Folders file.
-            zos.putNextEntry( new ZipEntry( Messages.getString( "ExportConnectionsWizard.2"
) ) ); //$NON-NLS-1$
+            zos.putNextEntry( new ZipEntry( "connectionFolders.xml" ) ); //$NON-NLS-1$
             ConnectionFolder[] connectionFolders = ConnectionCorePlugin.getDefault().getConnectionFolderManager()
                 .getConnectionFolders();
             Set<ConnectionFolder> connectionFoldersSet = new HashSet<ConnectionFolder>();
@@ -134,7 +134,7 @@ public class ExportConnectionsWizard ext
             ConnectionIO.saveConnectionFolders( connectionFoldersSet, zos );
             zos.closeEntry();
             // Writing the Browser Connections file.
-            zos.putNextEntry( new ZipEntry( Messages.getString( "ExportConnectionsWizard.3"
) ) ); //$NON-NLS-1$
+            zos.putNextEntry( new ZipEntry( "browserconnections.xml" ) ); //$NON-NLS-1$
             IBrowserConnection[] browserConnections = BrowserCorePlugin.getDefault().getConnectionManager()
                 .getBrowserConnections();
             Map<String, IBrowserConnection> browserConnectionsMap = new HashMap<String,
IBrowserConnection>();

Modified: directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/messages.properties
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/messages.properties?rev=1025541&r1=1025540&r2=1025541&view=diff
==============================================================================
--- directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/messages.properties
(original)
+++ directory/studio/branches/studio-connection-refactoring/plugins/ldapbrowser.ui/src/main/java/org/apache/directory/studio/ldapbrowser/ui/wizards/messages.properties
Wed Oct 20 12:50:40 2010
@@ -49,9 +49,6 @@ ExportBaseToPage.FileType={0} File
 ExportBaseToPage.OverwriteExistingFile=O&verwrite existing {0} file
 ExportBaseToPage.PleaseEnterTargetFile=Please enter the target {0} file.
 ExportBaseToPage.SelectFileType=Select {0} File
-ExportConnectionsWizard.1=connections.xml
-ExportConnectionsWizard.2=connectionFolders.xml
-ExportConnectionsWizard.3=browserconnections.xml
 ExportConnectionsWizard.ConnectionsExport=Connections Export
 ExportConnectionsWizardPage.ChooseFile=Choose a file
 ExportConnectionsWizardPage.DefineConnectionsExport=Define where connections should be exported.



Mime
View raw message