Skip to content

Commit 0798afd

Browse files
committed
Reduce visibility of classes/interfaces where possible
1 parent 9aed20f commit 0798afd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/engineering/swat/watch/impl/mac/NativeEventHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@
5050
* </p>
5151
*/
5252
@FunctionalInterface
53-
public interface NativeEventHandler {
53+
interface NativeEventHandler {
5454
<T> void handle(Kind<T> kind, @Nullable T context);
5555
}

src/main/java/engineering/swat/watch/impl/mac/NativeEventStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
* these methods are expected to be rarely invoked.
7676
* </p>
7777
*/
78-
public class NativeEventStream implements Closeable {
78+
class NativeEventStream implements Closeable {
7979

8080
// Native APIs
8181
private static final CoreFoundation CF = CoreFoundation.INSTANCE;

0 commit comments

Comments
 (0)