Skip to content

Commit 5f2351d

Browse files
committed
Improve wording
1 parent 9b8c10f commit 5f2351d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

common/src/main/java/de/bluecolored/bluemap/common/config/mask/BoxMaskConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class BoxMaskConfig extends MaskConfig {
2424
public Mask createMask() throws ConfigurationException {
2525
if (minX > maxX || minY > maxY || minZ > maxZ) {
2626
throw new ConfigurationException("""
27-
The box-mask configuration results in a collapsed volume.
27+
The box-mask configuration results in a degenerate mask.
2828
Make sure that all "min-" values are actually SMALLER than their "max-" counterparts.
2929
""".trim());
3030
}

common/src/main/java/de/bluecolored/bluemap/common/config/mask/CircleMaskConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ public class CircleMaskConfig extends MaskConfig {
2424
public Mask createMask() throws ConfigurationException {
2525
if (minY > maxY) {
2626
throw new ConfigurationException("""
27-
The circle-mask configuration results in a collapsed volume.
27+
The circle-mask configuration results in a degenerate mask.
2828
Make sure that the "min-y" value is actually SMALLER than the "max-y" counterpart.
2929
""".trim());
3030
}
3131

3232
if (radius <= 0) {
3333
throw new ConfigurationException("""
34-
The circle-mask configuration results in a collapsed volume.
34+
The circle-mask configuration results in a degenerate mask.
3535
Make sure that the "radius" value is greater than 0.
3636
""".trim());
3737
}

common/src/main/java/de/bluecolored/bluemap/common/config/mask/EllipseMaskConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ public class EllipseMaskConfig extends MaskConfig {
2525
public Mask createMask() throws ConfigurationException {
2626
if (minY > maxY) {
2727
throw new ConfigurationException("""
28-
The circle-mask configuration results in a collapsed volume.
28+
The circle-mask configuration results in a degenerate mask.
2929
Make sure that the "min-y" value is actually SMALLER than the "max-y" counterpart.
3030
""".trim());
3131
}
3232

3333
if (radiusX <= 0 || radiusZ <= 0) {
3434
throw new ConfigurationException("""
35-
The ellipse-mask configuration results in a collapsed volume.
35+
The ellipse-mask configuration results in a degenerate mask.
3636
Make sure that the radius values are greater than 0.
3737
""".trim());
3838
}

common/src/main/java/de/bluecolored/bluemap/common/config/mask/PolygonMaskConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class PolygonMaskConfig extends MaskConfig {
2323
public Mask createMask() throws ConfigurationException {
2424
if (minY > maxY) {
2525
throw new ConfigurationException("""
26-
The polygon-mask configuration results in a collapsed volume.
26+
The polygon-mask configuration results in a degenerate mask.
2727
Make sure that the "min-y" value is actually SMALLER than the "max-y" counterpart.
2828
""".trim());
2929
}

0 commit comments

Comments
 (0)