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 .