Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhztheplayer committed Nov 9, 2021
1 parent 13e13c4 commit 5df6e48
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,10 @@ public Schema schema() {
return schema;
}
readLock.lock();
if (schema != null) {
return schema;
}
try {
if (schema != null) {
return schema;
}
if (closed) {
throw new NativeInstanceReleasedException();
}
Expand Down
26 changes: 13 additions & 13 deletions java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -716,19 +716,19 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs combine.children="append">
<arg>-XDcompilePolicy=simple</arg>
<arg>-Xplugin:ErrorProne</arg>
</compilerArgs>
<annotationProcessorPaths combine.children="append">
<path>
<groupId>com.google.errorprone</groupId>
<artifactId>error_prone_core</artifactId>
<version>2.4.0</version>
</path>
</annotationProcessorPaths>
</configuration>
<!-- <configuration>-->
<!-- <compilerArgs combine.children="append">-->
<!-- <arg>-XDcompilePolicy=simple</arg>-->
<!-- <arg>-Xplugin:ErrorProne</arg>-->
<!-- </compilerArgs>-->
<!-- <annotationProcessorPaths combine.children="append">-->
<!-- <path>-->
<!-- <groupId>com.google.errorprone</groupId>-->
<!-- <artifactId>error_prone_core</artifactId>-->
<!-- <version>2.4.0</version>-->
<!-- </path>-->
<!-- </annotationProcessorPaths>-->
<!-- </configuration>-->
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit 5df6e48

Please sign in to comment.