logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r985191 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiver.java
Date Fri, 13 Aug 2010 13:32:27 GMT
Author: sdeboy
Date: Fri Aug 13 13:32:26 2010
New Revision: 985191

URL: http://svn.apache.org/viewvc?rev=985191&view=rev
Log:
Removing unneeded password member & parsing logic

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiver.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiver.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiver.java?rev=985191&r1=985190&r2=985191&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiver.java
(original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/vfs/VFSLogFilePatternReceiver.java
Fri Aug 13 13:32:26 2010
@@ -172,7 +172,6 @@ public class VFSLogFilePatternReceiver e
   private boolean promptForUserInfo = false;
   private Container container;
   private Object waitForContainerLock = new Object();
-  private String password;
   private boolean autoReconnect;
   private VFSReader vfsReader;
 
@@ -312,9 +311,6 @@ public class VFSLogFilePatternReceiver e
             String lastPart = oldURL.substring(index + "://".length());
             int passEndIndex = lastPart.indexOf("@");
             if (passEndIndex > -1) { //we have a username/password
-                int passBeginIndex = lastPart.indexOf(":");
-    //	        String userName = lastPart.substring(0, passBeginIndex);
-                password = lastPart.substring(passBeginIndex + 1, passEndIndex);
                 setHost(oldURL.substring(0, index + "://".length()));
                 setPath(lastPart.substring(passEndIndex + 1));
             }



Mime
View raw message