Skip to content

Commit

Permalink
vfs: make file handle immutable class
Browse files Browse the repository at this point in the history
no reasons not to.

Acked-by: Marina Sahakyan
Target: master
  • Loading branch information
kofemann committed Mar 7, 2024
1 parent 38249c0 commit 0ce8d2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/dcache/nfs/vfs/Inode.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009 - 2019 Deutsches Elektronen-Synchroton,
* Copyright (c) 2009 - 2024 Deutsches Elektronen-Synchroton,
* Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
*
* This library is free software; you can redistribute it and/or modify
Expand All @@ -23,7 +23,7 @@

public class Inode {

FileHandle fh;
private final FileHandle fh;

public Inode(byte[] bytes) {
this(new FileHandle(bytes));
Expand Down

0 comments on commit 0ce8d2a

Please sign in to comment.