| 1055 | } |
| 1056 | |
| 1057 | private static class Comment implements Line { |
| 1058 | |
| 1059 | private String comment; |
| 1060 | private char delimiter; |
| 1061 | |
| 1062 | private static final char DEFAULT_DELIMITER = '#'; |
| 1063 | |
| 1064 | public Comment(String comment) { |
| 1065 | this(comment, DEFAULT_DELIMITER); |
| 1066 | } |
| 1067 | |
| 1068 | public Comment(String comment, char delimiter) { |
| 1069 | this.comment = comment.trim(); |
| 1070 | this.delimiter = delimiter; |
| 1071 | } |
| 1072 | |
| 1073 | public String toString() { |
| 1074 | return this.delimiter + " " + this.comment; |
| 1075 | } |
| 1076 | |
| 1077 | } |
| 1078 | |
| 1079 | private static class OptionFormat { |
| 1080 |
nothing calls this directly
no outgoing calls
no test coverage detected