TransferConfig#getInheritProjectMaxObjectSizeLimit: Rename to inheritProjectMaxObjectSizeLimit

Change-Id: Ieb56c525ca2d6230a7589dc387cc921728d1051a
This commit is contained in:
David Pursehouse
2018-09-26 22:48:06 +09:00
parent 9b6339026c
commit e8f707d0ee
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(