[Bug #1216] Removed unused code as Radiogroup at that point never has elements
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
c8e385479e
commit
ff185b9648
1 changed files with 0 additions and 14 deletions
|
|
@ -211,10 +211,6 @@ public class ResourceAllocationController extends GenericForwardComposer {
|
|||
initializeAllocationConfigurationComponent();
|
||||
formBinder.setAdvancedSearchButton(advancedSearchButton);
|
||||
|
||||
CalculationTypeRadio calculationTypeRadio = CalculationTypeRadio
|
||||
.from(formBinder.getCalculatedValue());
|
||||
calculationTypeRadio.doTheSelectionOn(getCalculationTypeSelector());
|
||||
|
||||
tbResourceAllocation.setSelected(true);
|
||||
|
||||
newAllocationSelector.setAllocationsAdder(resourceAllocationModel);
|
||||
|
|
@ -435,16 +431,6 @@ public class ResourceAllocationController extends GenericForwardComposer {
|
|||
return false;
|
||||
}
|
||||
|
||||
public void doTheSelectionOn(final Radiogroup radiogroup) {
|
||||
for (int i = 0; i < radiogroup.getItemCount(); i++) {
|
||||
Radio radio = radiogroup.getItemAtIndex(i);
|
||||
if (name().equals(radio.getValue())) {
|
||||
radiogroup.setSelectedIndex(i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private final CalculatedValue calculatedValue;
|
||||
|
||||
private CalculationTypeRadio(CalculatedValue calculatedValue) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue