directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1228273 - in /directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs: CommonCoreConstants.java StudioProgressMonitor.java StudioRunnableWithProgressAdapter.java
Date Fri, 06 Jan 2012 17:01:06 GMT
Author: pamarcelot
Date: Fri Jan  6 17:01:06 2012
New Revision: 1228273

URL: http://svn.apache.org/viewvc?rev=1228273&view=rev
Log:
Marked strings as non-externalized.

Modified:
    directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/CommonCoreConstants.java
    directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioProgressMonitor.java
    directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioRunnableWithProgressAdapter.java

Modified: directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/CommonCoreConstants.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/CommonCoreConstants.java?rev=1228273&r1=1228272&r2=1228273&view=diff
==============================================================================
--- directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/CommonCoreConstants.java
(original)
+++ directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/CommonCoreConstants.java
Fri Jan  6 17:01:06 2012
@@ -39,8 +39,8 @@ public final class CommonCoreConstants
     }
 
     /** The plug-in ID */
-    public static final String PLUGIN_ID = "org.apache.directory.studio.common.core";
+    public static final String PLUGIN_ID = "org.apache.directory.studio.common.core"; //$NON-NLS-1$
     
     /** The Job family ID */
-    public static final String JOB_FAMILY_ID = "org.apache.directory.studio.common.core.jobs.family";
+    public static final String JOB_FAMILY_ID = "org.apache.directory.studio.common.core.jobs.family";
//$NON-NLS-1$
 }

Modified: directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioProgressMonitor.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioProgressMonitor.java?rev=1228273&r1=1228272&r2=1228273&view=diff
==============================================================================
--- directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioProgressMonitor.java
(original)
+++ directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioProgressMonitor.java
Fri Jan  6 17:01:06 2012
@@ -47,7 +47,7 @@ public class StudioProgressMonitor exten
 {
     /** The job reports progress and checks for cancellation. */
     protected static Job reportProgressAndCheckCancellationJob = new Job(
-        Messages.getString( "StudioProgressMonitor.CheckCancellation" ) )
+        Messages.getString( "StudioProgressMonitor.CheckCancellation" ) ) //$NON-NLS-1$
     {
         protected IStatus run( IProgressMonitor monitor )
         {
@@ -337,18 +337,18 @@ public class StudioProgressMonitor exten
                 // append explicit status message
                 if ( !StringUtils.isEmpty( statusMessage ) )
                 {
-                    message += "\n - " + statusMessage;
+                    message += "\n - " + statusMessage; //$NON-NLS-1$
                 }
                 // append exception message if different to status message
                 if ( exception != null && exceptionMessage != null && !exceptionMessage.equals(
statusMessage ) )
                 {
                     // strip control characters
-                    int indexOfAny = StringUtils.indexOfAny( exceptionMessage, "\n\r\t" );
+                    int indexOfAny = StringUtils.indexOfAny( exceptionMessage, "\n\r\t" );
//$NON-NLS-1$
                     if ( indexOfAny > -1 )
                     {
                         exceptionMessage = exceptionMessage.substring( 0, indexOfAny - 1
);
                     }
-                    message += "\n - " + exceptionMessage;
+                    message += "\n - " + exceptionMessage; //$NON-NLS-1$
                 }
             }
 

Modified: directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioRunnableWithProgressAdapter.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioRunnableWithProgressAdapter.java?rev=1228273&r1=1228272&r2=1228273&view=diff
==============================================================================
--- directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioRunnableWithProgressAdapter.java
(original)
+++ directory/studio/trunk/plugins/common.core/src/main/java/org/apache/directory/studio/common/core/jobs/StudioRunnableWithProgressAdapter.java
Fri Jan  6 17:01:06 2012
@@ -46,6 +46,6 @@ public abstract class StudioRunnableWith
      */
     public String getErrorMessage()
     {
-        return "";
+        return ""; //$NON-NLS-1$
     }
 }



Mime
View raw message