src/main/java/com/s24/search/solr/analysis/jdbc/JdbcStemmerOverrideFilterFactory.java
private static Map<String, String> superclassArgs(Map<String, String> args) {
      Map<String, String> result = new HashMap<>();
      
      // resource loading does not take place if no file has been configured.
      if (!result.containsKey("dictionary")) {
         result.put("dictionary", JdbcResourceLoader.DATABASE);
      }
      for (String arg : ImmutableList.of("dictionary", "ignoreCase")) {
         String value = args.get(arg);
         if (value != null) {
            result.put(arg, value);
         }
      }
      return result;
   }
private static Map<String, String> superclassArgs(Map<String, String> args) {
      Map<String, String> result = new HashMap<>();
      
      // resource loading does not take place if no file has been configured.
      if (!result.containsKey("dictionary")) {
         result.put("dictionary", JdbcResourceLoader.DATABASE);
      }
      for (String arg : ImmutableList.of("dictionary", "ignoreCase")) {
         String value = args.get(arg);
         if (value != null) {
            result.put(arg, value);
         }
      }
      return result;
   }
private static Map < String , String > superclassArgs ( Map < String , String > args ) { Map < String , String > result = new HashMap <> ( ) ; // resource loading does not take place if no file has been configured. if ( ! result . containsKey ( "dictionary" ) ) { result . put ( "dictionary" , JdbcResourceLoader . DATABASE ) ; } for ( String arg : ImmutableList . of ( "dictionary" , "ignoreCase" ) ) { String value = args . get ( arg ) ; if ( value != null ) { result . put ( arg , value ) ; } } return result ; }
Returns a map which contains only those arguments that the superclass understands.
Returns a map which contains only those arguments that the superclass understands .