Index: trunk/src/org/openstreetmap/josm/gui/dialogs/CommandListMutableTreeNode.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/CommandListMutableTreeNode.java	(revision 11023)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/CommandListMutableTreeNode.java	(revision 11024)
@@ -12,7 +12,12 @@
 public class CommandListMutableTreeNode extends DefaultMutableTreeNode {
 
-    protected transient PseudoCommand cmd;
-    protected int idx;
+    protected final PseudoCommand cmd;
+    protected final int idx;
 
+    /**
+     * Constructs a new {@code CommandListMutableTreeNode}.
+     * @param cmd command
+     * @param idx index
+     */
     public CommandListMutableTreeNode(PseudoCommand cmd, int idx) {
         super(new JLabel(cmd.getDescriptionText(), cmd.getDescriptionIcon(), JLabel.HORIZONTAL));
@@ -21,8 +26,16 @@
     }
 
+    /**
+     * Returns the command.
+     * @return the command
+     */
     public PseudoCommand getCommand() {
         return cmd;
     }
 
+    /**
+     * Returns the index.
+     * @return the index
+     */
     public int getIndex() {
         return idx;
