Author: edeoliveira
Date: Sun Mar 29 17:54:01 2009
New Revision: 759732
URL: http://svn.apache.org/viewvc?rev=759732&view=rev
Log:
Minor code modification
Modified:
mina/trunk/core/src/main/java/org/apache/mina/proxy/handlers/http/HttpAuthenticationMethods.java
Modified:
mina/trunk/core/src/main/java/org/apache/mina/proxy/handlers/http/HttpAuthenticationMethods.java
URL:
http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/proxy/handlers/http/HttpAuthenticationMethods.java?rev=759732&r1=759731&r2=759732&view=diff
==============================================================================
---
mina/trunk/core/src/main/java/org/apache/mina/proxy/handlers/http/HttpAuthenticationMethods.java
(original)
+++
mina/trunk/core/src/main/java/org/apache/mina/proxy/handlers/http/HttpAuthenticationMethods.java
Sun Mar 29 17:54:01 2009
@@ -48,7 +48,7 @@
* @return the id
*/
public int getId() {
- return id;
+ return id;
}
/**
@@ -64,9 +64,7 @@
return new HttpBasicAuthLogicHandler(proxyIoSession);
case DIGEST:
- HttpDigestAuthLogicHandler authHandler = new
HttpDigestAuthLogicHandler(
- proxyIoSession);
- return authHandler;
+ return new HttpDigestAuthLogicHandler(proxyIoSession);
case NTLM:
return new HttpNTLMAuthLogicHandler(proxyIoSession);