Skip to content

Commit

Permalink
bugfix resource bundle not found error log (#1603)
Browse files Browse the repository at this point in the history
Signed-off-by: tomsun28 <[email protected]>
Co-authored-by: Logic <[email protected]>
  • Loading branch information
tomsun28 and zqr10159 authored Mar 4, 2024
1 parent 121d515 commit 495c445
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ public ResourceBundle newBundle(String baseName, Locale locale, String format, C
throw new ClassCastException(bundleClass.getName()
+ " cannot be cast to ResourceBundle");
}
} catch (ClassNotFoundException e) {
log.error(e.getMessage(), e);
}
} catch (ClassNotFoundException ignored) {}
} else if (JAVA_PROPERTIES.equals(format)) {
final String resourceName = toResourceName0(bundleName, "properties");
if (resourceName == null) {
Expand Down

0 comments on commit 495c445

Please sign in to comment.