File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
client/src/test/java/com/microsoft/durabletask Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -165,9 +165,9 @@ void byPage_preservesQueryParameters() {
165165 return new EntityQueryResult (Collections .emptyList (), null );
166166 });
167167
168- for ( EntityQueryResult ignored : pageable .byPage ()) {
168+ pageable .byPage (). forEach ( result -> {
169169 // consume
170- }
170+ });
171171 }
172172
173173 @ Test
Original file line number Diff line number Diff line change @@ -161,10 +161,8 @@ public void add(int amount) {
161161 this .state += amount ;
162162 }
163163
164- public void add (String label ) {
164+ public void add (@ SuppressWarnings ( "unused" ) String label ) {
165165 // overloaded — should trigger ambiguous match error
166- // 'label' intentionally unused; method exists to create ambiguous overload
167-
168166 }
169167
170168 @ Override
You can’t perform that action at this time.
0 commit comments