mirror of https://github.com/apache/druid.git
Remove unnecessary casts (#9208)
This commit is contained in:
parent
3ef5c2f2e8
commit
48b95f02f2
|
@ -56,10 +56,10 @@ public class WorkerConfig
|
|||
private Period intermediaryPartitionTimeout = new Period("P1D");
|
||||
|
||||
@JsonProperty
|
||||
private final long globalIngestionHeapLimitBytes = (long) (Runtime.getRuntime().maxMemory() / 6);
|
||||
private final long globalIngestionHeapLimitBytes = Runtime.getRuntime().maxMemory() / 6;
|
||||
|
||||
@JsonProperty
|
||||
private final int numConcurrentMerges = (int) Math.max(1, capacity / 2);
|
||||
private final int numConcurrentMerges = Math.max(1, capacity / 2);
|
||||
|
||||
public String getIp()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue