Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 517b913

Browse filesBrowse files
committed
Changes to NumericProperty.xml and string constants in messages.properties
Changed min/max values of some properties. Fixed the 'default-search-variable' attribute not appearing where it should have appeared, and being present where it is not required. Added some string constants.
1 parent 7d70aa5 commit 517b913
Copy full SHA for 517b913

File tree

Expand file treeCollapse file tree

3 files changed

+85
-109
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+85
-109
lines changed

‎src/main/java/pulse/ui/Messages.java

Copy file name to clipboardExpand all lines: src/main/java/pulse/ui/Messages.java
+13-12Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,19 @@
66
import java.util.ResourceBundle;
77

88
public class Messages {
9-
private static final String BUNDLE_NAME = "messages";
109

11-
private static final ResourceBundle RESOURCE_BUNDLE = getBundle(BUNDLE_NAME);
10+
private static final String BUNDLE_NAME = "messages";
1211

13-
private Messages() {
14-
}
12+
private static final ResourceBundle RESOURCE_BUNDLE = getBundle(BUNDLE_NAME);
1513

16-
public static String getString(String key) {
17-
try {
18-
return RESOURCE_BUNDLE.getString(key);
19-
} catch (MissingResourceException e) {
20-
return '!' + key + '!';
21-
}
22-
}
23-
}
14+
private Messages() {
15+
}
16+
17+
public static String getString(String key) {
18+
try {
19+
return RESOURCE_BUNDLE.getString(key);
20+
} catch (MissingResourceException e) {
21+
return '!' + key + '!';
22+
}
23+
}
24+
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.