Skip to content

Commit

Permalink
UT fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
arcshiftsolutions committed Jan 30, 2024
1 parent 9e92066 commit 89124a3
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import com.fasterxml.jackson.annotation.JsonValue;

import java.util.Optional;

/**
* The enum Filter operation.
*/
Expand Down Expand Up @@ -76,21 +74,6 @@ public enum FilterOperation {
this.value = value;
}

/**
* From value optional.
*
* @param value the value
* @return the optional
*/
public static Optional<FilterOperation> fromValue(String value) {
for (FilterOperation op : FilterOperation.values()) {
if (String.valueOf(op.value).equalsIgnoreCase(value)) {
return Optional.of(op);
}
}
return Optional.empty();
}

@Override
@JsonValue
public String toString() {
Expand Down

0 comments on commit 89124a3

Please sign in to comment.