Skip to content

Commit

Permalink
[FLINK-3992][core] Do not implement deprecated Key interface
Browse files Browse the repository at this point in the history
  • Loading branch information
reswqa committed Sep 25, 2024
1 parent 7989f48 commit a6eed0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
public class DoubleValue
implements Comparable<DoubleValue>,
ResettableValue<DoubleValue>,
CopyableValue<DoubleValue>,
Key<DoubleValue> {
CopyableValue<DoubleValue> {
private static final long serialVersionUID = 1L;

private double value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@
*/
@Public
public class FloatValue
implements Comparable<FloatValue>,
ResettableValue<FloatValue>,
CopyableValue<FloatValue>,
Key<FloatValue> {
implements Comparable<FloatValue>, ResettableValue<FloatValue>, CopyableValue<FloatValue> {
private static final long serialVersionUID = 1L;

private float value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* normalized key length.
*/
@Public
public interface NormalizableKey<T> extends Comparable<T>, Key<T> {
public interface NormalizableKey<T> extends Comparable<T> {

/**
* Gets the maximal length of normalized keys that the data type would produce to determine the
Expand Down

0 comments on commit a6eed0d

Please sign in to comment.