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

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