From 7c1d84b96f8bb38a9dad250339a4ffabcdff515f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20Pu=C5=A1k=C3=A1r?= Date: Mon, 20 Jun 2022 08:53:26 +0200 Subject: [PATCH 1/1] Fix error message typo MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The correct string is 'nonconfig', not 'non-config'. JIRA: NETCONF-886 Signed-off-by: Peter Puškár Change-Id: If5b77c64f8f17885977c8700195ba6b910197e26 --- .../java/org/opendaylight/restconf/nb/rfc8040/ContentParam.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/ContentParam.java b/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/ContentParam.java index 75f2255ad4..35a9248af9 100644 --- a/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/ContentParam.java +++ b/restconf/restconf-nb-rfc8040/src/main/java/org/opendaylight/restconf/nb/rfc8040/ContentParam.java @@ -64,7 +64,7 @@ public enum ContentParam implements RestconfQueryParam { 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 + "'"); } } } -- 2.36.6