Merge "TransferConfig#getInheritProjectMaxObjectSizeLimit: Rename to inheritProjectMaxObjectSizeLimit"

This commit is contained in:
David Pursehouse
2018-09-28 06:50:45 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@ public class TransferConfig {
return maxObjectSizeLimitFormatted; return maxObjectSizeLimitFormatted;
} }
public boolean getInheritProjectMaxObjectSizeLimit() { public boolean inheritProjectMaxObjectSizeLimit() {
return inheritProjectMaxObjectSizeLimit; return inheritProjectMaxObjectSizeLimit;
} }
} }

View File

@@ -143,7 +143,7 @@ public class ProjectState {
? limitsFactory.create(config.getAccessSection(AccessSection.GLOBAL_CAPABILITIES)) ? limitsFactory.create(config.getAccessSection(AccessSection.GLOBAL_CAPABILITIES))
: null; : null;
this.globalMaxObjectSizeLimit = transferConfig.getMaxObjectSizeLimit(); this.globalMaxObjectSizeLimit = transferConfig.getMaxObjectSizeLimit();
this.inheritProjectMaxObjectSizeLimit = transferConfig.getInheritProjectMaxObjectSizeLimit(); this.inheritProjectMaxObjectSizeLimit = transferConfig.inheritProjectMaxObjectSizeLimit();
this.computationLatency = this.computationLatency =
metricMaker.newTimer( metricMaker.newTimer(