hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Created: (HTTPCLIENT-738) HostnameVerifier shouldn't shadow simple name of implemented interface
Date Thu, 31 Jan 2008 21:33:10 GMT
HostnameVerifier shouldn't shadow simple name of implemented interface
----------------------------------------------------------------------

                 Key: HTTPCLIENT-738
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-738
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
            Reporter: Sebb


public interface HostnameVerifier extends javax.net.ssl.HostnameVerifier.

As Findbugs says:

Class names shouldn't shadow simple name of implemented interface

This class/interface has a simple name that is identical to that of an implemented/extended
interface, except that the interface is in a different package (e.g., alpha.Foo extends beta.Foo).
This can be exceptionally confusing, create lots of situations in which you have to look at
import statements to resolve references and creates many opportunities to accidently define
methods that do not override methods in their superclasses. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message