commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpState.java
Date Fri, 02 Aug 2002 02:15:44 GMT
dion        2002/08/01 19:15:44

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpState.java
  Log:
  Remove tabs
  
  Revision  Changes    Path
  1.10      +12 -12    jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpState.java
  
  Index: HttpState.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpState.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- HttpState.java	28 Jul 2002 18:08:57 -0000	1.9
  +++ HttpState.java	2 Aug 2002 02:15:44 -0000	1.10
  @@ -246,10 +246,10 @@
           log.trace("enter HttpState.getCredentials(String)");
   
           Credentials creds = (Credentials) credMap.get(realm);
  -	if (creds == null) {
  -	   creds = (Credentials) credMap.get(null);
  -	}
  -	return creds;
  +        if (creds == null) {
  +            creds = (Credentials) credMap.get(null);
  +        }
  +        return creds;
       }
   
   
  @@ -288,10 +288,10 @@
       public Credentials getProxyCredentials(String realm) {
           log.trace("enter HttpState.getProxyCredentials(String)");
           Credentials creds = (Credentials) proxyCred.get(realm);
  -	if (creds == null) {
  -	   creds = (Credentials) proxyCred.get(null);
  -	}
  -	return creds;
  +        if (creds == null) {
  +            creds = (Credentials) proxyCred.get(null);
  +        }
  +        return creds;
       }
   
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message