ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1361750 - in /ant/ivy/ivyde/trunk: doc/release-notes.html org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/resolve/IvyResolveJob.java
Date Sun, 15 Jul 2012 18:34:11 GMT
Author: hibou
Date: Sun Jul 15 18:34:11 2012
New Revision: 1361750

URL: http://svn.apache.org/viewvc?rev=1361750&view=rev
Log:
FIX IVYDE-312: Divide by zero during IvyDE resolve (thanks to Joe Sortelli)

Modified:
    ant/ivy/ivyde/trunk/doc/release-notes.html
    ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/resolve/IvyResolveJob.java

Modified: ant/ivy/ivyde/trunk/doc/release-notes.html
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/doc/release-notes.html?rev=1361750&r1=1361749&r2=1361750&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/doc/release-notes.html (original)
+++ ant/ivy/ivyde/trunk/doc/release-notes.html Sun Jul 15 18:34:11 2012
@@ -111,6 +111,7 @@ long, but Apache IvyDE couldn't be what 
 <li>Clint Burghduff</li>
 <li>Gregory Fernandez</li>
 <li>Jeffrey M. Metcalf</li>
+<li>Joe Sortelli</li>
 </ul>
 
 <h1><a name="changes"></a>List of Changes in this Release</h1>
@@ -118,6 +119,8 @@ long, but Apache IvyDE couldn't be what 
 List of changes since <a href="/ivy/ivyde/history/2.2.0.beta1/release-notes.html">Apache
IvyDE 2.2.0 beta1</a>:
 <ul>
     <li>FIX: org.eclipse.swt.SWTException: Invalid thread access with Eclipse Juno
(IVYDE-313)</li>
+    <li>FIX: Divide by zero during IvyDE resolve (IVYDE-312) (thanks to Joe Sortelli)</li>
+    
     <!-- samples
     <li>NEW: new new new (IVYDE-XXX) (thanks to XXX)</li>
     <li>IMPROVE: new new new (IVYDE-XXX) (thanks to XXX)</li>

Modified: ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/resolve/IvyResolveJob.java
URL: http://svn.apache.org/viewvc/ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/resolve/IvyResolveJob.java?rev=1361750&r1=1361749&r2=1361750&view=diff
==============================================================================
--- ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/resolve/IvyResolveJob.java
(original)
+++ ant/ivy/ivyde/trunk/org.apache.ivyde.eclipse/src/java/org/apache/ivyde/eclipse/resolve/IvyResolveJob.java
Sun Jul 15 18:34:11 2012
@@ -86,6 +86,10 @@ public class IvyResolveJob extends Job {
             resolveQueue.clear();
         }
 
+        if (toResolve.isEmpty()) {
+            return Status.OK_STATUS;
+        }
+
         monitor.beginTask("Loading ivy descriptors", MONITOR_LENGTH);
 
         Map/* <ModuleDescriptor, ResolveRequest> */inworkspaceModules = new LinkedHashMap();



Mime
View raw message