From ba7980516278401d16e947fad2502e62c0c24160 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Mon, 1 Nov 2010 21:39:55 +0100 Subject: [PATCH] =?utf8?q?Don=E2=80=99t=20increment=20the=20properties=20c?= =?utf8?q?ounter=20twice.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4