Skip to content

Commit

Permalink
Dropped deprecated methods.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed May 17, 2024
1 parent 2750f39 commit 00a02a1
Showing 1 changed file with 6 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
package nl.vpro.api.client.utils;

import jakarta.inject.Inject;
import jakarta.inject.Named;
import jakarta.validation.constraints.NotNull;
import jakarta.ws.rs.ProcessingException;
import jakarta.ws.rs.core.Response;
import lombok.Getter;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
Expand All @@ -12,12 +17,6 @@
import java.util.concurrent.*;
import java.util.function.*;

import jakarta.inject.Inject;
import jakarta.inject.Named;
import jakarta.validation.constraints.NotNull;
import jakarta.ws.rs.ProcessingException;
import jakarta.ws.rs.core.Response;

import org.checkerframework.checker.nullness.qual.NonNull;
import org.checkerframework.checker.nullness.qual.Nullable;
import org.meeuw.functional.Consumers;
Expand Down Expand Up @@ -346,13 +345,8 @@ public CountedIterator<MediaChange> changes(String profile, Instant since, Strin
.build());
}

@Deprecated
public CountedIterator<MediaChange> changes(String profile, Boolean profileCheck, Instant since, String mid, Order order, Integer max, Deletes deletes) {
return changes(profile, profileCheck, since, mid, order, max, deletes, Tail.IF_EMPTY);
}

public CountedIterator<MediaChange> changes(String profile, Instant since, String mid, Order order, Integer max, Deletes deletes) {
return changes(profile, null, since, mid, order, max, deletes, Tail.IF_EMPTY);
return changes(profile, since, mid, order, max, deletes, Tail.IF_EMPTY);
}


Expand All @@ -368,19 +362,6 @@ public CountedIterator<MediaChange> changes(MediaSince since) {
return changes(changesParameters().mediaSince(since));
}

@Deprecated
public CountedIterator<MediaChange> changes(String profile, Boolean profileCheck, Instant since, String mid, Order order, Integer max, Deletes deletes, Tail tail) {
return changes(changesParameters()
.profile(profile)
.since(since)
.mid(mid)
.order(order)
.max(max)
.deletes(deletes)
.tail(tail)
);
}

public CountedIterator<MediaChange> changes(String profile, Instant since, String mid, Order order, Integer max, Deletes deletes, Tail tail) {
return changes(changesParameters()
.profile(profile)
Expand Down

0 comments on commit 00a02a1

Please sign in to comment.