53b211661d3e1240e48dce895e29be02fed306c9
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 1 | ||
| Rename Method private buildRanges(ranges String...) : Resource renamed to public buildPortRanges(ranges String...) : Resource in class com.hubspot.singularity.scheduler.MesosUtilsTest | From | To | |
| Change Parameter Type | 2 | ||
| Change Parameter Type ports : long[] to ports : Optional<long[]> in method private buildPortMapping(singularityDockerPortMapping SingularityDockerPortMapping, ports Optional<long[]>) : Optional<DockerInfo.PortMapping> in class com.hubspot.singularity.mesos.SingularityMesosTaskBuilder | From | To | |
| Change Parameter Type taskInfo : TaskInfo to resources : List<Resource> in method public getAllPorts(resources List<Resource>) : List<Long> in class com.hubspot.mesos.MesosUtils | From | To | |
| Extract Method | 1 | ||
| Extract Method protected createOffer(cpus double, memory double, slave String, host String, rack Optional<String>, attributes Map<String,String>, portRanges String[]) : Offer extracted from protected createOffer(cpus double, memory double, slave String, host String, rack Optional<String>, attributes Map<String,String>) : Offer in class com.hubspot.singularity.SingularitySchedulerTestBase | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter taskInfo : TaskInfo to resources : List<Resource> in method public getAllPorts(resources List<Resource>) : List<Long> in class com.hubspot.mesos.MesosUtils | From | To |