fix npe appending slashes
This commit is contained in:
parent
2891aae9b1
commit
5d29a88552
|
@ -477,6 +477,9 @@ public class Utilities {
|
|||
}
|
||||
|
||||
public static String appendForwardSlash(String definitions) {
|
||||
if (definitions == null) {
|
||||
return "/";
|
||||
}
|
||||
return definitions.endsWith("/") ? definitions : definitions + "/";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue