Improved: Corrected some spacing issues in code, where there are extra white spaces, this will fix some checkstyle issues in framework component.
(OFBIZ-12022)
This commit is contained in:
+2
-2
@@ -29,7 +29,7 @@ public class BooleanConverters implements ConverterLoader {
|
||||
|
||||
@Override
|
||||
public Integer convert(Boolean obj) throws ConversionException {
|
||||
return obj ? 1 : 0;
|
||||
return obj ? 1 : 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ public class BooleanConverters implements ConverterLoader {
|
||||
|
||||
@Override
|
||||
public Boolean convert(Integer obj) throws ConversionException {
|
||||
return obj == 0 ? false : true;
|
||||
return obj == 0 ? false : true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -41,10 +41,10 @@ public class CollectionConverters implements ConverterLoader {
|
||||
@Override
|
||||
public <S, T> Converter<S, T> createConverter(Class<S> sourceClass, Class<T> targetClass) {
|
||||
if (!sourceClass.isArray()) {
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
if (targetClass != List.class) {
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
if (sourceClass.getComponentType() == null) {
|
||||
return null;
|
||||
|
||||
@@ -208,7 +208,7 @@ public class MiscConverters implements ConverterLoader {
|
||||
|
||||
@Override
|
||||
public String convert(Locale obj) throws ConversionException {
|
||||
return obj.toString();
|
||||
return obj.toString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -494,7 +494,7 @@ public final class UtilXml {
|
||||
try {
|
||||
Node node = (Node) getProperty("http://apache.org/xml/properties/dom/current-element-node");
|
||||
if (node != null) {
|
||||
setLineColumn(node.getLastChild());
|
||||
setLineColumn(node.getLastChild());
|
||||
}
|
||||
} catch (SAXException ex) {
|
||||
Debug.logWarning(ex, MODULE);
|
||||
|
||||
Reference in New Issue
Block a user