azagrebin commented on a change in pull request #7921:
[FLINK-11825][StateBackends] Resolve name clash of StateTTL TimeCharacteristic
class
URL: https://github.com/apache/flink/pull/7921#discussion_r266201532
##########
File path:
flink-core/src/main/java/org/apache/flink/api/common/state/StateTtlConfig.java
##########
@@ -114,9 +126,8 @@ public Time getTtl() {
return ttl;
}
- @Nonnull
- public TimeCharacteristic getTimeCharacteristic() {
- return timeCharacteristic;
+ public TtlTimeCharacteristic getTtlTimeCharacteristic() {
Review comment:
let's also annotate it with `@Nonnull`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services