public MorfologikFilterFactory(Map<String,String> args){
  super(args);
  final String DICTIONARY_RESOURCE_ATTRIBUTE="dictionary-resource";
  String dictionaryResource=get(args,DICTIONARY_RESOURCE_ATTRIBUTE);
  if (dictionaryResource != null && !dictionaryResource.isEmpty()) {
    throw new IllegalArgumentException("The " + DICTIONARY_RESOURCE_ATTRIBUTE + " attribute is no "+ "longer supported. Use the '"+ DICTIONARY_ATTRIBUTE+ "' attribute instead (see LUCENE-6833).");
  }
  resourceName=get(args,DICTIONARY_ATTRIBUTE);
  if (!args.isEmpty()) {
    throw new IllegalArgumentException("Unknown parameters: " + args);
  }
}

public MorfologikFilterFactory ( Map < String , String > args ) { super ( args ) ; final String DICTIONARY_RESOURCE_ATTRIBUTE = "dictionary-resource" ; String dictionaryResource = get ( args , DICTIONARY_RESOURCE_ATTRIBUTE ) ; if ( dictionaryResource != null && ! dictionaryResource . isEmpty ( ) ) { throw new IllegalArgumentException ( "The " + DICTIONARY_RESOURCE_ATTRIBUTE + " attribute is no " + "longer supported. Use the '" + DICTIONARY_ATTRIBUTE + "' attribute instead (see LUCENE-6833)." ) ; } resourceName = get ( args , DICTIONARY_ATTRIBUTE ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
creates a new morfologikfilterfactory
