package no.kantega.search.api.util;

public class FieldUtils {
    public static String getLanguageSuffix(String language) {
        if(language.equals("eng")){
            return "en";
        }else {
            return "no";
        }
    }
}

@@ -133,29 +133,29 @@
  if(
-language.equals(%22eng%22
+%22eng%22.equals(language
 ))%7B%0A

language can be null.