Commit 5ced6b81 authored by Andrey Filippov's avatar Andrey Filippov

removed unused includes, added condition on debug output

parent 86ad2cde
...@@ -30,11 +30,13 @@ import java.util.ArrayList; ...@@ -30,11 +30,13 @@ import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.Iterator; import java.util.Iterator;
import java.util.List; import java.util.List;
import org.eclipse.jface.preference.IPreferenceStore; import org.eclipse.jface.preference.IPreferenceStore;
import com.elphel.vdt.core.tools.contexts.Context; import com.elphel.vdt.core.tools.contexts.Context;
import com.elphel.vdt.core.tools.params.Parameter; import com.elphel.vdt.core.tools.params.Parameter;
import com.elphel.vdt.veditor.VerilogPlugin;
import com.elphel.vdt.veditor.preference.PreferenceStrings;
/** /**
* Utilities for ExDT options. * Utilities for ExDT options.
...@@ -75,11 +77,12 @@ class OptionsUtils { ...@@ -75,11 +77,12 @@ class OptionsUtils {
if ((value == null) || (value.length() == 0 )) { if ((value == null) || (value.length() == 0 )) {
list = new ArrayList<String>(); list = new ArrayList<String>();
} else { } else {
if (VerilogPlugin.getPreferenceBoolean(PreferenceStrings.DEBUG_OTHER)) {
if (value.contains("ConstraintsFiles")){ if (value.contains("ConstraintsFiles")){
System.out.println("convertStringToList() contains ConstraintsFiles"); System.out.println("convertStringToList() contains ConstraintsFiles");
System.out.println("convertStringToList() contains ConstraintsFiles"); System.out.println("convertStringToList() contains ConstraintsFiles");
} }
}
String items[] = value.split(SEPARATOR); String items[] = value.split(SEPARATOR);
list = new ArrayList<String>(items.length); list = new ArrayList<String>(items.length);
for (String item : items) { 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