incubator-ivy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r492785 - in /incubator/ivy/trunk: CHANGES.txt src/java/fr/jayasoft/ivy/repository/AbstractRepository.java
Date Thu, 04 Jan 2007 22:38:49 GMT
Author: maartenc
Date: Thu Jan  4 14:38:49 2007
New Revision: 492785

URL: http://svn.apache.org/viewvc?view=rev&rev=492785
Log:
FIX: IOException during publish causes NullPointerException (IVY-371)

Modified:
    incubator/ivy/trunk/CHANGES.txt
    incubator/ivy/trunk/src/java/fr/jayasoft/ivy/repository/AbstractRepository.java

Modified: incubator/ivy/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ivy/trunk/CHANGES.txt?view=diff&rev=492785&r1=492784&r2=492785
==============================================================================
--- incubator/ivy/trunk/CHANGES.txt (original)
+++ incubator/ivy/trunk/CHANGES.txt Thu Jan  4 14:38:49 2007
@@ -10,6 +10,8 @@
 - IMPROVE: Please typedef CacheResolver as "cache" for us (IVY-359)
 - IMPROVE: ivy:retrieve should be able to create symlinks (IVY-353) (thanks to John Williams)
 
+- FIX: IOException during publish causes NullPointerException (IVY-371)
+
    version 1.4.1 - 2006-11-09
 =====================================
 - IMPROVE: ability to rebuild all dependent projects from a leaf (IVY-101)

Modified: incubator/ivy/trunk/src/java/fr/jayasoft/ivy/repository/AbstractRepository.java
URL: http://svn.apache.org/viewvc/incubator/ivy/trunk/src/java/fr/jayasoft/ivy/repository/AbstractRepository.java?view=diff&rev=492785&r1=492784&r2=492785
==============================================================================
--- incubator/ivy/trunk/src/java/fr/jayasoft/ivy/repository/AbstractRepository.java (original)
+++ incubator/ivy/trunk/src/java/fr/jayasoft/ivy/repository/AbstractRepository.java Thu Jan
 4 14:38:49 2007
@@ -65,7 +65,6 @@
         	_evt.setTotalLengthSet(true);
         }
         fireTransferEvent(_evt);
-        _evt = null;
     }
     
     protected void fireTransferCompleted(long totalLength) {
@@ -73,20 +72,17 @@
         _evt.setTotalLength(totalLength);
         _evt.setTotalLengthSet(true);
         fireTransferEvent(_evt);
-        _evt = null;
     }
     
     protected void fireTransferError() {
         _evt.setEventType(TransferEvent.TRANSFER_ERROR);
         fireTransferEvent(_evt);
-        _evt = null;
     }
     
     protected void fireTransferError(Exception ex) {
         _evt.setEventType(TransferEvent.TRANSFER_ERROR);
         _evt.setException(ex);
         fireTransferEvent(_evt);
-        _evt = null;
     }
     
     protected void fireTransferEvent(TransferEvent evt) {



Mime
View raw message