Skip to content

Commit

Permalink
Reorganized property files and message bundle to reduce classpath con…
Browse files Browse the repository at this point in the history
…flicts.
  • Loading branch information
Michael Fuchs committed Apr 16, 2021
1 parent 841501b commit 0e9ef56
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/main/java/de/fumix/holidays/config/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ public class Config {
private static final Logger LOG = LoggerFactory.getLogger(Config.class);

// Resource paths to the configuration.
final static String HOLIDAY_PROPERTIES = "/holiday.properties";
final static String REGION_DE_PROPERTIES = "/region_DE.properties";
final static String REGION_AT_PROPERTIES = "/region_AT.properties";
final static String HOLIDAY_PROPERTIES = "/de/fumix/holidays/holiday.properties";
final static String REGION_DE_PROPERTIES = "/de/fumix/holidays/region_DE.properties";
final static String REGION_AT_PROPERTIES = "/de/fumix/holidays/region_AT.properties";


final LinkedHashMap<String, Holiday> holidays;
Expand All @@ -29,7 +29,7 @@ public Optional<Region> regionOf(String abbrev) {


public static ResourceBundle getHolidaysBundle(Locale locale) {
return ResourceBundle.getBundle("holidays.holidays");
return ResourceBundle.getBundle("de.fumix.holidays.messages");
}

public static Config fromResources() {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0e9ef56

Please sign in to comment.