James Server
  1. James Server
  2. JAMES-1019

getDomainsInternal in JDBCVirtualUserTable needs reworked

    Details

      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)

      { domains.add(domain); }

        Activity

        Jeff Huff created issue -
        Norman Maurer made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Norman Maurer [ norman ]
        Fix Version/s 3.0-M1 [ 12314294 ]
        Resolution Fixed [ 1 ]
        Eric Charles made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12513783 ] Default workflow, editable Closed status [ 12566808 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566808 ] jira [ 12581885 ]

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Jeff Huff
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development