fix npe in Utilities.pathURL()
This commit is contained in:
parent
554a458b57
commit
5b69a30919
|
@ -649,7 +649,7 @@ public class Utilities {
|
|||
StringBuilder s = new StringBuilder();
|
||||
boolean d = false;
|
||||
for (String arg : args) {
|
||||
if (args != null) {
|
||||
if (arg != null) {
|
||||
if (!d)
|
||||
d = !noString(arg);
|
||||
else if (s.toString() != null && !s.toString().endsWith("/") && !arg.startsWith("/"))
|
||||
|
@ -660,14 +660,6 @@ public class Utilities {
|
|||
return s.toString();
|
||||
}
|
||||
|
||||
|
||||
// public static void checkCase(String filename) {
|
||||
// File f = new CSFile(filename);
|
||||
// if (!f.getName().equals(filename))
|
||||
// throw new FHIRException("Filename ")
|
||||
//
|
||||
// }
|
||||
|
||||
public static String nmtokenize(String cs) {
|
||||
if (cs == null)
|
||||
return "";
|
||||
|
|
Loading…
Reference in New Issue