if (partSizeThreshold < 5 * 1024 * 1024) {
<BUG>LOG.error(MIN_MULTIPART_THRESHOLD + " must be at least 5 MB");
</BUG>
partSizeThreshold = 5 * 1024 * 1024;
}
<BUG>String cannedACLName = conf.get(CANNED_ACL, DEFAULT_CANNED_ACL);
</BUG>
if (!cannedACLName.isEmpty()) {
cannedACL = CannedAccessControlList.valueOf(cannedACLName);
} else {

if (partSizeThreshold < 5 * 1024 * 1024) {
LOG.error(NEW_MIN_MULTIPART_THRESHOLD + " must be at least 5 MB");
partSizeThreshold = 5 * 1024 * 1024;
}
String cannedACLName = conf.get(NEW_CANNED_ACL, conf.get(OLD_CANNED_ACL, DEFAULT_CANNED_ACL));
if (!cannedACLName.isEmpty()) {
cannedACL = CannedAccessControlList.valueOf(cannedACLName);
} else {
