about summary refs log tree commit diff stats
path: root/client/trunk/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'client/trunk/src/com')
-rw-r--r--client/trunk/src/com/fourisland/instadisc/Item/Item.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/trunk/src/com/fourisland/instadisc/Item/Item.java b/client/trunk/src/com/fourisland/instadisc/Item/Item.java index 776a884..6510c60 100644 --- a/client/trunk/src/com/fourisland/instadisc/Item/Item.java +++ b/client/trunk/src/com/fourisland/instadisc/Item/Item.java
@@ -13,6 +13,7 @@ import java.awt.TrayIcon.MessageType;
13import java.net.MalformedURLException; 13import java.net.MalformedURLException;
14import java.net.URL; 14import java.net.URL;
15import java.util.HashMap; 15import java.util.HashMap;
16import java.util.Iterator;
16import java.util.logging.Level; 17import java.util.logging.Level;
17import java.util.logging.Logger; 18import java.util.logging.Logger;
18 19
@@ -39,7 +40,7 @@ public class Item {
39 { 40 {
40 Wrapper.dropFromTopItem(); 41 Wrapper.dropFromTopItem();
41 } 42 }
42 43
43 try { 44 try {
44 com.fourisland.instadisc.Database.Item di = new com.fourisland.instadisc.Database.Item(); 45 com.fourisland.instadisc.Database.Item di = new com.fourisland.instadisc.Database.Item();
45 di.setID(Integer.decode(headerMap.get("ID"))); 46 di.setID(Integer.decode(headerMap.get("ID")));
@@ -48,7 +49,7 @@ public class Item {
48 di.setAuthor(headerMap.get("Author")); 49 di.setAuthor(headerMap.get("Author"));
49 di.setURL(new URL(headerMap.get("URL")).toString()); 50 di.setURL(new URL(headerMap.get("URL")).toString());
50 51
51 HashMap<String, String> temp = (HashMap<String, String>) headerMap.clone(); 52 HashMap<String, String> temp = new HashMap(headerMap);
52 temp.remove("ID"); 53 temp.remove("ID");
53 temp.remove("Verification"); 54 temp.remove("Verification");
54 temp.remove("Verification-ID"); 55 temp.remove("Verification-ID");