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 @@ -509,8 +509,7 @@ public long getLength(Path path) throws IOException{
509
509
return f .length ();
510
510
}
511
511
512
- @ Deprecated
513
- public short getReplication (Path path ) throws IOException {
512
+ public short getDefaultReplication (Path path ) throws IOException {
514
513
Path absolute =makeAbsolute (path );
515
514
File f =new File (absolute .toUri ().getPath ());
516
515
@@ -520,10 +519,6 @@ public short getReplication(Path path) throws IOException{
520
519
return xattr .getReplication (f .getPath ());
521
520
}
522
521
523
- public short getDefaultReplication (Path path ) throws IOException {
524
- return getReplication (path );
525
- }
526
-
527
522
public boolean setReplication (Path path ,short replication ) throws IOException {
528
523
return true ;
529
524
}
You can’t perform that action at this time.
0 commit comments