Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-905

Compare between arrays

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.2
    • None

    Description

      when comparing 2 arrays, EqualsBuilder returns true even if they contain different elements.

      example:
      Object[] o1 = new Object[1];
      o1[0]="Hello";

      Object[] o2 = new Object[1];
      o2[0]="Bye";

      System.out.println(EqualsBuilder.reflectionEquals(o1, o2, true));

      Attachments

        1. LANG-905.patch
          3 kB
          Thomas Neidhart

        Activity

          People

            Unassigned Unassigned
            lophophora E
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: