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:
Mathieu Lirzin
2019-05-25 23:42:00 +00:00
parent f915292fdb
commit 9354ac2997
44 changed files with 187 additions and 187 deletions
@@ -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