summaryrefslogtreecommitdiff
path: root/libjava/classpath/java/nio/channels/FileLock.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/java/nio/channels/FileLock.java')
-rw-r--r--libjava/classpath/java/nio/channels/FileLock.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/classpath/java/nio/channels/FileLock.java b/libjava/classpath/java/nio/channels/FileLock.java
index 151c23f9f6b..c46695837a7 100644
--- a/libjava/classpath/java/nio/channels/FileLock.java
+++ b/libjava/classpath/java/nio/channels/FileLock.java
@@ -45,10 +45,10 @@ import java.io.IOException;
*/
public abstract class FileLock
{
- FileChannel channel;
- long position;
- long size;
- boolean shared;
+ private final FileChannel channel;
+ private final long position;
+ private final long size;
+ private final boolean shared;
/**
* Initializes the file lock.