Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Trunk
-
None
Description
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)