diff --git a/src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java b/src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java index b724f447e4d8a3caebfb6ef9494546c27c094b31..2e4e63cd1c4b815b6cb61e7b4e25b0fc93eb6b4b 100644 --- a/src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java +++ b/src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java @@ -55,14 +55,12 @@ public class ClassificationParameters { if ( value < 0 ) { - throw new DataValidationException( "The value of parameter " + name + " has to be superior to zero !" ); + throw new DataValidationException( "The value of parameter " + name + " has to be superior or equal to zero !" ); } if ( value > 255 ) { - throw new DataValidationException( "The value of parameter " + name + " has to be inferior or equals to 50!" ); + throw new DataValidationException( "The value of parameter " + name + " has to be inferior or equals to 255!" ); } - - }