Don’t set the latest edition from the WoT URI!
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 5 Nov 2010 08:58:08 +0000 (09:58 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 5 Nov 2010 08:58:08 +0000 (09:58 +0100)
src/main/java/net/pterodactylus/sone/data/Sone.java

index bc7e5f4..3ff0d3b 100644 (file)
@@ -183,7 +183,6 @@ public class Sone {
                        logger.log(Level.WARNING, "Request URI %s tried to overwrite %s!", new Object[] { requestUri, this.requestUri });
                        return this;
                }
-               setLatestEdition(requestUri.getEdition());
                return this;
        }
 
@@ -212,7 +211,6 @@ public class Sone {
                        logger.log(Level.WARNING, "Request URI %s tried to overwrite %s!", new Object[] { insertUri, this.insertUri });
                        return this;
                }
-               setLatestEdition(insertUri.getEdition());
                return this;
        }