mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 06:11:24 +00:00
correct OrDistributorTemplate error message
This commit is contained in:
+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