View Single Post
  #5 (permalink)  
Old March 7th, 2008
arne_bab's Avatar
arne_bab arne_bab is offline
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Verified. I broke Java 1.5 compatibility. I'll have to check, how to undo that.

As first step, I'll just remove the breaking code.

Here's a diff (since it seems I can't commit anymore).

Code:
Index: src/main/java/phex/utils/InternalFileHandler.java
===================================================================
--- src/main/java/phex/utils/InternalFileHandler.java   (Revision 4144)
+++ src/main/java/phex/utils/InternalFileHandler.java   (Arbeitskopie)
@@ -66,14 +66,14 @@

                 // dont add already downloading or shared urns.
                 // If we've got a relativeDownloadDir, download to there.
-                if ( relativeDownloadDir.isEmpty() )
-                {
+                //if ( relativeDownloadDir.isEmpty() )
+                //{
                     downloadUri( uri );
-                }
-                else
-                {
+                //}
+                //else
+                //{
                     downloadUri( uri, relativeDownloadDir );
-                }
+                //}

             }
 /*            String uuri = parser.getUpdateURI();
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote