Merge "Allow empty string as max object size limit"

This commit is contained in:
Edwin Kempin
2013-07-11 09:08:43 +00:00
committed by Gerrit Code Review

View File

@@ -751,6 +751,10 @@ public class ProjectConfig extends VersionedMetaData {
if (value == null) {
return null;
}
value = value.trim();
if (value.isEmpty()) {
return null;
}
Config cfg = new Config();
cfg.fromText("[s]\nn=" + value);
try {