Skip to content
This repository was archived by the owner on Jan 8, 2018. It is now read-only.

Commit c5fc6a5

Browse files
committed
fixed checkstyle errors and warnings
1 parent 23d85e3 commit c5fc6a5

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/main/java/org/n52/janmayen/NcName.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,6 @@ public boolean isValid() {
174174
return isValid(this.name);
175175
}
176176

177-
public void makeValid(char replacement) {
178-
this.name = makeValid(name, replacement);
179-
}
180-
181-
public void makeValid() {
182-
this.name = makeValid(name);
183-
}
184-
185177
/**
186178
* Checks if {@code name} is a valid NCName.
187179
*
@@ -201,6 +193,14 @@ public static boolean isValid(String name) {
201193
return true;
202194
}
203195

196+
public void makeValid(char replacement) {
197+
this.name = makeValid(name, replacement);
198+
}
199+
200+
public void makeValid() {
201+
this.name = makeValid(name);
202+
}
203+
204204
/**
205205
* Replaces all invalid characters in {@code name} with {@code replacement}.
206206
*

src/main/java/org/n52/janmayen/function/Consumers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* @author Christian Autermann
2929
*/
30-
public class Consumers {
30+
public final class Consumers {
3131

3232
private Consumers() {
3333
}

0 commit comments

Comments
 (0)