Improved: Remove redundant type declarations
(OFBIZ-10937) Since Java 1.7, when defining generic types it is unnecessary to redefine those types in the constructor when it is already done in the declared type. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1860025 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -73,7 +73,7 @@ public class ExamplePrintServices {
|
||||
visualTheme = ThemeFactory.resolveVisualTheme(null);
|
||||
}
|
||||
if (visualTheme == null) visualTheme = ThemeFactory.resolveVisualTheme(null);
|
||||
Map<String, Object> workContext = new HashMap<String, Object>();
|
||||
Map<String, Object> workContext = new HashMap<>();
|
||||
workContext.putAll(context);
|
||||
|
||||
// render a screen to get the XML document
|
||||
|
||||
Reference in New Issue
Block a user