Fix error accessing experimental on NamingSystem

This commit is contained in:
Grahame Grieve 2022-02-15 19:32:04 +11:00
parent e1613a7087
commit 4983b0122c
3 changed files with 9 additions and 1 deletions

View File

@ -4,4 +4,4 @@
## Other code changes
* no changes
* Fix error access experimental on canonical

View File

@ -554,6 +554,10 @@ public abstract class CanonicalResource extends DomainResource {
return true;
}
public boolean supportsExperimental() {
return true;
}
public String getVersionedUrl() {
return hasVersion() ? getUrl()+"|"+getVersion() : getUrl();
}

View File

@ -3044,6 +3044,10 @@ public class NamingSystem extends CanonicalResource {
return false;
}
public boolean supportsExperimental() {
return false;
}
// end addition
}