jdk/src/java.desktop/share/classes/sun/swing/FilePane.java
changeset 43322 046c9ccca33d
parent 39867 889e919f632e
child 43722 25ba19c20260
equal deleted inserted replaced
43321:2b8d397c03a4 43322:046c9ccca33d
   546                 actionList.add(action);
   546                 actionList.add(action);
   547             }
   547             }
   548             actions = actionList.toArray(new Action[actionList.size()]);
   548             actions = actionList.toArray(new Action[actionList.size()]);
   549         }
   549         }
   550 
   550 
   551         return actions;
   551         return Arrays.copyOf(actions, actions.length);
   552     }
   552     }
   553 
   553 
   554     protected void createActionMap() {
   554     protected void createActionMap() {
   555         addActionsToMap(super.getActionMap(), getActions());
   555         addActionsToMap(super.getActionMap(), getActions());
   556     }
   556     }