fix for bug processing CCDA constraints (logical model constraints)
This commit is contained in:
parent
3e33c8a835
commit
9b0ce65f08
|
@ -4616,7 +4616,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
this.prefixLength = prefixLength;
|
||||
this.base = base;
|
||||
if (Utilities.isAbsoluteUrl(base)) {
|
||||
throw new Error("Wrong!");
|
||||
this.base = urlTail(base);
|
||||
}
|
||||
this.name = name;
|
||||
}
|
||||
|
@ -5191,7 +5191,7 @@ public class ProfileUtilities extends TranslatingUtilities {
|
|||
// }
|
||||
//
|
||||
|
||||
private String urlTail(String profile) {
|
||||
private static String urlTail(String profile) {
|
||||
return profile.contains("/") ? profile.substring(profile.lastIndexOf("/")+1) : profile;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue