mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 22:10:22 +00:00
correct OrDistributorTemplate error message
This commit is contained in:
1 parent
3540753ff8
commit
5e0a6b9472
1 file changed
+1
-1
+1
-1
@@ -34,7 +34,7 @@ public class OrDistributorTemplate implements ObjectTemplate<Distributor>, Valid
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean validate() throws ValidationException {
|
public boolean validate() throws ValidationException {
|
||||||
if(distributors.isEmpty()) throw new ValidationException("AND Distributor must specify at least 1 distributor.");
|
if(distributors.isEmpty()) throw new ValidationException("OR Distributor must specify at least 1 distributor.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user