File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
csv-comparator/src/main/java/com/github/ngoanh2n/csv Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ private Builder() {
100
100
* @return The current {@link Builder}.
101
101
* @see java.nio.charset.StandardCharsets
102
102
*/
103
- public Builder setCharset (@ Nullable Charset charset ) {
103
+ public Builder charset (@ Nullable Charset charset ) {
104
104
this .charset = charset ;
105
105
return this ;
106
106
}
@@ -111,7 +111,7 @@ public Builder setCharset(@Nullable Charset charset) {
111
111
* @param lineSeparator The sequence of 1 to 2 characters that identifies the end of a line.
112
112
* @return The current {@link Builder}.
113
113
*/
114
- public Builder setLineSeparator (@ Nonnull String lineSeparator ) {
114
+ public Builder lineSeparator (@ Nonnull String lineSeparator ) {
115
115
checkNotNull (lineSeparator , "`lineSeparator` cannot not be null" );
116
116
this .parserSettings .getFormat ().setLineSeparator (lineSeparator );
117
117
return this ;
@@ -186,7 +186,7 @@ public Builder selectColumnId(int index) {
186
186
* @param options to adjust output.
187
187
* @return The current {@link Builder}.
188
188
*/
189
- public Builder setResultOptions (@ Nonnull CsvComparisonResultOptions options ) {
189
+ public Builder resultOptions (@ Nonnull CsvComparisonResultOptions options ) {
190
190
this .resultOptions = options ;
191
191
return this ;
192
192
}
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ private Builder() {
83
83
* @param path The path to location.
84
84
* @return The current {@link CsvComparisonResultOptions.Builder}.
85
85
*/
86
- public Builder setLocation (@ Nonnull Path path ) {
86
+ public Builder location (@ Nonnull Path path ) {
87
87
this .location = checkNotNull (path , "path cannot not be null" );
88
88
return this ;
89
89
}
You can’t perform that action at this time.
0 commit comments