Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 832eb49

Browse files
committedMay 31, 2025·
Kfs access:
* Eliminate java warnings.
1 parent 492cd25 commit 832eb49

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed
 

‎src/java/qfs-access-pre-9/src/main/java/com/quantcast/qfs/access/KfsOutputChannel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
package com.quantcast.qfs.access;
2828

29-
public class KfsOutputChannel extends KfsOutputChannelBase {
29+
final public class KfsOutputChannel extends KfsOutputChannelBase {
3030

3131
KfsOutputChannel(KfsAccessBase kfsAccess, int fd, boolean append) {
3232
super(kfsAccess, fd, append);

‎src/java/qfs-access/src/main/java/com/quantcast/qfs/access/KfsInputChannel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ private Cleaner.Cleanable registerCleanup() {
4242
return KfsAccess.registerCleanup(this, state);
4343
}
4444

45-
final public synchronized void close() throws IOException {
45+
@Override
46+
public void close() throws IOException {
4647
try {
4748
super.close();
4849
} finally {

‎src/java/qfs-access/src/main/java/com/quantcast/qfs/access/KfsOutputChannel.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ private Cleaner.Cleanable registerCleanup() {
4242
return KfsAccess.registerCleanup(this, state);
4343
}
4444

45-
public synchronized void close() throws IOException {
45+
@Override
46+
public void close() throws IOException {
4647
try {
4748
super.close();
4849
} finally {

0 commit comments

Comments
 (0)
Please sign in to comment.