Skip to content

Commit d7c53af

Browse files
author
jan
committed
Fix NLS warning
1 parent 179663a commit d7c53af

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

io.sloeber.core/src/io/sloeber/core/Messages.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ public class Messages extends NLS {
118118
public static String CompileDescription_WarningsDefault;
119119
public static String CompileDescription_WarningsMore;
120120
public static String CompileDescription_WarningsNone;
121+
public static String SloeberConfiguration_Failed_Modify_config_rename;
121122
public static String SloeberProject_Project_is_null;
122123

123124
static {

io.sloeber.core/src/io/sloeber/core/internal/SloeberConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ private boolean updateSourceEntries() {
793793
getAutoBuildDesc().getCdtConfigurationDescription().setSourceEntries(newSourceEntries);
794794

795795
} catch (Exception e) {
796-
Activator.log(new Status(IStatus.ERROR, CORE_PLUGIN_ID, "Failed to modify configuration for rename", e));
796+
Activator.log(new Status(IStatus.ERROR, CORE_PLUGIN_ID, Messages.SloeberConfiguration_Failed_Modify_config_rename, e));
797797
}
798798
return true;
799799
}

io.sloeber.core/src/io/sloeber/core/messages.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,5 @@ CompileDescription_WarningsCustom=Custom
9191
CompileDescription_WarningsDefault=Default
9292
CompileDescription_WarningsMore=More
9393
CompileDescription_WarningsNone=None
94+
SloeberConfiguration_Failed_Modify_config_rename=Failed to modify configuration for rename
9495
SloeberProject_Project_is_null=The provided project is null. Sloeber can not upgrade.

0 commit comments

Comments
 (0)