hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r617233 - in /httpcomponents/httpclient/trunk/module-client/src: main/java/org/apache/http/auth/ main/java/org/apache/http/client/ main/java/org/apache/http/client/methods/ main/java/org/apache/http/conn/ main/java/org/apache/http/conn/rout...
Date Thu, 31 Jan 2008 20:38:12 GMT
Author: sebb
Date: Thu Jan 31 12:38:04 2008
New Revision: 617233

URL: http://svn.apache.org/viewvc?rev=617233&view=rev
Log:
Add missing @Override markers

Modified:
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/AuthScope.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/AuthState.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpGet.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpHead.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpOptions.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPost.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPut.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpTrace.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/UrlEncodedFormEntity.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/BasicManagedEntity.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/EofSensorInputStream.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/PlainSocketFactory.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/Scheme.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/HttpRoute.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/RouteTracker.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieOrigin.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/BasicScheme.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCookieStore.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCredentialsProvider.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultResponseParser.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPooledConnAdapter.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie2.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicSecureHandler.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/DateUtils.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDomainHandler.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109VersionHandler.java
    httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/ExecReqThread.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/GetConnThread.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/TestDumbHelpers.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/ServerTestBase.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SecureSocketFactoryMockup.java
    httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SocketFactoryMockup.java

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/AuthScope.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/AuthScope.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/AuthScope.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/AuthScope.java Thu Jan 31 12:38:04 2008
@@ -228,7 +228,8 @@
     /**
      * @see java.lang.Object#equals(Object)
      */
-    public boolean equals(Object o) {
+    @Override
+	public boolean equals(Object o) {
         if (o == null) {
             return false;
         }
@@ -249,7 +250,8 @@
     /**
      * @see java.lang.Object#toString()
      */
-    public String toString() {
+    @Override
+	public String toString() {
         StringBuffer buffer = new StringBuffer();
         if (this.scheme != null) {
             buffer.append(this.scheme.toUpperCase());
@@ -276,7 +278,8 @@
     /**
      * @see java.lang.Object#hashCode()
      */
-    public int hashCode() {
+    @Override
+	public int hashCode() {
         int hash = LangUtils.HASH_SEED;
         hash = LangUtils.hashCode(hash, this.host);
         hash = LangUtils.hashCode(hash, this.port);

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/auth/UsernamePasswordCredentials.java Thu Jan 31 12:38:04 2008
@@ -130,7 +130,8 @@
      *
      * @return the username:password formed string
      */
-    public String toString() {
+    @Override
+	public String toString() {
         StringBuffer result = new StringBuffer();
         result.append(this.userName);
         result.append(":");
@@ -143,7 +144,8 @@
      *
      * @return The hash code including user name and password.
      */
-    public int hashCode() {
+    @Override
+	public int hashCode() {
         int hash = LangUtils.HASH_SEED;
         hash = LangUtils.hashCode(hash, this.userName);
         hash = LangUtils.hashCode(hash, this.password);
@@ -158,7 +160,8 @@
      *
      * @return  <code>true</code> if the object is equivalent.
      */
-    public boolean equals(Object o) {
+    @Override
+	public boolean equals(Object o) {
         if (o == null) return false;
         if (this == o) return true;
         // note - to allow for sub-classing, this checks that class is the same

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/AuthState.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/AuthState.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/AuthState.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/AuthState.java Thu Jan 31 12:38:04 2008
@@ -132,7 +132,8 @@
      }
 
      
-    public String toString() {
+    @Override
+	public String toString() {
         StringBuilder buffer = new StringBuilder();
         buffer.append("auth scope [");
         buffer.append(this.authScope);

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpGet.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpGet.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpGet.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpGet.java Thu Jan 31 12:38:04 2008
@@ -73,7 +73,8 @@
         setURI(new URI(uri));
     }
 
-    public String getMethod() {
+    @Override
+	public String getMethod() {
         return METHOD_NAME;
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpHead.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpHead.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpHead.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpHead.java Thu Jan 31 12:38:04 2008
@@ -73,7 +73,8 @@
         setURI(new URI(uri));
     }
 
-    public String getMethod() {
+    @Override
+	public String getMethod() {
         return METHOD_NAME;
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpOptions.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpOptions.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpOptions.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpOptions.java Thu Jan 31 12:38:04 2008
@@ -78,7 +78,8 @@
         setURI(new URI(uri));
     }
 
-    public String getMethod() {
+    @Override
+	public String getMethod() {
         return METHOD_NAME;
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPost.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPost.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPost.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPost.java Thu Jan 31 12:38:04 2008
@@ -77,7 +77,8 @@
         setURI(new URI(uri));
     }
 
-    public String getMethod() {
+    @Override
+	public String getMethod() {
         return METHOD_NAME;
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPut.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPut.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPut.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpPut.java Thu Jan 31 12:38:04 2008
@@ -69,7 +69,8 @@
         setURI(new URI(uri));
     }
 
-    public String getMethod() {
+    @Override
+	public String getMethod() {
         return METHOD_NAME;
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpTrace.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpTrace.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpTrace.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/HttpTrace.java Thu Jan 31 12:38:04 2008
@@ -72,7 +72,8 @@
         setURI(new URI(uri));
     }
 
-    public String getMethod() {
+    @Override
+	public String getMethod() {
         return METHOD_NAME;
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/UrlEncodedFormEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/UrlEncodedFormEntity.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/UrlEncodedFormEntity.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/client/methods/UrlEncodedFormEntity.java Thu Jan 31 12:38:04 2008
@@ -78,7 +78,8 @@
         return new ByteArrayInputStream(this.content);
     }
     
-    public Header getContentType() {
+    @Override
+	public Header getContentType() {
         return new BasicHeader(HTTP.CONTENT_TYPE, FORM_URL_ENCODED_CONTENT_TYPE);
     }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/BasicManagedEntity.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/BasicManagedEntity.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/BasicManagedEntity.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/BasicManagedEntity.java Thu Jan 31 12:38:04 2008
@@ -86,20 +86,23 @@
 
 
     // non-javadoc, see interface HttpEntity
-    public boolean isRepeatable() {
+    @Override
+	public boolean isRepeatable() {
         return false;
     }
 
 
     // non-javadoc, see interface HttpEntity
-    public InputStream getContent() throws IOException {
+    @Override
+	public InputStream getContent() throws IOException {
 
         return new EofSensorInputStream(wrappedEntity.getContent(), this);
     }
 
 
     // non-javadoc, see interface HttpEntity
-    public void consumeContent() throws IOException {
+    @Override
+	public void consumeContent() throws IOException {
 
         if (managedConn == null)
             return;

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/EofSensorInputStream.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/EofSensorInputStream.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/EofSensorInputStream.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/EofSensorInputStream.java Thu Jan 31 12:38:04 2008
@@ -131,7 +131,8 @@
 
 
     // non-javadoc, see base class InputStream
-    public int read() throws IOException {
+    @Override
+	public int read() throws IOException {
         int l = -1;
 
         if (isReadAllowed()) {
@@ -149,7 +150,8 @@
 
 
     // non-javadoc, see base class InputStream
-    public int read(byte[] b, int off, int len) throws IOException {
+    @Override
+	public int read(byte[] b, int off, int len) throws IOException {
         int l = -1;
 
         if (isReadAllowed()) {
@@ -167,7 +169,8 @@
 
 
     // non-javadoc, see base class InputStream
-    public int read(byte[] b) throws IOException {
+    @Override
+	public int read(byte[] b) throws IOException {
         int l = -1;
 
         if (isReadAllowed()) {
@@ -184,7 +187,8 @@
 
 
     // non-javadoc, see base class InputStream
-    public int available() throws IOException {
+    @Override
+	public int available() throws IOException {
         int a = 0; // not -1
 
         if (isReadAllowed()) {
@@ -202,7 +206,8 @@
 
 
     // non-javadoc, see base class InputStream
-    public void close() throws IOException {
+    @Override
+	public void close() throws IOException {
         // tolerate multiple calls to close()
         selfClosed = true;
         checkClose();

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/PlainSocketFactory.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/PlainSocketFactory.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/PlainSocketFactory.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/PlainSocketFactory.java Thu Jan 31 12:38:04 2008
@@ -157,7 +157,8 @@
      *
      * @return  iff the argument is this object
      */
-    public boolean equals(Object obj) {
+    @Override
+	public boolean equals(Object obj) {
         return (obj == this);
     }
 
@@ -166,7 +167,8 @@
      * All instances of this class have the same hash code.
      * There is only one instance of this class.
      */
-    public int hashCode() {
+    @Override
+	public int hashCode() {
         return PlainSocketFactory.class.hashCode();
     }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/Scheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/Scheme.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/Scheme.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/Scheme.java Thu Jan 31 12:38:04 2008
@@ -168,7 +168,8 @@
      *
      * @return  a human-readable string description of this scheme
      */
-    public final String toString() {
+    @Override
+	public final String toString() {
         if (stringRep == null) {
             StringBuilder buffer = new StringBuilder();
             buffer.append(this.name);
@@ -187,7 +188,8 @@
      *
      * @return  <code>true</code> iff the argument is equal to this scheme
      */
-    public final boolean equals(Object obj) {
+    @Override
+	public final boolean equals(Object obj) {
         if (obj == null) return false;
         if (this == obj) return true;
         if (!(obj instanceof Scheme)) return false;
@@ -206,7 +208,8 @@
      *
      * @return  the hash code
      */
-    public int hashCode() {
+    @Override
+	public int hashCode() {
         int hash = LangUtils.HASH_SEED;
         hash = LangUtils.hashCode(hash, this.defaultPort);
         hash = LangUtils.hashCode(hash, this.name);

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/HttpRoute.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/HttpRoute.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/HttpRoute.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/HttpRoute.java Thu Jan 31 12:38:04 2008
@@ -427,7 +427,8 @@
      * @return  <code>true</code> if the argument is the same route,
      *          <code>false</code>
      */
-    public final boolean equals(Object o) {
+    @Override
+	public final boolean equals(Object o) {
         if (o == this)
             return true;
         if (!(o instanceof HttpRoute))
@@ -465,7 +466,8 @@
      *
      * @return  the hash code
      */
-    public final int hashCode() {
+    @Override
+	public final int hashCode() {
 
         int hc = this.targetHost.hashCode();
 
@@ -492,7 +494,8 @@
      *
      * @return  a human-readable representation of this route
      */
-    public final String toString() {
+    @Override
+	public final String toString() {
         StringBuilder cab = new StringBuilder(50 + getHopCount()*30);
 
         cab.append("HttpRoute[");
@@ -522,7 +525,8 @@
 
 
     // default implementation of clone() is sufficient
-    public Object clone() throws CloneNotSupportedException {
+    @Override
+	public Object clone() throws CloneNotSupportedException {
         return super.clone();
     }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/RouteTracker.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/RouteTracker.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/RouteTracker.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/routing/RouteTracker.java Thu Jan 31 12:38:04 2008
@@ -393,7 +393,8 @@
      * @return  <code>true</code> if the argument is the same tracked route,
      *          <code>false</code>
      */
-    public final boolean equals(Object o) {
+    @Override
+	public final boolean equals(Object o) {
         if (o == this)
             return true;
         if (!(o instanceof RouteTracker))
@@ -435,7 +436,8 @@
      *
      * @return  the hash code
      */
-    public final int hashCode() {
+    @Override
+	public final int hashCode() {
 
         int hc = this.targetHost.hashCode();
 
@@ -464,7 +466,8 @@
      *
      * @return  a human-readable representation of the tracked route
      */
-    public final String toString() {
+    @Override
+	public final String toString() {
         StringBuilder cab = new StringBuilder(50 + getHopCount()*30);
 
         cab.append("RouteTracker[");
@@ -496,7 +499,8 @@
 
 
     // default implementation of clone() is sufficient
-    public Object clone() throws CloneNotSupportedException {
+    @Override
+	public Object clone() throws CloneNotSupportedException {
         return super.clone();
     }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/AllowAllHostnameVerifier.java Thu Jan 31 12:38:04 2008
@@ -46,7 +46,8 @@
         // Allow everything - so never blowup.
     }
 
-    public final String toString() { 
+    @Override
+	public final String toString() { 
         return "ALLOW_ALL"; 
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/BrowserCompatHostnameVerifier.java Thu Jan 31 12:38:04 2008
@@ -54,7 +54,8 @@
         verify(host, cns, subjectAlts, false);
     }
 
-    public final String toString() { 
+    @Override
+	public final String toString() { 
         return "BROWSER_COMPATIBLE"; 
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/conn/ssl/StrictHostnameVerifier.java Thu Jan 31 12:38:04 2008
@@ -61,7 +61,8 @@
         verify(host, cns, subjectAlts, true);
     }
 
-    public final String toString() { 
+    @Override
+	public final String toString() { 
         return "STRICT"; 
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieOrigin.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieOrigin.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieOrigin.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/cookie/CookieOrigin.java Thu Jan 31 12:38:04 2008
@@ -88,7 +88,8 @@
 		return this.secure;
 	}
 
-    public String toString() {
+    @Override
+	public String toString() {
         StringBuilder buffer = new StringBuilder();
         buffer.append("[");
         if (this.secure) {

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/BasicScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/BasicScheme.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/BasicScheme.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/BasicScheme.java Thu Jan 31 12:38:04 2008
@@ -89,7 +89,8 @@
      * @throws MalformedChallengeException is thrown if the authentication challenge
      * is malformed
      */
-    public void processChallenge(
+    @Override
+	public void processChallenge(
             final Header header) throws MalformedChallengeException {
         super.processChallenge(header);
         this.complete = true;

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/auth/DigestScheme.java Thu Jan 31 12:38:04 2008
@@ -120,7 +120,8 @@
      * @throws MalformedChallengeException is thrown if the authentication challenge
      * is malformed
      */
-    public void processChallenge(
+    @Override
+	public void processChallenge(
             final Header header) throws MalformedChallengeException {
         super.processChallenge(header);
         

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCookieStore.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCookieStore.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCookieStore.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCookieStore.java Thu Jan 31 12:38:04 2008
@@ -147,7 +147,8 @@
         return removed;
     }
 
-    public String toString() {
+    @Override
+	public String toString() {
         return cookies.toString();
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCredentialsProvider.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCredentialsProvider.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCredentialsProvider.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/BasicCredentialsProvider.java Thu Jan 31 12:38:04 2008
@@ -128,7 +128,8 @@
         return matchCredentials(this.credMap, authscope);
     }
 
-    public String toString() {
+    @Override
+	public String toString() {
         return credMap.toString();
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/client/DefaultHttpClient.java Thu Jan 31 12:38:04 2008
@@ -121,7 +121,8 @@
     }
 
     
-    protected HttpParams createHttpParams() {
+    @Override
+	protected HttpParams createHttpParams() {
         HttpParams params = new BasicHttpParams();
         HttpProtocolParams.setVersion(params, 
                 HttpVersion.HTTP_1_1);
@@ -142,7 +143,8 @@
     }
 
     
-    protected ClientConnectionManager createClientConnectionManager() {
+    @Override
+	protected ClientConnectionManager createClientConnectionManager() {
         SchemeRegistry registry = new SchemeRegistry();
         registry.register(
                 new Scheme("http", PlainSocketFactory.getSocketFactory(), 80));
@@ -175,17 +177,20 @@
     }
 
 
-    protected HttpContext createHttpContext() {
+    @Override
+	protected HttpContext createHttpContext() {
         return new SyncBasicHttpContext(null);
     }
 
     
-    protected ConnectionReuseStrategy createConnectionReuseStrategy() {
+    @Override
+	protected ConnectionReuseStrategy createConnectionReuseStrategy() {
         return new DefaultConnectionReuseStrategy();
     }
     
 
-    protected AuthSchemeRegistry createAuthSchemeRegistry() {
+    @Override
+	protected AuthSchemeRegistry createAuthSchemeRegistry() {
         AuthSchemeRegistry registry = new AuthSchemeRegistry(); 
         registry.register(
                 AuthPolicy.BASIC, 
@@ -197,7 +202,8 @@
     }
 
 
-    protected CookieSpecRegistry createCookieSpecRegistry() {
+    @Override
+	protected CookieSpecRegistry createCookieSpecRegistry() {
         CookieSpecRegistry registry = new CookieSpecRegistry();
         registry.register(
                 CookiePolicy.BEST_MATCH, 
@@ -218,7 +224,8 @@
     }
 
 
-    protected BasicHttpProcessor createHttpProcessor() {
+    @Override
+	protected BasicHttpProcessor createHttpProcessor() {
         BasicHttpProcessor httpproc = new BasicHttpProcessor();
         httpproc.addInterceptor(new RequestDefaultHeaders());
         // Required protocol interceptors
@@ -238,37 +245,44 @@
     }
 
 
-    protected HttpRequestRetryHandler createHttpRequestRetryHandler() {
+    @Override
+	protected HttpRequestRetryHandler createHttpRequestRetryHandler() {
         return new DefaultHttpRequestRetryHandler();
     }
 
 
-    protected RedirectHandler createRedirectHandler() {
+    @Override
+	protected RedirectHandler createRedirectHandler() {
         return new DefaultRedirectHandler();
     }
 
 
-    protected AuthenticationHandler createTargetAuthenticationHandler() {
+    @Override
+	protected AuthenticationHandler createTargetAuthenticationHandler() {
         return new DefaultTargetAuthenticationHandler();
     }
 
 
-    protected AuthenticationHandler createProxyAuthenticationHandler() {
+    @Override
+	protected AuthenticationHandler createProxyAuthenticationHandler() {
         return new DefaultProxyAuthenticationHandler();
     }
 
 
-    protected CookieStore createCookieStore() {
+    @Override
+	protected CookieStore createCookieStore() {
         return new BasicCookieStore();
     }
 
 
-    protected CredentialsProvider createCredentialsProvider() {
+    @Override
+	protected CredentialsProvider createCredentialsProvider() {
         return new BasicCredentialsProvider();
     }
 
 
-    protected void populateContext(final HttpContext context) {
+    @Override
+	protected void populateContext(final HttpContext context) {
         context.setAttribute(
                 ClientContext.AUTHSCHEME_REGISTRY, 
                 getAuthSchemes());
@@ -285,7 +299,8 @@
 
 
     // non-javadoc, see base class AbstractHttpClient
-    protected HttpRoutePlanner createHttpRoutePlanner() {
+    @Override
+	protected HttpRoutePlanner createHttpRoutePlanner() {
         return new DefaultHttpRoutePlanner(getConnectionManager());
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultClientConnection.java Thu Jan 31 12:38:04 2008
@@ -97,7 +97,8 @@
 
 
     // non-javadoc, see interface OperatedClientConnection
-    public final Socket getSocket() {
+    @Override
+	public final Socket getSocket() {
         return super.getSocket(); // base class attribute
     }
 
@@ -119,7 +120,8 @@
      *
      * @throws IOException      in case of a problem
      */
-    public void shutdown() throws IOException {
+    @Override
+	public void shutdown() throws IOException {
         LOG.debug("Connection shut down");
         
         Socket sock = announcedSocket; // copy volatile attribute
@@ -131,13 +133,15 @@
     } // shutdown
 
     
-    public void close() throws IOException {
+    @Override
+	public void close() throws IOException {
         LOG.debug("Connection closed");
         super.close();
     }
 
 
-    protected SessionInputBuffer createSessionInputBuffer(
+    @Override
+	protected SessionInputBuffer createSessionInputBuffer(
             final Socket socket,
             int buffersize,
             final HttpParams params) throws IOException {
@@ -152,7 +156,8 @@
     }
 
     
-    protected SessionOutputBuffer createSessionOutputBuffer(
+    @Override
+	protected SessionOutputBuffer createSessionOutputBuffer(
             final Socket socket,
             int buffersize,
             final HttpParams params) throws IOException {
@@ -167,7 +172,8 @@
     }
 
     
-    protected HttpMessageParser createResponseParser(
+    @Override
+	protected HttpMessageParser createResponseParser(
             final SessionInputBuffer buffer,
             final HttpResponseFactory responseFactory, 
             final HttpParams params) {
@@ -229,7 +235,8 @@
     } // update
 
 
-    public HttpResponse receiveResponseHeader() throws HttpException, IOException {
+    @Override
+	public HttpResponse receiveResponseHeader() throws HttpException, IOException {
         HttpResponse response = super.receiveResponseHeader();
         if (HEADERS_LOG.isDebugEnabled()) {
             HEADERS_LOG.debug("<< " + response.getStatusLine().toString());
@@ -242,7 +249,8 @@
     }
 
 
-    public void sendRequestHeader(HttpRequest request) throws HttpException, IOException {
+    @Override
+	public void sendRequestHeader(HttpRequest request) throws HttpException, IOException {
         super.sendRequestHeader(request);
         if (HEADERS_LOG.isDebugEnabled()) {
             HEADERS_LOG.debug(">> " + request.getRequestLine().toString());

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultResponseParser.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultResponseParser.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultResponseParser.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/DefaultResponseParser.java Thu Jan 31 12:38:04 2008
@@ -70,7 +70,8 @@
     }
 
 
-    protected HttpMessage parseHead(
+    @Override
+	protected HttpMessage parseHead(
             final SessionInputBuffer sessionBuffer) throws IOException, HttpException {
         // clear the buffer
         this.lineBuf.clear();

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/SingleClientConnManager.java Thu Jan 31 12:38:04 2008
@@ -374,7 +374,8 @@
 
 
         // non-javadoc, see base AbstractPoolEntry
-        protected ClientConnectionOperator getOperator() {
+        @Override
+		protected ClientConnectionOperator getOperator() {
             return SingleClientConnManager.this.connOperator;
         }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPoolEntry.java Thu Jan 31 12:38:04 2008
@@ -82,7 +82,8 @@
 
 
     // non-javadoc, see base AbstractPoolEntry
-    protected ClientConnectionOperator getOperator() {
+    @Override
+	protected ClientConnectionOperator getOperator() {
         return this.connOperator;
     }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPooledConnAdapter.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPooledConnAdapter.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPooledConnAdapter.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/BasicPooledConnAdapter.java Thu Jan 31 12:38:04 2008
@@ -78,7 +78,8 @@
 
 
     // non-javadoc, see base class
-    protected void detach() {
+    @Override
+	protected void detach() {
         // override needed only to make method visible in this package
         super.detach();
     }

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/ConnPoolByRoute.java Thu Jan 31 12:38:04 2008
@@ -208,7 +208,8 @@
 
 
     // non-javadoc, see base class AbstractConnPool
-    public BasicPoolEntry getEntry(HttpRoute route,
+    @Override
+	public BasicPoolEntry getEntry(HttpRoute route,
                                    long timeout, TimeUnit tunit,
                                    ClientConnectionOperator operator)
         throws ConnectionPoolTimeoutException, InterruptedException {
@@ -310,7 +311,8 @@
 
 
     // non-javadoc, see base class AbstractConnPool
-    public void freeEntry(BasicPoolEntry entry) {
+    @Override
+	public void freeEntry(BasicPoolEntry entry) {
 
         HttpRoute route = entry.getPlannedRoute();
         if (LOG.isDebugEnabled()) {
@@ -494,7 +496,8 @@
 
 
     // non-javadoc, see base class AbstractConnPool
-    protected void handleLostEntry(HttpRoute route) {
+    @Override
+	protected void handleLostEntry(HttpRoute route) {
 
         try {
             poolLock.lock();
@@ -566,7 +569,8 @@
     //@@@ revise this cleanup stuff
     //@@@ move method to base class when deleteEntry() is fixed
     // non-javadoc, see base class AbstractConnPool
-    public void deleteClosedConnections() {
+    @Override
+	public void deleteClosedConnections() {
 
         try {
             poolLock.lock();
@@ -587,7 +591,8 @@
 
 
     // non-javadoc, see base class AbstractConnPool
-    public void shutdown() {
+    @Override
+	public void shutdown() {
 
         try {
             poolLock.lock();

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/tsccm/RefQueueWorker.java Thu Jan 31 12:38:04 2008
@@ -131,7 +131,8 @@
      *
      * @return  a descriptive string for this worker
      */
-    public String toString() {
+    @Override
+	public String toString() {
         return "RefQueueWorker::" + this.workerThread;
     }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie.java Thu Jan 31 12:38:04 2008
@@ -311,7 +311,8 @@
         return this.attribs.get(name) != null;
     }
 
-    public String toString() {
+    @Override
+	public String toString() {
         StringBuilder buffer = new StringBuilder();
         buffer.append("[version: ");
         buffer.append(Integer.toString(this.cookieVersion));

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie2.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie2.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie2.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicClientCookie2.java Thu Jan 31 12:38:04 2008
@@ -58,7 +58,8 @@
         super(name, value);
     }
 
-    public int[] getPorts() {
+    @Override
+	public int[] getPorts() {
         return this.ports;
     }
 
@@ -66,7 +67,8 @@
         this.ports = ports;
     }
     
-    public String getCommentURL() {
+    @Override
+	public String getCommentURL() {
         return this.commentURL;
     }
 
@@ -78,11 +80,13 @@
         this.discard = discard;
     }
 
-    public boolean isPersistent() {
+    @Override
+	public boolean isPersistent() {
         return !this.discard && super.isPersistent();
     }
 
-    public boolean isExpired(final Date date) {
+    @Override
+	public boolean isExpired(final Date date) {
         return this.discard || super.isExpired(date);
     }
     

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicSecureHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicSecureHandler.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicSecureHandler.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/BasicSecureHandler.java Thu Jan 31 12:38:04 2008
@@ -49,7 +49,8 @@
         cookie.setSecure(true);
     }
     
-    public boolean match(final Cookie cookie, final CookieOrigin origin) {
+    @Override
+	public boolean match(final Cookie cookie, final CookieOrigin origin) {
         if (cookie == null) {
             throw new IllegalArgumentException("Cookie may not be null");
         }

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/DateUtils.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/DateUtils.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/DateUtils.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/DateUtils.java Thu Jan 31 12:38:04 2008
@@ -216,7 +216,8 @@
         private static final ThreadLocal<SoftReference<Map<String, SimpleDateFormat>>> 
             THREADLOCAL_FORMATS = new ThreadLocal<SoftReference<Map<String, SimpleDateFormat>>>() {
 
-            protected SoftReference<Map<String, SimpleDateFormat>> initialValue() {
+            @Override
+			protected SoftReference<Map<String, SimpleDateFormat>> initialValue() {
                 return new SoftReference<Map<String, SimpleDateFormat>>(
                         new HashMap<String, SimpleDateFormat>());
             }

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDomainHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDomainHandler.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDomainHandler.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/NetscapeDomainHandler.java Thu Jan 31 12:38:04 2008
@@ -42,7 +42,8 @@
         super();
     }
 
-    public void validate(final Cookie cookie, final CookieOrigin origin) 
+    @Override
+	public void validate(final Cookie cookie, final CookieOrigin origin) 
             throws MalformedCookieException {
         super.validate(cookie, origin);
         // Perform Netscape Cookie draft specific validation
@@ -88,7 +89,8 @@
        return false;
    }
 
-   public boolean match(Cookie cookie, CookieOrigin origin) {
+   @Override
+public boolean match(Cookie cookie, CookieOrigin origin) {
        if (cookie == null) {
            throw new IllegalArgumentException("Cookie may not be null");
        }

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109Spec.java Thu Jan 31 12:38:04 2008
@@ -112,6 +112,7 @@
         return parse(elems, origin);
     }
 
+    @Override
     public void validate(final Cookie cookie, final CookieOrigin origin) 
             throws MalformedCookieException {
         if (cookie == null) {

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109VersionHandler.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109VersionHandler.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109VersionHandler.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2109VersionHandler.java Thu Jan 31 12:38:04 2008
@@ -60,7 +60,8 @@
         }
     }
 
-    public void validate(final Cookie cookie, final CookieOrigin origin) 
+    @Override
+	public void validate(final Cookie cookie, final CookieOrigin origin) 
             throws MalformedCookieException {
         if (cookie == null) {
             throw new IllegalArgumentException("Cookie may not be null");

Modified: httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/cookie/RFC2965Spec.java Thu Jan 31 12:38:04 2008
@@ -91,7 +91,8 @@
         return cookie;
     }
     
-    public List<Cookie> parse(
+    @Override
+	public List<Cookie> parse(
             final Header header, 
             CookieOrigin origin) throws MalformedCookieException {
         if (header == null) {
@@ -149,7 +150,8 @@
         return cookies;
     }
 
-    public void validate(final Cookie cookie, CookieOrigin origin)
+    @Override
+	public void validate(final Cookie cookie, CookieOrigin origin)
             throws MalformedCookieException {
         if (cookie == null) {
             throw new IllegalArgumentException("Cookie may not be null");
@@ -161,7 +163,8 @@
         super.validate(cookie, origin);
     }
 
-    public boolean match(final Cookie cookie, CookieOrigin origin) {
+    @Override
+	public boolean match(final Cookie cookie, CookieOrigin origin) {
         if (cookie == null) {
             throw new IllegalArgumentException("Cookie may not be null");
         }
@@ -175,7 +178,8 @@
     /**
      * Adds valid Port attribute value, e.g. "8000,8001,8002"
      */
-    protected void formatCookieAsVer(final CharArrayBuffer buffer, 
+    @Override
+	protected void formatCookieAsVer(final CharArrayBuffer buffer, 
             final Cookie cookie, int version) {
         super.formatCookieAsVer(buffer, cookie, version);
         // format port attribute
@@ -237,11 +241,13 @@
         }
     }
 
-    public int getVersion() {
+    @Override
+	public int getVersion() {
         return 1;
     }
 
-    public Header getVersionHeader() {
+    @Override
+	public Header getVersionHeader() {
         CharArrayBuffer buffer = new CharArrayBuffer(40);
         buffer.append(SM.COOKIE2);
         buffer.append(": ");

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/ExecReqThread.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/ExecReqThread.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/ExecReqThread.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/ExecReqThread.java Thu Jan 31 12:38:04 2008
@@ -89,7 +89,8 @@
      * This method is invoked when the thread is started.
      * It invokes the base class implementation.
      */
-    public void run() {
+    @Override
+	public void run() {
         super.run();    // obtain connection
         if (connection == null)
             return;     // problem obtaining connection

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/GetConnThread.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/GetConnThread.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/GetConnThread.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/GetConnThread.java Thu Jan 31 12:38:04 2008
@@ -68,7 +68,8 @@
     /**
      * This method is executed when the thread is started.
      */
-    public void run() {
+    @Override
+	public void run() {
         try {
             connection = conn_manager.getConnection
                 (conn_route, conn_timeout, TimeUnit.MILLISECONDS);

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java Thu Jan 31 12:38:04 2008
@@ -63,7 +63,8 @@
     /**
      * This method is executed when the thread is started.
      */
-    public void run() {
+    @Override
+	public void run() {
         try {
             wait_lock.lock();
             waiting = true;

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/TestDumbHelpers.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/TestDumbHelpers.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/TestDumbHelpers.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/impl/conn/tsccm/TestDumbHelpers.java Thu Jan 31 12:38:04 2008
@@ -81,7 +81,8 @@
     }
 
 
-    protected void setUp() {
+    @Override
+	protected void setUp() {
         supportedSchemes = new SchemeRegistry();
         SocketFactory sf = PlainSocketFactory.getSocketFactory();
         supportedSchemes.register(new Scheme("http", sf, 80));

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/LocalTestServer.java Thu Jan 31 12:38:04 2008
@@ -252,7 +252,8 @@
     }
 
 
-    public String toString() {
+    @Override
+	public String toString() {
         ServerSocket ssock = servicedSocket; // avoid synchronization
         StringBuffer sb = new StringBuffer(80);
         sb.append("LocalTestServer/");

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/ServerTestBase.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/ServerTestBase.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/ServerTestBase.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/localserver/ServerTestBase.java Thu Jan 31 12:38:04 2008
@@ -109,7 +109,8 @@
      *
      * @throws Exception        in case of a problem
      */
-    protected void setUp() throws Exception {
+    @Override
+	protected void setUp() throws Exception {
 
         if (defaultParams == null) {
             defaultParams = new BasicHttpParams();
@@ -159,7 +160,8 @@
      *
      * @see #setUp setUp()
      */
-    protected void tearDown() throws Exception {
+    @Override
+	protected void tearDown() throws Exception {
         localServer.stop();
     }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SecureSocketFactoryMockup.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SecureSocketFactoryMockup.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SecureSocketFactoryMockup.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SecureSocketFactoryMockup.java Thu Jan 31 12:38:04 2008
@@ -51,7 +51,8 @@
 
     // don't implement equals and hashcode, all instances are different!
 
-    public String toString() {
+    @Override
+	public String toString() {
         return "SecureSocketFactoryMockup." + mockup_name;
     }
 

Modified: httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SocketFactoryMockup.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SocketFactoryMockup.java?rev=617233&r1=617232&r2=617233&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SocketFactoryMockup.java (original)
+++ httpcomponents/httpclient/trunk/module-client/src/test/java/org/apache/http/mockup/SocketFactoryMockup.java Thu Jan 31 12:38:04 2008
@@ -57,7 +57,8 @@
 
     // don't implement equals and hashcode, all instances are different!
 
-    public String toString() {
+    @Override
+	public String toString() {
         return "SocketFactoryMockup." + mockup_name;
     }
 



Mime
View raw message