Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.