We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5550548 + 1b59fe1 commit 81f68edCopy full SHA for 81f68ed
src/main/java/org/apache/hadoop/fs/glusterfs/GlusterVolume.java
@@ -95,10 +95,9 @@ protected URI canonicalizeUri(URI uri) {
95
public boolean sameVolume(Path p){
96
URI thisUri = this.NAME;
97
URI thatUri = p.toUri();
98
- if(!thatUri.getScheme().equalsIgnoreCase(thisUri.getScheme())) return false;
99
- if((thatUri.getAuthority()==null && thisUri.getAuthority()==null)) return true;
+ if(!thisUri.getScheme().equalsIgnoreCase(thatUri.getScheme())) return false;
+ if((thisUri.getAuthority()==null && thatUri.getAuthority()==null)) return true;
100
return (thatUri.getAuthority()!=null && thatUri.getAuthority().equalsIgnoreCase(thisUri.getAuthority()));
101
-
102
}
103
104
public void setConf(Configuration conf){
0 commit comments