X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=yang%2Fyang-data-util%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fyangtools%2Fyang%2Fdata%2Futil%2FXpathStringParsingPathArgumentBuilder.java;h=efd64a930b22bac0b2dfb57ff42f870e23bf7373;hb=e104e4acbc93ca8fc3694ffc4ad794204339b4fe;hp=5141d623ba9fa683f4cb787cbabc5e9ed51a4e52;hpb=3644e14fbb0cd52b566734967fecaad60e40fbbe;p=yangtools.git diff --git a/yang/yang-data-util/src/main/java/org/opendaylight/yangtools/yang/data/util/XpathStringParsingPathArgumentBuilder.java b/yang/yang-data-util/src/main/java/org/opendaylight/yangtools/yang/data/util/XpathStringParsingPathArgumentBuilder.java index 5141d623ba..efd64a930b 100644 --- a/yang/yang-data-util/src/main/java/org/opendaylight/yangtools/yang/data/util/XpathStringParsingPathArgumentBuilder.java +++ b/yang/yang-data-util/src/main/java/org/opendaylight/yangtools/yang/data/util/XpathStringParsingPathArgumentBuilder.java @@ -23,6 +23,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgum /** * Iterator which lazily parses {@link PathArgument} from string representation. * + *

* Note that invocation of {@link #hasNext()} or {@link #next()} may result in * throwing of {@link IllegalArgumentException} if underlying string representation * is not correctly serialized or does not represent instance identifier valid @@ -31,7 +32,7 @@ import org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgum class XpathStringParsingPathArgumentBuilder implements Builder> { /** - * Matcher matching WSP YANG ABNF token + * Matcher matching WSP YANG ABNF token. */ private static final CharMatcher WSP = CharMatcher.anyOf(" \t"); @@ -42,7 +43,7 @@ class XpathStringParsingPathArgumentBuilder implements Builder * In case of error provides pointer to failed instance identifier, * offset on which failure occurred with explanation. * * @param condition Fails parsing if {@code condition} is false * @param errorMsg Error message which will be provided to user. - * @param attributes */ private void checkValid(final boolean condition, final String errorMsg, final Object... attributes) { if (!condition) { @@ -248,15 +247,14 @@ class XpathStringParsingPathArgumentBuilder implements Builder