IDEMPIERE-6217 An Error Occurred While Uploading the CSV File as an Attachment (#2446)
- Fix Eclipse warnings
This commit is contained in:
parent
9f14c96134
commit
ec7d0b5eb2
|
|
@ -44,7 +44,7 @@ public class TextHeightCommand extends AbstractCommand implements Command {
|
||||||
if (comp == null)
|
if (comp == null)
|
||||||
throw new UiException(MZk.ILLEGAL_REQUEST_COMPONENT_REQUIRED, TextHeightCommand.class.getCanonicalName());
|
throw new UiException(MZk.ILLEGAL_REQUEST_COMPONENT_REQUIRED, TextHeightCommand.class.getCanonicalName());
|
||||||
|
|
||||||
final Map data = (Map) request.getData();
|
final Map<?, ?> data = (Map<?, ?>) request.getData();
|
||||||
if (data == null || data.size() != 4)
|
if (data == null || data.size() != 4)
|
||||||
throw new UiException(MZk.ILLEGAL_REQUEST_WRONG_DATA, new Object[] {Objects.toString(data), TextHeightCommand.class.getCanonicalName() });
|
throw new UiException(MZk.ILLEGAL_REQUEST_WRONG_DATA, new Object[] {Objects.toString(data), TextHeightCommand.class.getCanonicalName() });
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue