mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-19 10:25:00 +00:00
Fix typo
This commit is contained in:
parent
a9926328f1
commit
6415d0d964
@ -80,7 +80,7 @@ public class NoiseFilter extends AbstractMask {
|
|||||||
*/
|
*/
|
||||||
public void setDensity(double density) {
|
public void setDensity(double density) {
|
||||||
checkArgument(density >= 0, "density must be >= 0");
|
checkArgument(density >= 0, "density must be >= 0");
|
||||||
checkArgument(density <= 1, "density must be >= 1");
|
checkArgument(density <= 1, "density must be <= 1");
|
||||||
this.density = density;
|
this.density = density;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -78,7 +78,7 @@ public class NoiseFilter2D extends AbstractMask2D {
|
|||||||
*/
|
*/
|
||||||
public void setDensity(double density) {
|
public void setDensity(double density) {
|
||||||
checkArgument(density >= 0, "density must be >= 0");
|
checkArgument(density >= 0, "density must be >= 0");
|
||||||
checkArgument(density <= 1, "density must be >= 1");
|
checkArgument(density <= 1, "density must be <= 1");
|
||||||
this.density = density;
|
this.density = density;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user