<BUG>if (sMan.getDefaultStripingPolicy(file.getId()).getWidth() > 1&& (rp.getName().equals(ReplicaUpdatePolicies.REPL_UPDATE_PC_WARONE) || rp.getName().equals(ReplicaUpdatePolicies.REPL_UPDATE_PC_WQRQ))) {</BUG><CONTEXT>ReplicationPolicy rp = Converter.jsonStringToReplicationPolicy(value);if (rp.getFactor() == 1 && !ReplicaUpdatePolicies.REPL_UPDATE_PC_NONE.equals(rp.getName())) {throw new UserException(POSIXErrno.POSIX_ERROR_EPERM,"a default replication policy requires a replication factor >= 2");}<extra_id_0>throw new UserException(POSIXErrno.POSIX_ERROR_EINVAL,"RW-replication of striped files is not supported yet.");</CONTEXT>
&& ReplicaUpdatePolicies.isRW(rp.getName())) {