vcs: fix i18n warnings - mark StringBuilders as Nls
[idea/community.git] / platform / dvcs-impl / src / com / intellij / dvcs / ui / CloneDvcsDialog.java
index 02f9c148c4a830b7fb4b0407869de1da002334de..987d9bfe726fb05ad35be159889f493169468106 100644 (file)
@@ -284,11 +284,11 @@ public abstract class CloneDvcsDialog extends DialogWrapper {
         showRepositoryUrlAutoCompletionTooltip();
         if (!myErrors.isEmpty()) {
           for (RepositoryListLoadingException error : myErrors) {
-            StringBuilder errorMessageBuilder = new StringBuilder();
+            @Nls StringBuilder errorMessageBuilder = new StringBuilder();
             errorMessageBuilder.append(error.getMessage());
             Throwable cause = error.getCause();
             if (cause != null) errorMessageBuilder.append(": ").append(cause.getMessage());
-            @Nls String message = errorMessageBuilder.toString(); //NON-NLS
+            @Nls String message = errorMessageBuilder.toString();
             myRepositoryListLoadingErrors.add(new ValidationInfo(message).asWarning().withOKEnabled());
           }
           startTrackingValidation();