From: David ‘Bombe’ Roden Date: Wed, 12 Sep 2012 05:46:59 +0000 (+0200) Subject: Declare methods as static. X-Git-Tag: 0.8.3^2~39^2~6 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=c3104b782525d9c900a64dd292b638076f21cadc;p=Sone.git Declare methods as static. --- 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 4ef26cb..9cda2eb 100644 --- a/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java +++ b/src/main/java/net/pterodactylus/sone/freenet/wot/WebOfTrustConnector.java @@ -312,7 +312,7 @@ public class WebOfTrustConnector { * The fields to parse the contexts from * @return The parsed contexts */ - private Set parseContexts(String prefix, SimpleFieldSet fields) { + private static Set parseContexts(String prefix, SimpleFieldSet fields) { Set contexts = new HashSet(); int contextCounter = -1; while (true) { @@ -334,7 +334,7 @@ public class WebOfTrustConnector { * The fields to parse the properties from * @return The parsed properties */ - private Map parseProperties(String prefix, SimpleFieldSet fields) { + private static Map parseProperties(String prefix, SimpleFieldSet fields) { Map properties = new HashMap(); int propertiesCounter = -1; while (true) {