MCPcopy Create free account
hub / github.com/Qihoo360/poseidon / Comment

Class Comment

builder/index/src/main/java/util/IniParser.java:1057–1077  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected