Fix error message typo 04/101604/3
authorPeter Puškár <ppuskar@frinx.io>
Mon, 20 Jun 2022 06:53:26 +0000 (08:53 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 20 Jun 2022 09:32:56 +0000 (09:32 +0000)
The correct string is 'nonconfig', not 'non-config'.

JIRA: NETCONF-886
Signed-off-by: Peter Puškár <ppuskar@frinx.io>
Change-Id: If5b77c64f8f17885977c8700195ba6b910197e26

restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/ContentParam.java

index 75f2255ad4d3f5c65a64dec80efaedac0ee64216..35a9248af9f98650c0234f40c3c838db2cd0f326 100644 (file)
@@ -64,7 +64,7 @@ public enum ContentParam implements RestconfQueryParam<ContentParam> {
                 return NONCONFIG;
             default:
                 throw new IllegalArgumentException(
-                    "Value can be 'all', 'config' or 'non-config', not '" + uriValue + "'");
+                    "Value can be 'all', 'config' or 'nonconfig', not '" + uriValue + "'");
         }
     }
 }