Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class SecretTests extends AbstractTest {
private final String secretName = "test_secret";
private final String content_type = "application/octet-stream";

private final Date expiration = new Date(1451330264394l);
private final Date expiration = new Date(1451330084180L);

public void testListSecretsByName() throws IOException {
respondWith(SECRETS_JSON);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Boolean deserialize(JsonParser jp, DeserializationContext ctxt) throws IO
return Boolean.valueOf(_parseBooleanFromNumber(jp, ctxt));
}
if (t == JsonToken.VALUE_NULL) {
return getNullValue();
return getNullValue(ctxt);
}
// And finally, let's allow Strings to be converted too
if (t == JsonToken.VALUE_STRING) {
Expand All @@ -51,7 +51,7 @@ public Boolean deserialize(JsonParser jp, DeserializationContext ctxt) throws IO
return Boolean.FALSE;
}
if (text.length() == 0) {
return getEmptyValue();
return getNullValue(ctxt);
}
throw ctxt.weirdStringException(text, Boolean.class, "only \"true\" or \"false\" recognized");
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<release.version>2.0.0</release.version>
<aries.spifly.version>1.0.0</aries.spifly.version>
<slf4j.version>1.7.21</slf4j.version>
<jackson.version>2.7.3</jackson.version>
<jackson.version>2.9.10</jackson.version>
<maven.jar.plugin.version>2.6</maven.jar.plugin.version>
<additionalparam>-Xdoclint:none</additionalparam>
</properties>
Expand Down