1 Reply Latest reply on Dec 4, 2008 5:10 PM by Dan Allen

    Possible bug in ManagedEntityWrapper

    Francisco Jose Peredo Noguez Master

      In ManagedEntityWrapper.java in the method switchToConversationContextOfComponent, the conditional if (residentCid != currentCid) is comparing strings using !=, but it should be comparing them using equals: if (!residentCid.equals(currentCid))... Unless both strings are either constants in a source file, or have been interned using the String.intern() method, the same string value may be represented by two different String objects... is that the case? Should I submit a JIRA and a patch?