Skip to content

Commit

Permalink
review fix: painful acknowledgement that indexes is the one and only …
Browse files Browse the repository at this point in the history
…true plural form of index for this context - I bend the knee
  • Loading branch information
trautmane committed Dec 18, 2023
1 parent 69990f8 commit 15181c3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@ private List<TileBounds> buildListForZ(final double z) {
private List<OrderedCanvasIdPair> buildExpectedPairs(final double pZ,
final int pTileIndex,
final double qZ,
final int... qTileIndexes) {
final int... qTileIndices) {
final List<OrderedCanvasIdPair> expectedPairs = new ArrayList<>();
final CanvasId pCanvasId = new CanvasId(String.valueOf(pZ), getTileId(pTileIndex, pZ));
for (final int qTileIndex : qTileIndexes) {
for (final int qTileIndex : qTileIndices) {
final CanvasId qCanvasId = new CanvasId(String.valueOf(qZ), getTileId(qTileIndex, qZ));
final double deltaZ = Math.abs(pZ - qZ);
expectedPairs.add(new OrderedCanvasIdPair(pCanvasId,
Expand Down

0 comments on commit 15181c3

Please sign in to comment.