Skip to content

Commit

Permalink
log message when no tile ids are found for z layer during global solve
Browse files Browse the repository at this point in the history
  • Loading branch information
trautmane committed Apr 17, 2024
1 parent 3c7eaef commit d03f48b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,11 @@ protected GlobalSolve globalSolve(
final HashSet< String > tileIds = solveItemA.zToTileId().get( z );

// if there are none, we continue with the next
if (tileIds.isEmpty())
if ((tileIds == null) || tileIds.isEmpty()) {
LOG.info("globalSolve: no tileIds for z {} in solveItemA with range {} to {}",
z, solveItemA.minZ(), solveItemA.maxZ());
continue;
}

gs.zToTileIdGlobal.putIfAbsent( z, new HashSet<>() );
zToSolveItemPairs.putIfAbsent( z, new ArrayList<>() );
Expand Down

0 comments on commit d03f48b

Please sign in to comment.