mirror of
https://github.com/google/nomulus
synced 2026-05-28 18:50:35 +00:00
Simplify an exception's constructor.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125127036
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user