gesterzhou commented on a change in pull request #7103:
URL: https://github.com/apache/geode/pull/7103#discussion_r762356168
##########
File path:
geode-core/src/main/java/org/apache/geode/internal/cache/tier/InterestType.java
##########
@@ -14,36 +14,36 @@
*/
package org.apache.geode.internal.cache.tier;
+import org.jetbrains.annotations.NotNull;
+
/**
- * Pre-defined interest list types supported by the system
- *
- * @version $Revision: 13166 $
- * @since GemFire 2.0.2
+ * Pre-defined interest list types supported by the system.
+ * Partial duplicate of {@link org.apache.geode.cache.operations.InterestType}.
*/
-public class InterestType {
+public enum InterestType {
Review comment:
Maybe use Key(0), REGULAR_EXPRESSION(1) ...; int value; InterestType(int
value) { this.value=value; } is a little bit better?
Just comments.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]