import java.util.HashMap;
import java.util.Map;
-import org.hedgecode.chess.scanner.ChessHogScannerConstants;
import org.hedgecode.chess.scanner.entity.PGNEntity;
import org.hedgecode.chess.scanner.entity.PGNTag;
+import static org.hedgecode.chess.scanner.ChessHogScannerConstants.*;
+
/**
* AbstractPGNFormat
*
tag.getName(),
tagValue != null ? tagValue : tag.defaultValue()
)
- ).append(
- ChessHogScannerConstants.CRLF
- );
+ ).append(CRLF);
}
}
- sb.append(
- ChessHogScannerConstants.CRLF
- ).append(
+ sb.append(CRLF).append(
String.format(MOVES_FORMAT, moves(), result())
- ).append(
- ChessHogScannerConstants.CRLF
- );
+ ).append(CRLF);
return sb.toString();
}