1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 17:49:38 +02:00

Add checkstyle rule for "Boolean.valueOf()" usages

This commit is contained in:
Florian Schmaus 2018-11-29 22:38:11 +01:00
parent dbfc123e5e
commit fa7297019d
4 changed files with 11 additions and 0 deletions

View file

@ -92,7 +92,9 @@ public class JivePropertiesExtensionProvider extends ExtensionElementProvider<Ji
value = Double.valueOf(valueText);
}
else if ("boolean".equals(type)) {
// CHECKSTYLE:OFF
value = Boolean.valueOf(valueText);
// CHECKSTYLE:ON
}
else if ("string".equals(type)) {
value = valueText;