Skip to content

Commit

Permalink
Merge pull request #863: [proxima-direct-core] O2-Czech-Republic#220
Browse files Browse the repository at this point in the history
…remove Serializable from LogObserver
  • Loading branch information
je-ik authored Jan 4, 2024
2 parents d8ada16 + 2a70230 commit 0ab2010
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
/** Base interface for bulk and online observers. */
@Stable
public interface LogObserver<
OffsetT extends Serializable, ContextT extends LogObserver.OnNextContext<OffsetT>>
extends Serializable {
OffsetT extends Serializable, ContextT extends LogObserver.OnNextContext<OffsetT>> {

/** Context passed to {@link #onNext}. */
@Stable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@
/**
* Log observer that writes consumed elements to {@link SourceFunction.SourceContext}.
*
* @see <a href="https://github.com/O2-Czech-Republic/proxima-platform/issues/220">PROXIMA-220</a>
* to explain {@code java:S1948} suppression.
* @param <OutputT> Type of extracted element.
*/
@SuppressWarnings("java:S1948")
abstract class AbstractSourceLogObserver<
OffsetT extends Serializable, ContextT extends LogObserver.OnNextContext<OffsetT>, OutputT>
implements LogObserver<OffsetT, ContextT> {
Expand Down

0 comments on commit 0ab2010

Please sign in to comment.