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

removed unused includes, added condition on debug output

parent 86ad2cde
...@@ -35,6 +35,8 @@ import org.eclipse.jface.preference.IPreferenceStore; ...@@ -35,6 +35,8 @@ 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