RepoXMLHandler: make helper func static
This commit is contained in:
parent
942cfd3cd1
commit
7f2a811541
@ -268,7 +268,7 @@ public class RepoXMLHandler extends DefaultHandler {
|
|||||||
curchars.setLength(0);
|
curchars.setLength(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
private String cleanWhiteSpace(@Nullable String str) {
|
private static String cleanWhiteSpace(@Nullable String str) {
|
||||||
return str == null ? null : str.replaceAll("\\s", " ");
|
return str == null ? null : str.replaceAll("\\s", " ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user