File tree Expand file tree Collapse file tree 2 files changed +5
-16
lines changed
core/src/main/java/org/dcache/nfs/vfs Expand file tree Collapse file tree 2 files changed +5
-16
lines changed Original file line number Diff line number Diff line change @@ -77,15 +77,15 @@ public int getGeneration() {
77
77
}
78
78
79
79
public int getExportIdx () {
80
- return super . getExportIdx ();
80
+ return exportIndex ();
81
81
}
82
82
83
83
public int getType () {
84
84
return super .getType ();
85
85
}
86
86
87
87
public byte [] getFsOpaque () {
88
- return super . getFsOpaque ();
88
+ return getFileId ();
89
89
}
90
90
91
91
public byte [] bytes () {
Original file line number Diff line number Diff line change @@ -146,21 +146,11 @@ protected int getGeneration() {
146
146
return generation ;
147
147
}
148
148
149
- @ Deprecated (forRemoval = true )
150
- protected int getExportIdx () {
151
- return exportIdx ;
152
- }
153
-
154
149
@ Deprecated (forRemoval = true )
155
150
protected int getType () {
156
151
return type ;
157
152
}
158
153
159
- @ Deprecated (forRemoval = true )
160
- protected byte [] getFsOpaque () {
161
- return fs_opaque ;
162
- }
163
-
164
154
@ Override
165
155
public String toString () {
166
156
return BaseEncoding .base16 ().lowerCase ().encode (nfsHandle );
@@ -186,7 +176,7 @@ public static Inode forFile(byte[] bytes) {
186
176
}
187
177
188
178
public byte [] getFileId () {
189
- return getFsOpaque () ;
179
+ return fs_opaque ;
190
180
}
191
181
192
182
public byte [] toNfsHandle () {
@@ -226,14 +216,13 @@ public boolean equals(Object obj) {
226
216
}
227
217
228
218
public boolean isPseudoInode () {
229
- return getType () == 1 ;
219
+ return type == 1 ;
230
220
}
231
221
232
222
public int exportIndex () {
233
- return getExportIdx () ;
223
+ return exportIdx ;
234
224
}
235
225
236
- @ Deprecated
237
226
public int handleVersion () {
238
227
return version ;
239
228
}
You can’t perform that action at this time.
0 commit comments