framework/base/src/org/ofbiz/base/util/ObjectType.java
ObjectType
has 41 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public class ObjectType {
private static final Debug.OfbizLogger module = Debug.getOfbizLogger(java.lang.invoke.MethodHandles.lookup().lookupClass());
public static final Object NULL = new NullObject();
Method doRealCompare
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Boolean doRealCompare(Object value1, Object value2, String operator, String type, String format,
List<Object> messages, Locale locale, ClassLoader loader, boolean value2InlineConstant) {
Method simpleTypeConvert
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Object simpleTypeConvert(Object obj, String type, String format, TimeZone timeZone, Locale locale, boolean noTypeFail) throws GeneralException {
Method simpleTypeOrObjectConvert
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Object simpleTypeOrObjectConvert(Object obj, String type, String format, TimeZone timeZone, Locale locale, boolean noTypeFail) throws GeneralException {
Method simpleTypeOrObjectConvert
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Object simpleTypeOrObjectConvert(Object obj, String type, String format, Locale locale, boolean noTypeFail) throws GeneralException {
Method simpleTypeConvert
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static Object simpleTypeConvert(Object obj, String type, String format, Locale locale, boolean noTypeFail) throws GeneralException {
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return localizedConverter.convert(obj, locale, timeZone, format);
Avoid too many return
statements within this method. Open
Open
return obj.toString();
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return !((Iterable<?>) value).iterator().hasNext();
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return obj;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return obj;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return convertedValue1 == null && convertedValue2 == null ? Boolean.TRUE : Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return ((IsEmpty) value).isEmpty();
Avoid too many return
statements within this method. Open
Open
return Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return str1.indexOf(str2) < 0 ? Boolean.FALSE : Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return str1.length() == 0 && str2.length() == 0 ? Boolean.FALSE : Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return convertedValue1 == null && convertedValue2 == null ? Boolean.FALSE : Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return str1.length() == 0 && str2.length() == 0 ? Boolean.TRUE : Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return false;
Avoid too many return
statements within this method. Open
Open
return Array.getLength(value) == 0;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return converter.convert(obj);
Avoid too many return
statements within this method. Open
Open
return Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return col1.contains(convertedValue2) ? Boolean.TRUE : Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return Boolean.TRUE;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;
Avoid too many return
statements within this method. Open
Open
return null;
Avoid too many return
statements within this method. Open
Open
return Boolean.FALSE;