Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1597

Obsolete Util.newInternal and Throwables.propagate

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      Replace:

      • calls to Util.newInternal() with new AssertionError()
      • calls to Util.newInternal(message) with new AssertionError(message)
      • calls to Util.newInternal(message, ex) with either new AssertionError(message, ex) (if the problem is definitely a code bug) or new RuntimeException(message, ex) (if it is a user or system error)

      Also, remove calls to Throwables.propagate. It is deprecated as of Guava 20.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment