Skip to content

Commit

Permalink
Remove print out debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
tdrwenski committed Jul 6, 2023
1 parent fb8cc7c commit 1a474f7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cdm/core/src/main/java/ucar/nc2/internal/ncml/NcmlReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -831,9 +831,6 @@ private void readDim(Group.Builder groupBuilder, @Nullable Group refGroup, Eleme

int len = isVariableLength ? Dimension.VLEN.getLength() : Integer.parseInt(lengthS);

if (debugConstruct) {
System.out.println(" add new dim = " + name);
}
// LOOK change to replaceDimension to get fort.54 working.
groupBuilder.replaceDimension(Dimension.builder().setName(name).setIsShared(isShared).setIsUnlimited(isUnlimited)
.setIsVariableLength(isVariableLength).setLength(len).build());
Expand Down Expand Up @@ -864,10 +861,6 @@ private void readDim(Group.Builder groupBuilder, @Nullable Group refGroup, Eleme
newDim.setLength(len);
}

if (debugConstruct) {
System.out.println(" modify existing dim = " + name);
}

groupBuilder.removeDimension(name);
groupBuilder.addDimension(newDim.build());
}
Expand Down

0 comments on commit 1a474f7

Please sign in to comment.