No need for this kooky inner assignment.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@2762 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -78,8 +78,7 @@ public class CommandButton extends JButton
|
||||
}
|
||||
|
||||
Object arg = (proto instanceof CommandEvent)
|
||||
? arg = ((CommandEvent) proto).getArgument()
|
||||
: null;
|
||||
? ((CommandEvent) proto).getArgument() : null;
|
||||
|
||||
// if we were passed an action event, or if it was a command event
|
||||
// with a null arg...
|
||||
|
||||
Reference in New Issue
Block a user