commit | 153d3589a54a2d4a4e6b2b60bda656ced1482250 | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Fri Sep 01 16:59:52 2017 -0700 |
committer | Yuta HIGUCHI <y-higuchi@opennetworking.org> | Sun Sep 10 23:00:12 2017 +0000 |
tree | 17ff7499a6e87dd940cb69f6c1c998ec0b1f5f70 | |
parent | e9761740db0852717d526d84f0b976efd67aeb86 [diff] [blame] |
minor fix in DocumentPath, DCS Change-Id: I13f332bc3897e7fc047744c36be4f208cf820d4f
diff --git a/core/api/src/main/java/org/onosproject/store/service/DocumentPath.java b/core/api/src/main/java/org/onosproject/store/service/DocumentPath.java index 333cbb1..0ef9aef 100644 --- a/core/api/src/main/java/org/onosproject/store/service/DocumentPath.java +++ b/core/api/src/main/java/org/onosproject/store/service/DocumentPath.java
@@ -74,8 +74,8 @@ public DocumentPath(String nodeName, DocumentPath parentPath) { checkNotNull(nodeName, "Node name cannot be null"); if (nodeName.contains(pathSeparator)) { - throw new IllegalDocumentNameException( - "Periods are not allowed in names."); + throw new IllegalDocumentNameException("'" + pathSeparator + "'" + + " are not allowed in names."); } if (parentPath != null) { pathElements.addAll(parentPath.pathElements());