You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2019/12/31 09:46:58 UTC
[httpcomponents-core] 02/02: HTTPCORE-619:
org.apache.hc.core5.reactor.EventMask should be a class, not an interface.
This is an automated email from the ASF dual-hosted git repository.
olegk pushed a commit to branch HTTPCORE-617
in repository https://gitbox.apache.org/repos/asf/httpcomponents-core.git
commit 4b30746eb4498ac4e2acd3e9c108c50d59db6410
Author: Gary Gregory <ga...@users.noreply.github.com>
AuthorDate: Mon Dec 30 20:29:29 2019 -0500
HTTPCORE-619: org.apache.hc.core5.reactor.EventMask should be a class,
not an interface.
---
RELEASE_NOTES.txt | 2 ++
httpcore5/src/main/java/org/apache/hc/core5/reactor/EventMask.java | 6 +++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/RELEASE_NOTES.txt b/RELEASE_NOTES.txt
index 4e052a9..7f1b85f 100644
--- a/RELEASE_NOTES.txt
+++ b/RELEASE_NOTES.txt
@@ -5,6 +5,8 @@ This BETA fixes a number of defects found since the last release.
* HTTPCORE-618: org.apache.hc.core5.http.HttpStatus should be a class, not an interface.
+* HTTPCORE-619: org.apache.hc.core5.reactor.EventMask should be a class, not an interface.
+
Release 5.0-BETA10
-------------------
diff --git a/httpcore5/src/main/java/org/apache/hc/core5/reactor/EventMask.java b/httpcore5/src/main/java/org/apache/hc/core5/reactor/EventMask.java
index ff24ed0..e6a9e3e 100644
--- a/httpcore5/src/main/java/org/apache/hc/core5/reactor/EventMask.java
+++ b/httpcore5/src/main/java/org/apache/hc/core5/reactor/EventMask.java
@@ -34,7 +34,11 @@ import java.nio.channels.SelectionKey;
*
* @since 4.0
*/
-public interface EventMask {
+public final class EventMask {
+
+ private EventMask() {
+ // no instances.
+ }
/**
* Interest in data input.