Skip to content

Commit

Permalink
[hotfix][test] Adjust suppressWarnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tisonkun authored and zentol committed Jan 9, 2019
1 parent 5b5ec59 commit 4782236
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ public void setUp() throws Exception {
* to query the counts of each key in rounds until all keys have non-zero counts.
*/
@Test
@SuppressWarnings("unchecked")
public void testQueryableState() throws Exception {
final Deadline deadline = Deadline.now().plus(TEST_TIMEOUT);
final int numKeys = 256;
Expand Down Expand Up @@ -597,6 +596,7 @@ public Integer getKey(Tuple2<Integer, Long> value) {
}
}).asQueryableState("matata");

@SuppressWarnings("unchecked")
final ValueStateDescriptor<Tuple2<Integer, Long>> stateDesc =
(ValueStateDescriptor<Tuple2<Integer, Long>>) queryableState.getStateDescriptor();

Expand Down

0 comments on commit 4782236

Please sign in to comment.