Commit bbdfd379 authored by Andrey Filippov's avatar Andrey Filippov

bug fixes, added filter parameters in outline view

parent 6f184aa0
......@@ -54,16 +54,17 @@ class OptionsUtils {
public static String convertListToString(List<String> list) {
String value = "";
Iterator i = list.iterator();
Iterator<String> i = list.iterator();
while(i.hasNext()) {
String str = (String)i.next();
value += str + SEPARATOR;
}
if (value.contains("ConstraintsFiles")){
System.out.println("convertListToString() contains ConstraintsFiles");
System.out.println("convertListToString() contains ConstraintsFiles");
}
if (VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_OTHER)) {
if (value.contains("ConstraintsFiles")){
System.out.println("convertStringToList() contains ConstraintsFiles");
System.out.println("convertStringToList() contains ConstraintsFiles");
}
}
return value;
}
......@@ -77,12 +78,12 @@ class OptionsUtils {
if ((value == null) || (value.length() == 0 )) {
list = new ArrayList<String>();
} else {
if (VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_OTHER)) {
if (value.contains("ConstraintsFiles")){
System.out.println("convertStringToList() contains ConstraintsFiles");
System.out.println("convertStringToList() contains ConstraintsFiles");
}
}
if (VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_OTHER)) {
if (value.contains("ConstraintsFiles")){
System.out.println("convertStringToList() contains ConstraintsFiles");
System.out.println("convertStringToList() contains ConstraintsFiles");
}
}
String items[] = value.split(SEPARATOR);
list = new ArrayList<String>(items.length);
for (String item : items) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment