1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-12 14:01:08 +01:00

Bump "Error Prone" to 2.0.15

and fix a few things :)
This commit is contained in:
Florian Schmaus 2017-02-11 16:16:41 +01:00
parent ef0af66b21
commit 4c646436a5
246 changed files with 1122 additions and 124 deletions

View file

@ -144,6 +144,7 @@ public abstract class ValidateElement implements ExtensionElement {
buf.emptyElement(METHOD);
}
@Override
public void checkConsistency(FormField formField) {
checkListRangeConsistency(formField);
if (formField.getType() != null) {
@ -186,6 +187,7 @@ public abstract class ValidateElement implements ExtensionElement {
buf.emptyElement(METHOD);
}
@Override
public void checkConsistency(FormField formField) {
checkListRangeConsistency(formField);
if (formField.getType() != null) {
@ -253,6 +255,7 @@ public abstract class ValidateElement implements ExtensionElement {
return max;
}
@Override
public void checkConsistency(FormField formField) {
checkNonMultiConsistency(formField, METHOD);
if (getDatatype().equals(ValidateElement.DATATYPE_XS_STRING)) {
@ -302,6 +305,7 @@ public abstract class ValidateElement implements ExtensionElement {
buf.element("regex", getRegex());
}
@Override
public void checkConsistency(FormField formField) {
checkNonMultiConsistency(formField, METHOD);
}
@ -340,6 +344,7 @@ public abstract class ValidateElement implements ExtensionElement {
this.max = max;
}
@Override
public XmlStringBuilder toXML() {
XmlStringBuilder buf = new XmlStringBuilder(this);
buf.optLongAttribute("min", getMin());