Skip to content

Commit

Permalink
Merge pull request #1230 from tdrwenski/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
tdrwenski authored Sep 8, 2023
2 parents 45a7d93 + fef97a4 commit 08719a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cdm/core/src/main/java/ucar/nc2/Group.java
Original file line number Diff line number Diff line change
Expand Up @@ -1386,7 +1386,7 @@ private List<Dimension> getDimensionsFor(Group.Builder gb, Variable.Builder<?> v
if (dim.isShared()) {
Dimension sharedDim = gb.findDimension(dim.getShortName()).orElse(null);
if (sharedDim == null) {
throw new IllegalStateException(String.format("Shared Dimension %s does not exist in a parent proup", dim));
throw new IllegalStateException(String.format("Shared Dimension %s does not exist in a parent group", dim));
} else {
dims.add(sharedDim);
}
Expand Down
2 changes: 1 addition & 1 deletion cdm/core/src/main/java/ucar/nc2/Variable.java
Original file line number Diff line number Diff line change
Expand Up @@ -1844,7 +1844,7 @@ protected Variable(Builder<?> builder, Group parentGroup) {
if (dim.isShared()) {
Dimension sharedDim = this.group.findDimension(dim.getShortName());
if (sharedDim == null) {
throw new IllegalStateException(String.format("Shared Dimension %s does not exist in a parent proup", dim));
throw new IllegalStateException(String.format("Shared Dimension %s does not exist in a parent group", dim));
} else {
dims.add(sharedDim);
}
Expand Down

0 comments on commit 08719a8

Please sign in to comment.