Skip to content

Commit

Permalink
Merge branch 'shimObjectMapper' of https://github.com/lmolkova/azure-…
Browse files Browse the repository at this point in the history
…sdk-for-java into shimObjectMapper
  • Loading branch information
lmolkova committed Aug 17, 2021
2 parents dc3c3a4 + 3c67009 commit 9fe076e
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 @@ -59,7 +59,7 @@ private SemanticVersion getVersion(String className) {
try {
return SemanticVersion.getPackageVersionForClass(className);
} catch (Throwable e) {
logger.warning("Failed to retrieve package version for class " + className, e);
logger.warning("Failed to retrieve package version for class {}", className, e);
return SemanticVersion.createInvalid();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public ObjectMapper createHeaderMapper() {
}

@SuppressWarnings("deprecation")
private <S extends MapperBuilder<?, ?>> S initializeMapperBuilder(S mapper) {
private <S extends MapperBuilder<?, ?>> S initializeMapperBuilder(S mapper) {
mapper.enable(SerializationFeature.WRITE_EMPTY_JSON_ARRAYS)
.enable(DeserializationFeature.ACCEPT_EMPTY_STRING_AS_NULL_OBJECT)
.enable(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY)
Expand Down

0 comments on commit 9fe076e

Please sign in to comment.