package org.textfiledatatools.core.mapper.to;

import org.textfiledatatools.core.Record;
import org.textfiledatatools.core.Records;
import org.textfiledatatools.core.mapper.RecordMapper;
import org.textfiledatatools.core.record.StandardRecord;

/**
 * Created by Mathias Kalb on 20.01.2016.
 */
public class ToStandardMapper implements RecordMapper<Record, StandardRecord> {

    @Override
    public StandardRecord map(Record record) {
        if (record instanceof StandardRecord) {
            return (StandardRecord) record;
        }
        return new StandardRecord(record.getCategory(), record.getRecordId(),
                Records.collectFieldValuesToList(record));
    }

}

@@ -249,18 +249,15 @@
 %0A * 
-Created by
+@author
  Mat
@@ -269,23 +269,22 @@
 Kalb
- on 20.01.2016.
+%0A * @since 0.1
 %0A */

Update class javadoc