public Lucene60Codec(Mode mode){
  super("Lucene60");
  this.storedFieldsFormat=new Lucene50StoredFieldsFormat(Objects.requireNonNull(mode));
}

public Lucene60Codec ( Mode mode ) { super ( "Lucene60" ) ; this . storedFieldsFormat = new Lucene50StoredFieldsFormat ( Objects . requireNonNull ( mode ) ) ; }
instantiates a new codec , specifying the stored fields compression mode to use .
