File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 8484 <module name =" AvoidStarImport" /> <!-- Java Style Guide: No wildcard imports -->
8585 <module name =" AvoidStaticImport" > <!-- Java Style Guide: No static imports -->
8686 <property name =" excludes" value ="
87+ com.google.common.base.Preconditions.*,
88+ com.palantir.logsafe.Preconditions.*,
8789 java.util.Collections.*,
8890 java.util.stream.Collectors.*,
89- com.palantir.logsafe.Preconditions .*,
90- com.google.common.base.Preconditions .*,
91- org.apache.commons.lang3.Validate .*" />
91+ org.apache.commons.lang3.Validate .*,
92+ org.assertj.core.api.Assertions .*,
93+ org.mockito.Mockito .*" />
9294 </module >
9395 <module name =" ClassTypeParameterName" > <!-- Java Style Guide: Type variable names -->
9496 <property name =" format" value =" (^[A-Z][0-9]?)$|([A-Z][a-zA-Z0-9]*[T]$)" />
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ buildscript {
99 classpath ' com.netflix.nebula:gradle-info-plugin:5.1.1'
1010 classpath ' com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1111 classpath ' com.netflix.nebula:nebula-publishing-plugin:14.0.0'
12- classpath ' com.palantir.baseline:gradle-baseline-java:2.15 .0'
12+ classpath ' com.palantir.baseline:gradle-baseline-java:2.18 .0'
1313 classpath ' com.palantir.gradle.consistentversions:gradle-consistent-versions:1.12.4'
1414 }
1515}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public void deserializeJdk8ModulePresentOptional() throws IOException {
5757
5858 @ Test
5959 public void deserializeJdk8ModuleAbsentOptional () throws IOException {
60- assertThat (MAPPER .readValue ("null" , Optional .class )).isEqualTo ( Optional . empty () );
60+ assertThat (MAPPER .readValue ("null" , Optional .class )).isNotPresent ( );
6161 }
6262
6363 @ Test
You can’t perform that action at this time.
0 commit comments