Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Migrate coerceStatementArgument() callers
[yangtools.git]
/
yang
/
yang-parser-rfc7950
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
yang
/
parser
/
rfc7950
/
stmt
/
output
/
AbstractOutputStatementSupport.java
diff --git
a/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/output/AbstractOutputStatementSupport.java
b/yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/output/AbstractOutputStatementSupport.java
index 8f368bf856f46bfce2399e161552b05a76857a73..8827681dd35784b745340dead94fec73243bf141 100644
(file)
--- a/
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/output/AbstractOutputStatementSupport.java
+++ b/
yang/yang-parser-rfc7950/src/main/java/org/opendaylight/yangtools/yang/parser/rfc7950/stmt/output/AbstractOutputStatementSupport.java
@@
-32,9
+32,9
@@
abstract class AbstractOutputStatementSupport
final StatementSource source = ctx.source();
switch (source) {
case CONTEXT:
final StatementSource source = ctx.source();
switch (source) {
case CONTEXT:
- return new RegularUndeclaredOutputStatement(ctx.
coerceStatemen
tArgument(), substatements);
+ return new RegularUndeclaredOutputStatement(ctx.
ge
tArgument(), substatements);
case DECLARATION:
case DECLARATION:
- return new RegularOutputStatement(ctx.
coerceStatemen
tArgument(), substatements);
+ return new RegularOutputStatement(ctx.
ge
tArgument(), substatements);
default:
throw new IllegalStateException("Unhandled statement source " + source);
}
default:
throw new IllegalStateException("Unhandled statement source " + source);
}
@@
-45,9
+45,9
@@
abstract class AbstractOutputStatementSupport
final StatementSource source = ctx.source();
switch (source) {
case CONTEXT:
final StatementSource source = ctx.source();
switch (source) {
case CONTEXT:
- return new EmptyUndeclaredOutputStatement(ctx.
coerceStatemen
tArgument());
+ return new EmptyUndeclaredOutputStatement(ctx.
ge
tArgument());
case DECLARATION:
case DECLARATION:
- return new EmptyOutputStatement(ctx.
coerceStatemen
tArgument());
+ return new EmptyOutputStatement(ctx.
ge
tArgument());
default:
throw new IllegalStateException("Unhandled statement source " + source);
}
default:
throw new IllegalStateException("Unhandled statement source " + source);
}