RussellSpitzer commented on a change in pull request #1427:
URL: https://github.com/apache/iceberg/pull/1427#discussion_r483952715
##########
File path: core/src/main/java/org/apache/iceberg/hadoop/HadoopTables.java
##########
@@ -102,7 +102,7 @@ public Table load(String location) {
*/
private Pair<String, MetadataTableType> parseMetadataType(String location) {
int hashIndex = location.lastIndexOf('#');
- if (hashIndex != -1 & !location.endsWith("#")) {
+ if (hashIndex != -1 && !location.endsWith("#")) {
Review comment:
These are just some of the rules that were included by default when we
upgraded the errorprone version when we upgraded the palanrir baseline plugin.
I haven't looked at the full list but check baseline.gradlendor ones we have
turned off explicitly
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]