Formatted the code

This commit is contained in:
gah6kor
2016-07-18 15:08:11 +02:00
parent 1cef0b4d46
commit 56616be58d
2 changed files with 2 additions and 2 deletions

View File

@@ -224,7 +224,7 @@ public class SoftwareModuleDetailsTable extends Table {
softwareModule.setDescription(softwareModNameVersion);
softwareModule.setId(sw.getName() + "-label");
horizontalLayout.addComponent(softwareModule);
horizontalLayout.setExpandRatio(softwareModule, 1f);
horizontalLayout.setExpandRatio(softwareModule, 1F);
if (isUnassignSoftModAllowed && permissionChecker.hasUpdateDistributionPermission() && !isTargetAssigned
&& (isSoftModAvaiableForSoftType(alreadyAssignedSwModules, swModType))) {
horizontalLayout.addComponent(reassignSoftModule);

View File

@@ -219,7 +219,7 @@ public class DistributionSetDetails extends AbstractNamedVersionedEntityTableDet
softwareModule.setDescription(softwareModuleName);
softwareModule.setId(softwareModuleName + "-label");
horizontalLayout.addComponent(softwareModule);
horizontalLayout.setExpandRatio(softwareModule, 1f);
horizontalLayout.setExpandRatio(softwareModule, 1F);
horizontalLayout.addComponent(reassignSoftModule);
verticalLayout.addComponent(horizontalLayout);
return verticalLayout;