Cleaned up all 'imports' in all applications, core and router.

This commit is contained in:
Oldaris
2008-07-16 13:42:54 +00:00
parent f261deaf16
commit 5782c42d25
493 changed files with 2221 additions and 1833 deletions

View File

@ -8,15 +8,12 @@ package net.i2p.data.i2np;
*
*/
import java.util.Date;
import net.i2p.I2PAppContext;
import net.i2p.data.DataFormatException;
import net.i2p.data.DataStructure;
import net.i2p.data.StructureTest;
import net.i2p.data.RouterInfo;
import net.i2p.data.RouterInfoTest;
import net.i2p.data.i2np.DatabaseStoreMessage;
import net.i2p.data.StructureTest;
import net.i2p.util.Clock;
/**

View File

@ -14,8 +14,6 @@ import net.i2p.data.Hash;
import net.i2p.data.SessionKey;
import net.i2p.data.StructureTest;
import net.i2p.data.TunnelId;
import net.i2p.data.i2np.DeliveryInstructions;
import net.i2p.util.Log;
/**
* Test harness for loading / storing DeliveryInstructions objects

View File

@ -13,13 +13,9 @@ import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
import net.i2p.data.DataFormatException;
import net.i2p.data.i2np.DatabaseStoreMessage;
import net.i2p.data.i2np.I2NPMessage;
import net.i2p.data.i2np.I2NPMessageReader;
import net.i2p.router.RouterContext;
import junit.framework.TestCase;
import net.i2p.data.DataFormatException;
import net.i2p.router.RouterContext;
/**
* Test harness for loading / storing I2NP DatabaseStore message objects

View File

@ -8,13 +8,11 @@ package net.i2p.router.networkdb.kademlia;
*
*/
import junit.framework.TestCase;
import net.i2p.I2PAppContext;
import net.i2p.data.DataHelper;
import net.i2p.data.Hash;
import net.i2p.util.RandomSource;
import junit.framework.TestCase;
/**
* Test KBucketImpl
*

View File

@ -8,11 +8,9 @@ package net.i2p.router.networkdb.kademlia;
*
*/
import net.i2p.I2PAppContext;
import net.i2p.data.DataHelper;
import net.i2p.data.Hash;
import junit.framework.TestCase;
import net.i2p.I2PAppContext;
import net.i2p.data.Hash;
/**
* Test KBucketSet

View File

@ -8,17 +8,14 @@ package net.i2p.router.transport;
*
*/
import net.i2p.router.RouterContext;
import net.i2p.util.Log;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Random;
import java.util.Properties;
import java.util.Random;
import junit.framework.TestCase;
import net.i2p.router.RouterContext;
/**
* Stress out the bandwidth limiter by running a series of push and pull tests

View File

@ -9,13 +9,8 @@ package net.i2p.router.tunnel;
*/
import java.util.ArrayList;
import net.i2p.I2PAppContext;
import net.i2p.data.Base64;
import net.i2p.data.Hash;
import net.i2p.data.TunnelId;
import net.i2p.data.i2np.DataMessage;
import net.i2p.data.i2np.I2NPMessage;
import net.i2p.util.Log;
/**
* Test the batching behavior of the preprocessor with one, two, or three

View File

@ -9,16 +9,14 @@ package net.i2p.router.tunnel;
*/
import java.util.ArrayList;
import junit.framework.TestCase;
import net.i2p.I2PAppContext;
import net.i2p.data.Base64;
import net.i2p.data.DataHelper;
import net.i2p.data.Hash;
import net.i2p.data.TunnelId;
import net.i2p.data.i2np.DataMessage;
import net.i2p.data.i2np.I2NPMessage;
import net.i2p.util.Log;
import junit.framework.TestCase;
/**
* Simple test to see if the fragmentation is working, testing the preprocessor,

View File

@ -11,16 +11,14 @@ package net.i2p.router.tunnel;
import java.util.ArrayList;
import java.util.List;
import junit.framework.TestCase;
import net.i2p.I2PAppContext;
import net.i2p.data.Base64;
import net.i2p.data.Hash;
import net.i2p.data.TunnelId;
import net.i2p.data.i2np.DataMessage;
import net.i2p.data.i2np.I2NPMessage;
import net.i2p.util.Log;
import junit.framework.TestCase;
/**
* Quick unit test for base functionality of inbound tunnel
* operation

View File

@ -8,13 +8,10 @@ package net.i2p.router.tunnel;
*
*/
import junit.framework.TestCase;
import net.i2p.I2PAppContext;
import net.i2p.data.Base64;
import net.i2p.data.DataHelper;
import net.i2p.data.Hash;
import net.i2p.util.Log;
import junit.framework.TestCase;
/**
* Quick unit test for base functionality of inbound tunnel

View File

@ -11,15 +11,12 @@ package net.i2p.router.tunnel;
import java.util.ArrayList;
import java.util.List;
import junit.framework.TestCase;
import net.i2p.I2PAppContext;
import net.i2p.data.Base64;
import net.i2p.data.Hash;
import net.i2p.data.TunnelId;
import net.i2p.data.i2np.DataMessage;
import net.i2p.data.i2np.I2NPMessage;
import net.i2p.util.Log;
import junit.framework.TestCase;
/**
* Quick unit test for base functionality of outbound tunnel

View File

@ -8,13 +8,10 @@ package net.i2p.router.tunnel;
*
*/
import junit.framework.TestCase;
import net.i2p.I2PAppContext;
import net.i2p.data.Base64;
import net.i2p.data.DataHelper;
import net.i2p.data.Hash;
import net.i2p.util.Log;
import junit.framework.TestCase;
/**
* Quick unit test for base functionality of outbound tunnel