forked from I2P_Developers/i2p.i2p
susidns: type arguments, unused imports
This commit is contained in:
@@ -82,7 +82,7 @@ public class AddressbookBean extends BaseBean
|
||||
public AddressbookBean()
|
||||
{
|
||||
super();
|
||||
deletionMarks = new LinkedList();
|
||||
deletionMarks = new LinkedList<String>();
|
||||
beginIndex = 0;
|
||||
endIndex = DISPLAY_SIZE - 1;
|
||||
}
|
||||
@@ -150,7 +150,7 @@ public class AddressbookBean extends BaseBean
|
||||
try {
|
||||
fis = new FileInputStream( getFileName() );
|
||||
addressbook.load( fis );
|
||||
LinkedList<AddressBean> list = new LinkedList();
|
||||
LinkedList<AddressBean> list = new LinkedList<AddressBean>();
|
||||
Enumeration e = addressbook.keys();
|
||||
while( e.hasMoreElements() ) {
|
||||
String name = (String)e.nextElement();
|
||||
|
||||
@@ -34,7 +34,6 @@ import java.util.Properties;
|
||||
import net.i2p.I2PAppContext;
|
||||
import net.i2p.data.DataHelper;
|
||||
import net.i2p.util.OrderedProperties;
|
||||
import net.i2p.util.SecureFileOutputStream;
|
||||
|
||||
public class ConfigBean implements Serializable {
|
||||
|
||||
|
||||
@@ -146,7 +146,7 @@ public class NamingServiceBean extends AddressbookBean
|
||||
Debug.debug("Searching within " + service + " with filename=" + getFileName() + " and with filter=" + filter + " and with search=" + search);
|
||||
String message = "";
|
||||
try {
|
||||
LinkedList<AddressBean> list = new LinkedList();
|
||||
LinkedList<AddressBean> list = new LinkedList<AddressBean>();
|
||||
Map<String, Destination> results;
|
||||
Properties searchProps = new Properties();
|
||||
// only blockfile needs this
|
||||
|
||||
@@ -37,7 +37,6 @@ import java.util.List;
|
||||
|
||||
import net.i2p.data.DataHelper;
|
||||
import net.i2p.util.SecureFileOutputStream;
|
||||
import net.i2p.util.SystemVersion;
|
||||
|
||||
public class SubscriptionsBean extends BaseBean
|
||||
{
|
||||
@@ -89,7 +88,7 @@ public class SubscriptionsBean extends BaseBean
|
||||
File file = new File( getFileName() );
|
||||
try {
|
||||
// trim and sort
|
||||
List<String> urls = new ArrayList();
|
||||
List<String> urls = new ArrayList<String>();
|
||||
InputStream in = new ByteArrayInputStream(content.getBytes("UTF-8"));
|
||||
String line;
|
||||
while ((line = DataHelper.readLine(in)) != null) {
|
||||
|
||||
Reference in New Issue
Block a user