From: David ‘Bombe’ Roden Date: Mon, 1 Nov 2010 20:39:55 +0000 (+0100) Subject: Don’t increment the properties counter twice. X-Git-Tag: 0.2-RC1~69 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=ba7980516278401d16e947fad2502e62c0c24160 Don’t increment the properties counter twice. --- diff --git a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java index d7c8289..4758d95 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -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;