fixing ArrayStoreException - we want to dump the map keys to the array; not the map entries
1.1 --- a/mercurial/src/org/netbeans/modules/mercurial/ui/commit/CommitAction.java Wed Oct 14 13:25:04 2009 +0200
1.2 +++ b/mercurial/src/org/netbeans/modules/mercurial/ui/commit/CommitAction.java Wed Oct 14 15:28:14 2009 +0200
1.3 @@ -439,7 +439,7 @@
1.4 commitCmd.handle();
1.5 return null;
1.6 }
1.7 - }, commitCandidates.entrySet().toArray(new File[commitCandidates.entrySet().size()]));
1.8 + }, commitCandidates.keySet().toArray(new File[commitCandidates.keySet().size()]));
1.9 } catch (HgException ex) {
1.10 NotifyDescriptor.Exception e = new NotifyDescriptor.Exception(ex);
1.11 DialogDisplayer.getDefault().notifyLater(e);