Julian Hyde created CALCITE-1597:
------------------------------------
Summary: Obsolete Util.newInternal and Throwables.propagate
Key: CALCITE-1597
URL: https://issues.apache.org/jira/browse/CALCITE-1597
Project: Calcite
Issue Type: Bug
Reporter: Julian Hyde
Assignee: Julian Hyde
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|https://github.com/google/guava/wiki/Why-we-deprecated-Throwables.propagate].
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)