Core: type arguments, unused imports

This commit is contained in:
str4d
2013-11-20 04:02:28 +00:00
parent bacce17990
commit 89dcceefee
76 changed files with 174 additions and 221 deletions

View File

@ -201,7 +201,7 @@ public class I2PAppContext {
_overrideProps = new I2PProperties();
if (envProps != null)
_overrideProps.putAll(envProps);
_shutdownTasks = new ConcurrentHashSet(32);
_shutdownTasks = new ConcurrentHashSet<Runnable>(32);
_portMapper = new PortMapper(this);
/*
@ -535,7 +535,7 @@ public class I2PAppContext {
*
* @return set of Strings containing the names of defined system properties
*/
public Set getPropertyNames() {
public Set<String> getPropertyNames() {
// clone to avoid ConcurrentModificationException
Set names = new HashSet(((Properties) System.getProperties().clone()).keySet());
if (_overrideProps != null)