[prev in list] [next in list] [prev in thread] [next in thread] 

List:       httpclient-commons-dev
Subject:    [jira] Created: (HTTPCLIENT-738) HostnameVerifier shouldn't shadow
From:       "Sebb (JIRA)" <jira () apache ! org>
Date:       2008-01-31 21:33:10
Message-ID: 24538118.1201815190341.JavaMail.jira () brutus
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic