ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r988511 - /ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/handlers/ViewReverseDependenciesHandler.java
Date Tue, 24 Aug 2010 12:37:24 GMT
Author: hibou
Date: Tue Aug 24 12:37:23 2010
New Revision: 988511

URL: http://svn.apache.org/viewvc?rev=988511&view=rev
Log:
fix a class cast exception

Modified:
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/handlers/ViewReverseDependenciesHandler.java

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/handlers/ViewReverseDependenciesHandler.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/handlers/ViewReverseDependenciesHandler.java?rev=988511&r1=988510&r2=988511&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/handlers/ViewReverseDependenciesHandler.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/handlers/ViewReverseDependenciesHandler.java
Tue Aug 24 12:37:23 2010
@@ -33,7 +33,7 @@ public class ViewReverseDependenciesHand
     protected void handleProjects(Map projects) {
         try {
             ReverseDependencyExplorerView.setSelectedProjects((IProject[]) projects.keySet()
-                    .toArray());
+                    .toArray(new IProject[0]));
             IWorkbenchPage page = IvyPlugin.getActivePage();
             page.showView("org.apache.ivyde.eclipse.ui.views.ReverseDependencyExplorer");
             ReverseDependencyExplorerView.refresh(true);



Mime
View raw message