munendrasn commented on code in PR #6823: URL: https://github.com/apache/iceberg/pull/6823#discussion_r1105253250
########## aws/src/main/java/org/apache/iceberg/aws/dynamodb/DynamoDbCatalog.java: ########## @@ -329,7 +329,7 @@ public boolean removeProperties(Namespace namespace, Set<String> properties) @Override public List<TableIdentifier> listTables(Namespace namespace) { List<TableIdentifier> identifiers = Lists.newArrayList(); - Map<String, AttributeValue> lastEvaluatedKey; + Map<String, AttributeValue> lastEvaluatedKey = null; Review Comment: For local variables, if used without initialisation, compilation fails (using Jdk8). `error: variable lastEvaluatedKey might not have been initialized` -- 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. To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org