public boolean equals(Object peer_) {
   if (!(peer_ instanceof SetACLRequest)) {
     return false;
   }
   if (peer_ == this) {
     return true;
   }
   SetACLRequest peer = (SetACLRequest) peer_;
   boolean ret = false;
   ret = path.equals(peer.path);
   if (!ret) return ret;
   ret = acl.equals(peer.acl);
   if (!ret) return ret;
   ret = (version == peer.version);
   if (!ret) return ret;
   return ret;
 }
示例#2
0
 public boolean equals(Object peer_) {
   if (!(peer_ instanceof CreateRequest)) {
     return false;
   }
   if (peer_ == this) {
     return true;
   }
   CreateRequest peer = (CreateRequest) peer_;
   boolean ret = false;
   ret = path.equals(peer.path);
   if (!ret) return ret;
   ret = org.apache.jute.Utils.bufEquals(data, peer.data);
   if (!ret) return ret;
   ret = acl.equals(peer.acl);
   if (!ret) return ret;
   ret = (flags == peer.flags);
   if (!ret) return ret;
   return ret;
 }