Formatted the code
This commit is contained in:
@@ -224,7 +224,7 @@ public class SoftwareModuleDetailsTable extends Table {
|
|||||||
softwareModule.setDescription(softwareModNameVersion);
|
softwareModule.setDescription(softwareModNameVersion);
|
||||||
softwareModule.setId(sw.getName() + "-label");
|
softwareModule.setId(sw.getName() + "-label");
|
||||||
horizontalLayout.addComponent(softwareModule);
|
horizontalLayout.addComponent(softwareModule);
|
||||||
horizontalLayout.setExpandRatio(softwareModule, 1f);
|
horizontalLayout.setExpandRatio(softwareModule, 1F);
|
||||||
if (isUnassignSoftModAllowed && permissionChecker.hasUpdateDistributionPermission() && !isTargetAssigned
|
if (isUnassignSoftModAllowed && permissionChecker.hasUpdateDistributionPermission() && !isTargetAssigned
|
||||||
&& (isSoftModAvaiableForSoftType(alreadyAssignedSwModules, swModType))) {
|
&& (isSoftModAvaiableForSoftType(alreadyAssignedSwModules, swModType))) {
|
||||||
horizontalLayout.addComponent(reassignSoftModule);
|
horizontalLayout.addComponent(reassignSoftModule);
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ public class DistributionSetDetails extends AbstractNamedVersionedEntityTableDet
|
|||||||
softwareModule.setDescription(softwareModuleName);
|
softwareModule.setDescription(softwareModuleName);
|
||||||
softwareModule.setId(softwareModuleName + "-label");
|
softwareModule.setId(softwareModuleName + "-label");
|
||||||
horizontalLayout.addComponent(softwareModule);
|
horizontalLayout.addComponent(softwareModule);
|
||||||
horizontalLayout.setExpandRatio(softwareModule, 1f);
|
horizontalLayout.setExpandRatio(softwareModule, 1F);
|
||||||
horizontalLayout.addComponent(reassignSoftModule);
|
horizontalLayout.addComponent(reassignSoftModule);
|
||||||
verticalLayout.addComponent(horizontalLayout);
|
verticalLayout.addComponent(horizontalLayout);
|
||||||
return verticalLayout;
|
return verticalLayout;
|
||||||
|
|||||||
Reference in New Issue
Block a user