Missing white-space character between module name 39/28639/1
authorMartin Ciglan <mciglan@cisco.com>
Wed, 21 Oct 2015 08:39:13 +0000 (10:39 +0200)
committerMartin Ciglan <mciglan@cisco.com>
Wed, 21 Oct 2015 08:39:13 +0000 (10:39 +0200)
and rest of the error message text.

Change-Id: Ib6cbfce03ae660ae82a3ad3a947d37cc8aff6d78
Signed-off-by: Martin Ciglan <mciglan@cisco.com>
opendaylight/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/md/sal/rest/common/RestconfValidationUtils.java

index e7bef08002966d753bd92a5ae9bb35413412b5eb..56468a57b8ee3ebee29bf01f824c1948bb80f430 100644 (file)
@@ -58,7 +58,7 @@ public class RestconfValidationUtils {
      */
     public static <T> T checkNotNullDocumented(final T value, final String moduleName) {
         if(value == null) {
-            final String errMsg = "Module " + moduleName + "was not found.";
+            final String errMsg = "Module " + moduleName + " was not found.";
             throw new RestconfDocumentedException(errMsg, ErrorType.APPLICATION, ErrorTag.DATA_MISSING);
         }
         return value;