mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
correct OrDistributorTemplate error message
This commit is contained in:
@@ -34,7 +34,7 @@ public class OrDistributorTemplate implements ObjectTemplate<Distributor>, Valid
|
||||
|
||||
@Override
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user