mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02:00
Simplify an exception's constructor.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125127036
This commit is contained in:
parent
31ddced437
commit
1d2d81492e
2 changed files with 6 additions and 7 deletions
|
@ -326,10 +326,7 @@ public class FlowPicker {
|
|||
}
|
||||
}
|
||||
// Nothing usable was found, so throw an exception.
|
||||
throw new UnimplementedCommandException(
|
||||
innerCommand,
|
||||
innerCommand instanceof ResourceCommandWrapper
|
||||
? ((ResourceCommandWrapper) innerCommand).getResourceCommand() : null);
|
||||
throw new UnimplementedCommandException(innerCommand);
|
||||
}
|
||||
|
||||
/** Command missing. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue