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

useless ResultList constructors due to ignored argument

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2, 2.0
    • Component/s: core-sql
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              andyh Andy Heninger

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment