You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@depot.apache.org by aj...@apache.org on 2004/05/14 21:41:08 UTC

svn commit: rev 10659 - in incubator/depot/trunk/update: lib src/java/org/apache/depot/update/protocols/impl src/java/org/apache/depot/update/util/net/http

Author: ajack
Date: Fri May 14 14:41:08 2004
New Revision: 10659

Added:
   incubator/depot/trunk/update/lib/.svnignore
Modified:
   incubator/depot/trunk/update/src/java/org/apache/depot/update/protocols/impl/BasicProtocolOperationsProvider.java
   incubator/depot/trunk/update/src/java/org/apache/depot/update/util/net/http/HttpClientUserAgent.java
Log:
Alow to work w/ ibilio httpclient


Added: incubator/depot/trunk/update/lib/.svnignore
==============================================================================
--- (empty file)
+++ incubator/depot/trunk/update/lib/.svnignore	Fri May 14 14:41:08 2004
@@ -0,0 +1 @@
+*.jar
\ No newline at end of file

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/protocols/impl/BasicProtocolOperationsProvider.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/protocols/impl/BasicProtocolOperationsProvider.java	(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/protocols/impl/BasicProtocolOperationsProvider.java	Fri May 14 14:41:08 2004
@@ -47,7 +47,8 @@
 		
 		URL url = container.getURL();
 
-		// :TODO: Get URL contents and list
+		// :TODO: Get URL contents and list		
+		if (true) throw new UnsupportedOperationException();
 
 		return exists;
 	}
@@ -58,6 +59,7 @@
 		URL url = container.getURL();
 
 		// :TODO: Get URL contents and list
+		if (true) throw new UnsupportedOperationException();
 
 		return results;
 	}
@@ -71,6 +73,7 @@
 		URL url2 = to.getURL();
 
 		// :TODO: Get URL contents and write to a file...
+		if (true) throw new UnsupportedOperationException();
 	}
 	
 	public void delete(
@@ -80,5 +83,6 @@
 		URL url = locator.getURL();
 
 		// :TODO: Delete...
+		if (true) throw new UnsupportedOperationException();
 	}
 }

Modified: incubator/depot/trunk/update/src/java/org/apache/depot/update/util/net/http/HttpClientUserAgent.java
==============================================================================
--- incubator/depot/trunk/update/src/java/org/apache/depot/update/util/net/http/HttpClientUserAgent.java	(original)
+++ incubator/depot/trunk/update/src/java/org/apache/depot/update/util/net/http/HttpClientUserAgent.java	Fri May 14 14:41:08 2004
@@ -46,7 +46,8 @@
 		//
 		// Enable a timeout
 		//
-		m_client.getParams().setConnectionManagerTimeout(30000);
+		// :TODO: Restore when a release has this 
+		// m_client.getParams().setConnectionManagerTimeout(30000);
 	}
 
 	/**