File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
src/main/java/org/apache/hadoop/fs/glusterfs Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -527,8 +527,7 @@ public long getLength(Path path) throws IOException{
527
527
return f .length ();
528
528
}
529
529
530
- @ Deprecated
531
- public short getReplication (Path path ) throws IOException {
530
+ public short getDefaultReplication (Path path ) throws IOException {
532
531
Path absolute =makeAbsolute (path );
533
532
File f =new File (absolute .toUri ().getPath ());
534
533
@@ -538,10 +537,6 @@ public short getReplication(Path path) throws IOException{
538
537
return xattr .getReplication (f .getPath ());
539
538
}
540
539
541
- public short getDefaultReplication (Path path ) throws IOException {
542
- return getReplication (path );
543
- }
544
-
545
540
public boolean setReplication (Path path ,short replication ) throws IOException {
546
541
return true ;
547
542
}
You can’t perform that action at this time.
0 commit comments