getDomainsInternal in JDBCVirtualUserTable needs reworked
---------------------------------------------------------

                 Key: JAMES-1019
                 URL: https://issues.apache.org/jira/browse/JAMES-1019
             Project: JAMES Server
          Issue Type: Bug
          Components: UsersStore & UsersRepository
    Affects Versions: Trunk
            Reporter: Jeff Huff


FindBugs reports the following error in JDBCVirtualUserTable.java


C:/svnpublic/james-server/user-function/src/main/java/org/apache/james/vut/JDBCVirtualUserTable.java:504
 Call to equals() comparing different types

Should probably be more like this...


                    String domain = mappingRS.getString(1).toLowerCase();
                    if(domain.equals(WILDCARD) == false && 
domains.contains(domain) == false) {
                        domains.add(domain);
                    }


-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to