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:
samskivert
2010-03-29 16:57:24 +00:00
parent aab57210e5
commit ed9f8502e0
@@ -78,8 +78,7 @@ public class CommandButton extends JButton
} }
Object arg = (proto instanceof CommandEvent) Object arg = (proto instanceof CommandEvent)
? arg = ((CommandEvent) proto).getArgument() ? ((CommandEvent) proto).getArgument() : null;
: null;
// if we were passed an action event, or if it was a command event // if we were passed an action event, or if it was a command event
// with a null arg... // with a null arg...