Don’t increment the properties counter twice.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 1 Nov 2010 20:39:55 +0000 (21:39 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 1 Nov 2010 20:39:55 +0000 (21:39 +0100)
src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java

index d7c8289..4758d95 100644 (file)
@@ -258,7 +258,7 @@ public class WebOfTrustConnector implements ConnectorListener {
                        if (propertyName == null) {
                                break;
                        }
-                       String propertyValue = fields.get(prefix + "Property" + ++propertiesCounter + "Value");
+                       String propertyValue = fields.get(prefix + "Property" + propertiesCounter + "Value");
                        properties.put(propertyName, propertyValue);
                }
                return properties;