Author: j16sdiz
Date: 2008-09-05 15:50:04 +0000 (Fri, 05 Sep 2008)
New Revision: 22465

Modified:
   trunk/freenet/src/freenet/support/Fields.java
   trunk/freenet/src/freenet/support/HTMLDecoder.java
   trunk/freenet/src/freenet/support/HTMLEncoder.java
   trunk/freenet/src/freenet/support/HTMLEntities.java
   trunk/freenet/src/freenet/support/HTMLNode.java
   trunk/freenet/src/freenet/support/LimitedEnumeration.java
   trunk/freenet/src/freenet/support/LimitedRangeIntByteArrayMap.java
   trunk/freenet/src/freenet/support/Loader.java
   trunk/freenet/src/freenet/support/LoggerHook.java
   trunk/freenet/src/freenet/support/NumberedItemComparator.java
   trunk/freenet/src/freenet/support/NumberedRecentItems.java
   trunk/freenet/src/freenet/support/PooledExecutor.java
   trunk/freenet/src/freenet/support/RandomGrabArray.java
   trunk/freenet/src/freenet/support/ReceivedPacketNumbers.java
   trunk/freenet/src/freenet/support/SectoredRandomGrabArray.java
   trunk/freenet/src/freenet/support/SerialExecutor.java
   trunk/freenet/src/freenet/support/Serializer.java
   trunk/freenet/src/freenet/support/StringCounter.java
   trunk/freenet/src/freenet/support/URIPreEncoder.java
   trunk/freenet/src/freenet/support/URLDecoder.java
   trunk/freenet/src/freenet/support/URLEncoder.java
Log:
warning hunt: freenet.support

Modified: trunk/freenet/src/freenet/support/Fields.java
===================================================================
--- trunk/freenet/src/freenet/support/Fields.java       2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/Fields.java       2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -396,13 +396,8 @@
        /**
         * Compares byte arrays lexicographically.
         */
-       public static final class ByteArrayComparator implements Comparator {
-
-               public final int compare(Object o1, Object o2) {
-                       return compare((byte[]) o1, (byte[]) o2);
-               }
-
-               public static final int compare(byte[] o1, byte[] o2) {
+       public static final class ByteArrayComparator implements 
Comparator<byte[]> {
+               public final int compare(byte[] o1, byte[] o2) {
                        return compareBytes(o1, o2);
                }
        }

Modified: trunk/freenet/src/freenet/support/HTMLDecoder.java
===================================================================
--- trunk/freenet/src/freenet/support/HTMLDecoder.java  2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/HTMLDecoder.java  2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -14,7 +14,7 @@
  */
 public class HTMLDecoder {

-       static Map charTable = HTMLEntities.decodeMap;
+       static Map<String, Character> charTable = HTMLEntities.decodeMap;

        public static String decode(String s) {
                String t;
@@ -92,7 +92,7 @@
                                                        if 
(!isLetterOrDigit(d)) {
                                                                if (d == ';') {
                                                                        t = 
s.substring(curPos, tmpPos - 1);
-                                                                       ch = 
(Character) charTable.get(t);
+                                                                       ch = 
charTable.get(t);
                                                                        if (ch 
!= null) {
                                                                                
c = ch.charValue();
                                                                                
curPos = tmpPos;

Modified: trunk/freenet/src/freenet/support/HTMLEncoder.java
===================================================================
--- trunk/freenet/src/freenet/support/HTMLEncoder.java  2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/HTMLEncoder.java  2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -4,7 +4,6 @@
 package freenet.support;

 import java.util.HashMap;
-import java.util.Iterator;

 /**
  * Originally from com.websiteasp.ox pasckage.
@@ -53,9 +52,9 @@
                        int keyIndex = 0;

                        int max = 0;
-                       for(Iterator it = map.keySet().iterator();it.hasNext(); 
keyIndex++){
-                               int val = (int) 
((Character)it.next()).charValue();
-                               keys[keyIndex] = val;
+                       for (Character key : map.keySet()) {
+                               int val = key.charValue();
+                               keys[keyIndex++] = val;
                                if(val > max) max = val;
                        }

@@ -79,9 +78,7 @@

                        chars = new char[modulo];
                        strings = new String[modulo];
-                       Character character;
-                       for(Iterator it = map.keySet().iterator();it.hasNext(); 
keyIndex++){
-                               character = ((Character)it.next());
+                       for (Character character : map.keySet()) {
                                keyIndex = character.charValue()%modulo;
                                chars[keyIndex] = character.charValue();
                                strings[keyIndex] = map.get(character);

Modified: trunk/freenet/src/freenet/support/HTMLEntities.java
===================================================================
--- trunk/freenet/src/freenet/support/HTMLEntities.java 2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/HTMLEntities.java 2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -17,28 +17,22 @@

 import java.util.HashMap;

-
 /**
- * Class that provides data structures filled with
- * HTML Entities and correspondant char value
+ * Class that provides data structures filled with HTML Entities and 
correspondent char value
  * 
  * @author Alberto Bacchelli &lt;sback at freenetproject.org&gt;
  */
 public final class HTMLEntities {
-       
+
        /**
-        * a Map where the HTML Entity is the
-        * value and the correspondant char is
-        * the key
+        * a Map where the HTML Entity is the value and the correspondent char 
is the key
         */
-       public static final HashMap encodeMap;
-       
+       public static final HashMap<Character, String> encodeMap;
+
        /**
-        * a Map where the HTML Entity is the
-        * key and the correspondant char is
-        * the value
+        * a Map where the HTML Entity is the key and the correspondent char is 
the value
         */
-       public static final HashMap decodeMap;
+       public static final HashMap<String, Character> decodeMap;

        private static final Object[][] charArray = {
                {new Character((char)0), "#0"},
@@ -315,12 +309,12 @@


        static {
-               encodeMap = new HashMap();
-               decodeMap = new HashMap();
+               encodeMap = new HashMap<Character, String>();
+               decodeMap = new HashMap<String, Character>();

                for(int i=0; i<charArray.length; i++) {
-                       encodeMap.put(charArray[i][0],charArray[i][1]);
-                       decodeMap.put(charArray[i][1],charArray[i][0]);
+                       encodeMap.put((Character) charArray[i][0], (String) 
charArray[i][1]);
+                       decodeMap.put((String) charArray[i][1], (Character) 
charArray[i][0]);
                }

        }

Modified: trunk/freenet/src/freenet/support/HTMLNode.java
===================================================================
--- trunk/freenet/src/freenet/support/HTMLNode.java     2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/HTMLNode.java     2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -3,7 +3,6 @@
 import java.util.ArrayList;
 import java.util.Collections;
 import java.util.HashMap;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Locale;
 import java.util.Map;
@@ -177,11 +176,10 @@
                        return tagBuffer;
                }
                tagBuffer.append('<').append(name);
-               Set attributeSet = attributes.entrySet();
-               for (Iterator attributeIterator = attributeSet.iterator(); 
attributeIterator.hasNext();) {
-                       Map.Entry attributeEntry = (Map.Entry) 
attributeIterator.next();
-                       String attributeName = (String) attributeEntry.getKey();
-                       String attributeValue = (String) 
attributeEntry.getValue();
+               Set<Map.Entry<String, String>> attributeSet = 
attributes.entrySet();
+               for (Map.Entry<String, String> attributeEntry : attributeSet) {
+                       String attributeName = attributeEntry.getKey();
+                       String attributeValue = attributeEntry.getValue();
                        tagBuffer.append(' ');
                        HTMLEncoder.encodeToBuffer(attributeName, tagBuffer);
                        tagBuffer.append("=\"");

Modified: trunk/freenet/src/freenet/support/LimitedEnumeration.java
===================================================================
--- trunk/freenet/src/freenet/support/LimitedEnumeration.java   2008-09-05 
15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/LimitedEnumeration.java   2008-09-05 
15:50:04 UTC (rev 22465)
@@ -6,15 +6,14 @@
 /** We kept remaking this everywhere so wtf.
   * @author tavin
   */
-public final class LimitedEnumeration implements Enumeration {
-
-    private Object next;
+public final class LimitedEnumeration<T> implements Enumeration<T> {
+       private T next;

     public LimitedEnumeration() {
         next = null;
     }

-    public LimitedEnumeration(Object loner) {
+    public LimitedEnumeration(T loner) {
         next = loner;
     }

@@ -22,7 +21,7 @@
         return next != null;
     }

-    public final Object nextElement() {
+    public final T nextElement() {
         if (next == null) throw new NoSuchElementException();
         try {
             return next;

Modified: trunk/freenet/src/freenet/support/LimitedRangeIntByteArrayMap.java
===================================================================
--- trunk/freenet/src/freenet/support/LimitedRangeIntByteArrayMap.java  
2008-09-05 15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/LimitedRangeIntByteArrayMap.java  
2008-09-05 15:50:04 UTC (rev 22465)
@@ -218,10 +218,10 @@
     public synchronized LimitedRangeIntByteArrayMapElement[] grabAll() {
         int len = contents.size();
         LimitedRangeIntByteArrayMapElement[] output = new 
LimitedRangeIntByteArrayMapElement[len];
-        Iterator i = contents.values().iterator();
+        Iterator<LimitedRangeIntByteArrayMapElement> i = 
contents.values().iterator();
         int count = 0;
         while(i.hasNext()) {
-            output[count++] = (LimitedRangeIntByteArrayMapElement)i.next();
+            output[count++] = i.next();
         }
         clear();
         return output;

Modified: trunk/freenet/src/freenet/support/Loader.java
===================================================================
--- trunk/freenet/src/freenet/support/Loader.java       2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/Loader.java       2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -10,7 +10,7 @@

 public class Loader {

-    static final private Hashtable classes=new Hashtable();
+    static final private Hashtable<String, Class<?>> classes = new 
Hashtable<String, Class<?>>();
     //  static final public String prefix="freenet.message.";

     /**
@@ -18,7 +18,7 @@
      * @param name The name of the class to load.
      **/
     static public Class<?> load(String name) throws ClassNotFoundException {
-               Class<?> c = (Class<?>) classes.get(name);
+               Class<?> c = classes.get(name);
        if(c==null) {
            c=Class.forName(name);
            classes.put(name, c);

Modified: trunk/freenet/src/freenet/support/LoggerHook.java
===================================================================
--- trunk/freenet/src/freenet/support/LoggerHook.java   2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/LoggerHook.java   2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -2,7 +2,6 @@

 import java.util.ArrayList;
 import java.util.StringTokenizer;
-import java.util.Vector;

 import freenet.l10n.L10n;


Modified: trunk/freenet/src/freenet/support/NumberedItemComparator.java
===================================================================
--- trunk/freenet/src/freenet/support/NumberedItemComparator.java       
2008-09-05 15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/NumberedItemComparator.java       
2008-09-05 15:50:04 UTC (rev 22465)
@@ -2,7 +2,7 @@

 import java.util.Comparator;

-public class NumberedItemComparator implements Comparator {
+public class NumberedItemComparator implements Comparator<Object> {

        public NumberedItemComparator(boolean wrap) {
                this.wrapAround = wrap;

Modified: trunk/freenet/src/freenet/support/NumberedRecentItems.java
===================================================================
--- trunk/freenet/src/freenet/support/NumberedRecentItems.java  2008-09-05 
15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/NumberedRecentItems.java  2008-09-05 
15:50:04 UTC (rev 22465)
@@ -14,7 +14,7 @@

     private NumberedItem[] items;
     private int count;
-    private Comparator myComparator;
+    private Comparator<Object> myComparator;
     /**
      * Create a NumberedRecentItems list.
      * @param maxSize The maximum number of NumberedItems to keep.

Modified: trunk/freenet/src/freenet/support/PooledExecutor.java
===================================================================
--- trunk/freenet/src/freenet/support/PooledExecutor.java       2008-09-05 
15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/PooledExecutor.java       2008-09-05 
15:50:04 UTC (rev 22465)
@@ -3,10 +3,11 @@
  * http://www.gnu.org/ for further details of the GPL. */
 package freenet.support;

+import java.util.ArrayList;
+
 import freenet.node.PrioRunnable;
 import freenet.node.Ticker;
 import freenet.support.io.NativeThread;
-import java.util.ArrayList;

 /**
  * Pooled Executor implementation. Create a thread when we need one, let them 
die
@@ -16,8 +17,10 @@
 public class PooledExecutor implements Executor {

        /** All threads running or waiting */
+       @SuppressWarnings("unchecked")
        private final ArrayList<MyThread>[] runningThreads = new 
ArrayList[NativeThread.JAVA_PRIORITY_RANGE + 1];
        /** Threads waiting for a job */
+       @SuppressWarnings("unchecked")
        private final ArrayList<MyThread>[] waitingThreads = new 
ArrayList[runningThreads.length];
        long[] threadCounter = new long[runningThreads.length];
        private long jobCount;
@@ -32,8 +35,8 @@

        public PooledExecutor() {
                for(int i = 0; i < runningThreads.length; i++) {
-                       runningThreads[i] = new ArrayList();
-                       waitingThreads[i] = new ArrayList();
+                       runningThreads[i] = new ArrayList<MyThread>();
+                       waitingThreads[i] = new ArrayList<MyThread>();
                        threadCounter[i] = 0;
                }
        }

Modified: trunk/freenet/src/freenet/support/RandomGrabArray.java
===================================================================
--- trunk/freenet/src/freenet/support/RandomGrabArray.java      2008-09-05 
15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/RandomGrabArray.java      2008-09-05 
15:50:04 UTC (rev 22465)
@@ -19,14 +19,14 @@
         * RAM), or rewrite the whole class as a custom hashset maybe based on 
the classpath 
         * HashSet. Note that removeRandom() is *the* common operation, so MUST 
BE FAST.
         */
-       private HashSet contents;
+       private HashSet<RandomGrabArrayItem> contents;
        private final static int MIN_SIZE = 32;

        public RandomGrabArray(RandomSource rand) {
                this.reqs = new RandomGrabArrayItem[MIN_SIZE];
                index = 0;
                this.rand = rand;
-               contents = new HashSet();
+               contents = new HashSet<RandomGrabArrayItem>();
        }

        public void add(RandomGrabArrayItem req) {

Modified: trunk/freenet/src/freenet/support/ReceivedPacketNumbers.java
===================================================================
--- trunk/freenet/src/freenet/support/ReceivedPacketNumbers.java        
2008-09-05 15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/ReceivedPacketNumbers.java        
2008-09-05 15:50:04 UTC (rev 22465)
@@ -15,13 +15,13 @@
  */
 public class ReceivedPacketNumbers {

-    final LinkedList ranges;
+    final LinkedList<Range> ranges;
     int lowestSeqNumber;
     int highestSeqNumber;
     final int horizon;

     public ReceivedPacketNumbers(int horizon) {
-        ranges = new LinkedList();
+        ranges = new LinkedList<Range>();
         lowestSeqNumber = -1;
         highestSeqNumber = -1;
         this.horizon = horizon;
@@ -56,20 +56,20 @@
             ranges.addFirst(r);
             return true;
         } else {
-            ListIterator li = ranges.listIterator();
-            Range r = (Range)li.next();
+            ListIterator<Range> li = ranges.listIterator();
+                       Range r = li.next();
             int firstSeq = r.end;
             if(seqNumber - firstSeq > horizon) {
                 // Delete first item
                 li.remove();
-                r = (Range)li.next();
+                r = li.next();
                 lowestSeqNumber = r.start;
             }
             while(true) {
                 if(seqNumber == r.start-1) {
                     r.start--;
                     if(li.hasPrevious()) {
-                        Range r1 = (Range) li.previous();
+                        Range r1 = li.previous();
                         if(r1.end == seqNumber-1) {
                             r.start = r1.start;
                             li.remove();
@@ -99,7 +99,7 @@
                 if(seqNumber == r.end+1) {
                     r.end++;
                     if(li.hasNext()) {
-                        Range r1 = (Range) li.next();
+                        Range r1 = li.next();
                         if(r1.start == seqNumber+1) {
                             r.end = r1.end;
                             li.remove();
@@ -118,7 +118,7 @@
                         return true;
                     }
                 }
-                r = (Range) li.next();
+                r = li.next();
             }
         }
     }
@@ -137,10 +137,10 @@
             return true;
         if(highestSeqNumber - seqNumber > horizon)
             return true; // Assume we have since out of window
-        Iterator i = ranges.iterator();
+        Iterator<Range> i = ranges.iterator();
         Range last = null;
         for(;i.hasNext();) {
-            Range r = (Range)i.next();
+            Range r = i.next();
             if(r.start > r.end) {
                 Logger.error(this, "Bad Range: "+r);
             }
@@ -169,9 +169,9 @@
                        sb.append(", min=");
                        sb.append(lowestSeqNumber);
                        sb.append(", ranges=");
-            Iterator i = ranges.iterator();
+            Iterator<Range> i = ranges.iterator();
             while(i.hasNext()) {
-                Range r = (Range) i.next();
+                Range r = i.next();
                 sb.append(r.start);
                 sb.append('-');
                 sb.append(r.end);

Modified: trunk/freenet/src/freenet/support/SectoredRandomGrabArray.java
===================================================================
--- trunk/freenet/src/freenet/support/SectoredRandomGrabArray.java      
2008-09-05 15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/SectoredRandomGrabArray.java      
2008-09-05 15:50:04 UTC (rev 22465)
@@ -10,13 +10,13 @@
  */
 public class SectoredRandomGrabArray implements RemoveRandom {

-       private final HashMap grabArraysByClient;
+       private final HashMap<Object, RemoveRandomWithObject> 
grabArraysByClient;
        private RemoveRandomWithObject[] grabArrays;
        private final RandomSource rand;

        public SectoredRandomGrabArray(RandomSource rand) {
                this.rand = rand;
-               this.grabArraysByClient = new HashMap();
+               this.grabArraysByClient = new HashMap<Object, 
RemoveRandomWithObject>();
                grabArrays = new RemoveRandomWithObject[0];
        }

@@ -49,7 +49,7 @@
         * to add() with calls to getGrabber/addGrabber!
         */
        public synchronized RemoveRandomWithObject getGrabber(Object client) {
-               return (RemoveRandomWithObject) grabArraysByClient.get(client);
+               return grabArraysByClient.get(client);
        }

        /**

Modified: trunk/freenet/src/freenet/support/SerialExecutor.java
===================================================================
--- trunk/freenet/src/freenet/support/SerialExecutor.java       2008-09-05 
15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/SerialExecutor.java       2008-09-05 
15:50:04 UTC (rev 22465)
@@ -7,7 +7,7 @@

 public class SerialExecutor implements Executor {

-       private final LinkedList jobs;
+       private final LinkedList<Runnable> jobs;
        private final int priority;
        private boolean waiting;

@@ -41,7 +41,7 @@
                                                        return;
                                                }
                                        }
-                                       job = (Runnable) jobs.removeFirst();
+                                       job = jobs.removeFirst();
                                }
                                try {
                                        job.run();
@@ -55,7 +55,7 @@
        };

        public SerialExecutor(int priority) {
-               jobs = new LinkedList();
+               jobs = new LinkedList<Runnable>();
                this.priority = priority;
        }


Modified: trunk/freenet/src/freenet/support/Serializer.java
===================================================================
--- trunk/freenet/src/freenet/support/Serializer.java   2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/Serializer.java   2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -22,7 +22,6 @@
 import java.io.DataInput;
 import java.io.DataOutputStream;
 import java.io.IOException;
-import java.util.Iterator;
 import java.util.LinkedList;
 import java.util.List;

@@ -44,8 +43,8 @@
     public static final String VERSION = "$Id: Serializer.java,v 1.5 
2005/09/15 18:16:04 amphibian Exp $";
        public static final int MAX_BITARRAY_SIZE = 2048*8;

-       public static List readListFromDataInputStream(Class<?> elementType, 
DataInput dis) throws IOException {
-               LinkedList ret = new LinkedList();
+       public static List<Object> readListFromDataInputStream(Class<?> 
elementType, DataInput dis) throws IOException {
+               LinkedList<Object> ret = new LinkedList<Object>();
                int length = dis.readInt();
                for (int x = 0; x < length; x++) {
                        ret.add(readFromDataInputStream(elementType, dis));
@@ -124,11 +123,11 @@
                                dos.writeChar(s.charAt(x));
                        }
                } else if (type.equals(LinkedList.class)) {
-                       LinkedList ll = (LinkedList) object;
+                       LinkedList<?> ll = (LinkedList<?>) object;
                        dos.writeInt(ll.size());
                        synchronized (ll) {
-                               for (Iterator i = ll.iterator(); i.hasNext();) {
-                                       writeToDataOutputStream(i.next(), dos, 
ctx);
+                               for (Object o : ll) {
+                                       writeToDataOutputStream(o, dos, ctx);
                                }
                        }
                } else if (type.equals(Byte.class)) {

Modified: trunk/freenet/src/freenet/support/StringCounter.java
===================================================================
--- trunk/freenet/src/freenet/support/StringCounter.java        2008-09-05 
15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/StringCounter.java        2008-09-05 
15:50:04 UTC (rev 22465)
@@ -13,7 +13,7 @@
  */
 public class StringCounter {

-       private final HashMap map;
+       private final HashMap<String, Item> map;

        private static class Item {
                public Item(String string2) {
@@ -24,11 +24,11 @@
        }

        public StringCounter() {
-               map = new HashMap();
+               map = new HashMap<String, Item>();
        }

        public synchronized void inc(String string) {
-               Item item = (Item) map.get(string);
+               Item item = map.get(string);
                if(item == null) {
                        item = new Item(string);
                        item.counter = 1;
@@ -38,21 +38,19 @@
        }

        public int get(String string) {
-               Item item = (Item) map.get(string);
+               Item item = map.get(string);
                if(item == null) return 0;
                return item.counter;
        }

        private synchronized Item[] items() {
-               return (Item[]) map.values().toArray(new Item[map.size()]);
+               return map.values().toArray(new Item[map.size()]);
        }

        private synchronized Item[] sortedItems(final boolean ascending) {
                Item[] items = items();
-               Arrays.sort(items, new Comparator() {
-                       public int compare(Object arg0, Object arg1) {
-                               Item it0 = (Item)arg0;
-                               Item it1 = (Item)arg1;
+               Arrays.sort(items, new Comparator<Item>() {
+                       public int compare(Item it0, Item it1) {
                                int ret;
                                if(it0.counter > it1.counter) ret = 1;
                                else if(it0.counter < it1.counter) ret = -1;

Modified: trunk/freenet/src/freenet/support/URIPreEncoder.java
===================================================================
--- trunk/freenet/src/freenet/support/URIPreEncoder.java        2008-09-05 
15:49:28 UTC (rev 22464)
+++ trunk/freenet/src/freenet/support/URIPreEncoder.java        2008-09-05 
15:50:04 UTC (rev 22465)
@@ -1,6 +1,5 @@
 package freenet.support;

-import java.io.BufferedReader;
 import java.io.UnsupportedEncodingException;
 import java.net.URI;
 import java.net.URISyntaxException;

Modified: trunk/freenet/src/freenet/support/URLDecoder.java
===================================================================
--- trunk/freenet/src/freenet/support/URLDecoder.java   2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/URLDecoder.java   2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -3,7 +3,6 @@
  * http://www.gnu.org/ for further details of the GPL. */
 package freenet.support;

-import java.io.BufferedReader;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.UnsupportedEncodingException;

Modified: trunk/freenet/src/freenet/support/URLEncoder.java
===================================================================
--- trunk/freenet/src/freenet/support/URLEncoder.java   2008-09-05 15:49:28 UTC 
(rev 22464)
+++ trunk/freenet/src/freenet/support/URLEncoder.java   2008-09-05 15:50:04 UTC 
(rev 22465)
@@ -3,7 +3,6 @@
  * http://www.gnu.org/ for further details of the GPL. */
 package freenet.support;

-import java.io.BufferedReader;
 import java.io.UnsupportedEncodingException;

 /**


Reply via email to