提交 d7be0555 编写于 作者: S serge-rider

Merge remote-tracking branch 'origin/devel' into devel


Former-commit-id: ad843ff9
......@@ -49,6 +49,9 @@ public class StringTextGenerator extends AbstractStringValueGenerator {
if (min != null) {
this.minLength = min;
}
if (minLength > templateString.length()) {
minLength = templateString.length();
}
Integer max = (Integer) properties.get("maxLength"); //$NON-NLS-1$
if (max != null) {
......@@ -61,6 +64,9 @@ public class StringTextGenerator extends AbstractStringValueGenerator {
if (maxLength > templateString.length()) { // TODO check templateString shouldn't be empty
maxLength = templateString.length();
}
if (minLength > maxLength) {
maxLength = minLength;
}
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册