mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
Use type inference instead of specifying it
This commit is contained in:
1 parent
144642ca54
commit
e5d578b617
44 files changed
+137
-136
No files matched your search
@@ -2131,7 +2131,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
* Stores {@link Plugin} instances.
|
||||
*/
|
||||
/*package*/ static final class PluginInstanceStore {
|
||||
final Map<PluginWrapper,Plugin> store = new ConcurrentHashMap<PluginWrapper,Plugin>();
|
||||
final Map<PluginWrapper,Plugin> store = new ConcurrentHashMap<>();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -2174,7 +2174,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
@Extension @Symbol("pluginUpdate")
|
||||
public static final class PluginUpdateMonitor extends AdministrativeMonitor {
|
||||
|
||||
private Map<String, PluginUpdateInfo> pluginsToBeUpdated = new HashMap<String, PluginManager.PluginUpdateMonitor.PluginUpdateInfo>();
|
||||
private Map<String, PluginUpdateInfo> pluginsToBeUpdated = new HashMap<>();
|
||||
|
||||
/**
|
||||
* Convenience method to ease access to this monitor, this allows other plugins to register required updates.
|
||||
|
||||
Reference in new issue
Block a user