Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-648

useless ResultList constructors due to ignored argument

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.5.1
    • 1.5.2, 2.0
    • core-sql
    • None

    Description

      two constructors have identical bodies to other constructors due to ignored argument:
      public ResultList(ResultSet resultSet, Field... fields)

      { this(resultSet, false, new ArrayList<Field>(fields)); }
      vs
      public ResultList(ResultSet resultSet, boolean includeNullValues, Field... fields) { this(resultSet, false , new ArrayList<Field>(fields)); }
      and
      public ResultList(ResultSet resultSet, Sequence<Field> fields) { this(resultSet, false, new ArrayList<Field>(fields)); }

      vs
      public ResultList(ResultSet resultSet, boolean includeNullValues, Sequence<Field> fields)

      { this(resultSet, false , new ArrayList<Field>(fields)); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            andyh Andy Heninger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: