in src/main/java/com/microsoft/azure/datalake/store/acl/AclEntry.java [175:192]
public String toString(boolean removeAcl) {
StringBuilder str = new StringBuilder();
if (this.scope == null) throw new IllegalArgumentException("Acl Entry has no scope");
if (this.type == null) throw new IllegalArgumentException("Acl Entry has no type");
if (this.scope == com.microsoft.azure.datalake.store.acl.AclScope.DEFAULT) str.append("default:");
str.append(this.type.toString().toLowerCase());
str.append(":");
if (this.name!=null) str.append(this.name);
if (this.action != null && !removeAcl) {
str.append(":");
str.append(this.action.toString());
}
return str.toString();
}