Code formating and whitespace cleanup
[jpim.git] / src / de / j32 / pimstuff / data / Addressbook.java
index 8c1d4b5..2f84683 100644 (file)
@@ -3,29 +3,28 @@ package de.j32.pimstuff.data;
 import java.util.Iterator;
 import java.util.LinkedList;
 
-public class Addressbook
-       implements EntryConsumer, EntryProducer
+public class Addressbook implements EntryConsumer, EntryProducer
 {
-       LinkedList<Entry> data_ = new LinkedList<Entry>();
-       
-       public void add(Entry entry)
-       {
-               data_.add(entry);
-       }
-       
-       public Iterator<Entry> entries()
-       {
-               return data_.iterator();
-       }
-       
-       public void consume(Entry entry)
-       {
-               add(entry);
-       }
-       
-       public void sendTo(EntryConsumer consumer)
-       {
-               for (Entry entry : data_)
-                       consumer.consume(entry);
-       }
+    LinkedList<Entry> data_ = new LinkedList<Entry>();
+
+    public void add(Entry entry)
+    {
+        data_.add(entry);
+    }
+
+    public Iterator<Entry> entries()
+    {
+        return data_.iterator();
+    }
+
+    public void consume(Entry entry)
+    {
+        add(entry);
+    }
+
+    public void sendTo(EntryConsumer consumer)
+    {
+        for (Entry entry : data_)
+            consumer.consume(entry);
+    }
 }