From 0f92a567c1cc6fbb37a5608a25d950f6418118f6 Mon Sep 17 00:00:00 2001 From: Nils Schmidt Date: Wed, 26 Aug 2015 13:51:21 +0200 Subject: [PATCH] Code cleanup. --- src/org/nschmidt/ldparteditor/text/StringHelper.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/org/nschmidt/ldparteditor/text/StringHelper.java b/src/org/nschmidt/ldparteditor/text/StringHelper.java index 7bfe8a164..7a86dd132 100644 --- a/src/org/nschmidt/ldparteditor/text/StringHelper.java +++ b/src/org/nschmidt/ldparteditor/text/StringHelper.java @@ -15,8 +15,6 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ package org.nschmidt.ldparteditor.text; -import java.util.ArrayList; -import java.util.HashSet; /** * @author nils @@ -26,9 +24,6 @@ public enum StringHelper { INSTANCE; - private static HashSet dictSet = new HashSet(); - private static ArrayList dictList = new ArrayList(); - public static int countOccurences(final String findStr, final String str) { int lastIndex = 0; int count = 0;