Skip to content

Commit

Permalink
Log theme message correctly (#4333)
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeoneToIgnore authored Jun 27, 2018
1 parent a7f422f commit c3386e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Map<String, String> getBodyAttributes(String variant) {
break;
default:
LoggerFactory.getLogger(Lumo.class.getName()).warn(
"Lumo theme variant not recognized: '{0}'. Using no variant.",
"Lumo theme variant not recognized: '{}'. Using no variant.",
variant);
}
return attributes;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public Map<String, String> getBodyAttributes(String variant) {
default:
if (!variant.isEmpty()) {
LoggerFactory.getLogger(getClass().getName()).warn(
"Material theme variant not recognized: '{0}'. Using no variant.",
"Material theme variant not recognized: '{}'. Using no variant.",
variant);
}
return Collections.emptyMap();
Expand Down

0 comments on commit c3386e3

Please sign in to comment.