aboutsummaryrefslogtreecommitdiff
path: root/hamcrest-core/src/main/java/org/hamcrest/core/Is.java
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2017-01-25 11:43:10 +0000
committerPaul Duffin <paulduffin@google.com>2017-02-06 13:38:31 +0000
commit7c757304fdf316cd276f83ac47251fc27fafd058 (patch)
tree20450ddaeccffed3d7254a742f253632088ea102 /hamcrest-core/src/main/java/org/hamcrest/core/Is.java
parent5d9cc8c989815b4180a6a0bd220dbfd35e126c84 (diff)
downloadhamcrest-7c757304fdf316cd276f83ac47251fc27fafd058.tar.gz
Temporarily add void is(Class) to cause compile time errors
The is(Class) method was removed upstream between Hamcrest 1.1 and 1.3 in favour of the instanceOf(Class) method. Unfortunately, existing usages of it could still compile against the is(Object) method instead. Although not every existing usage would compile successfully it is possible that some could and that would result in a change in the runtime behavior that could be difficult to detect and fix. This change aims to turn any significant usage of this method into a compile time error. Bug: 30946317 Test: make checkbuild Change-Id: Ib0fac6e944b94ba8f1b5434d64549cc12f20d938
Diffstat (limited to 'hamcrest-core/src/main/java/org/hamcrest/core/Is.java')
0 files changed, 0 insertions, 0 deletions