Skip to content

Commit

Permalink
remove redundant specification of type arguments
Browse files Browse the repository at this point in the history
to reduce ecj warnings
  • Loading branch information
EcljpseB0T authored and jukzi committed Nov 3, 2023
1 parent 9af0754 commit e0a64a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private File buildHTMLFile(ILaunchConfiguration configuration, File dir) throws
buf.append("\" height=\""); //$NON-NLS-1$
buf.append(Integer.toString(configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_APPLET_HEIGHT, 200)));
buf.append("\" >\n"); //$NON-NLS-1$
Map<String, String> parameters = configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_APPLET_PARAMETERS, new HashMap<String, String>());
Map<String, String> parameters = configuration.getAttribute(IJavaLaunchConfigurationConstants.ATTR_APPLET_PARAMETERS, new HashMap<>());
if (!parameters.isEmpty()) {
Iterator<Entry<String, String>> iterator = parameters.entrySet().iterator();
while (iterator.hasNext()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public IAccessRule[][] getAccessRules(IVMInstall vm, LibraryLocation[] libraries
if (cachedRules == null || !cachedRules.equals(rulesByParticipant)) {
ArrayList<List<IAccessRule>> libLists = new ArrayList<>(); // array of lists of access rules
for (int i = 0; i < libraries.length; i++) {
libLists.add(new ArrayList<IAccessRule>());
libLists.add(new ArrayList<>());
}
for (int i = 0; i < participants.length; i++) {
IAccessRuleParticipant participant = participants[i];
Expand Down

0 comments on commit e0a64a7

Please sign in to comment.