Fixed: Remove Raw type cast warning in ‘ObjectType’
Use ‘UtilGenerics#cast’ for shorter syntax. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1857082 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -335,7 +335,7 @@ public class ObjectType {
|
||||
|
||||
if (converter != null) {
|
||||
if (converter instanceof LocalizedConverter) {
|
||||
LocalizedConverter<Object, Object> localizedConverter = (LocalizedConverter) converter;
|
||||
LocalizedConverter<Object, Object> localizedConverter = UtilGenerics.cast(converter);
|
||||
if (timeZone == null) {
|
||||
timeZone = TimeZone.getDefault();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user