1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
--- source/gnu/inet/nntp/NNTPConnection.java~ 2004-08-19 23:27:07.000000000 +0200
+++ source/gnu/inet/nntp/NNTPConnection.java 2004-10-12 16:07:36.341024960 +0200
@@ -149,6 +149,23 @@
* Creates a new connection object.
* @param hostname the hostname or IP address of the news server
* @param port the port to connect to
+ * @param username NOT USED ANYMORE
+ * @param password NOT USED ANYMORE
+ * @param debug whether to use debugging
+ * @deprecated username and password are not used anymore! See other constructors
+ */
+ public NNTPConnection (String hostname, int port,
+ String username, String password,
+ boolean debug)
+ throws IOException
+ {
+ this (hostname, port, 0, 0, debug);
+ }
+
+ /**
+ * Creates a new connection object.
+ * @param hostname the hostname or IP address of the news server
+ * @param port the port to connect to
* @param connectionTimeout the socket connection timeout
* @param timeout the read timeout on the socket
* @param debug whether to use debugging
|