Refactors commands and injection
[mkjsf-moved-to-github.git] / src / main / java / com / indexdata / mkjsf / pazpar2 / data / CommandError.java
index 54aa8f6..db4a7bc 100644 (file)
@@ -7,8 +7,8 @@ import java.util.List;
 import java.util.regex.Pattern;\r
 \r
 import com.indexdata.mkjsf.errors.ErrorHelper;\r
-import com.indexdata.mkjsf.errors.ErrorInterface;\r
 import com.indexdata.mkjsf.errors.ErrorHelper.ErrorCode;\r
+import com.indexdata.mkjsf.errors.ErrorInterface;\r
 import com.indexdata.utils.XmlUtils;\r
 \r
 /**\r
@@ -53,7 +53,7 @@ public class CommandError extends ResponseDataObject implements ErrorInterface {
   }\r
     \r
   public List<String> getSuggestions() { \r
-    if (errorHelper!=null) {\r
+    if (errorHelper!=null) {      \r
       return errorHelper.getSuggestions(this);\r
     } else {\r
       List<String> nohelper = new ArrayList<String>();\r