Code quality impovements, additional tests to find target filter queries

Signed-off-by: Dominik Herbst <dominik.herbst@bosch-si.com>
This commit is contained in:
Dominik Herbst
2016-09-30 14:26:20 +02:00
parent 78e9705886
commit 38bd54fe6e
10 changed files with 105 additions and 73 deletions

View File

@@ -56,7 +56,7 @@ public class TargetFilterQueryDetailsTable extends Table {
*/
public void populateTableByDistributionSet(final DistributionSet distributionSet) {
removeAllItems();
if (null == distributionSet) {
if (distributionSet == null) {
return;
}

View File

@@ -41,12 +41,12 @@ public class ManageDistBeanQuery extends AbstractBeanQuery<ProxyDistribution> {
private static final long serialVersionUID = 5176481314404662215L;
private Sort sort = new Sort(Direction.ASC, "createdAt");
private String searchText = null;
private String searchText;
private transient DistributionSetManagement distributionSetManagement;
private transient Page<DistributionSet> firstPageDistributionSets = null;
private transient Page<DistributionSet> firstPageDistributionSets;
private DistributionSetType distributionSetType = null;
private Boolean dsComplete = null;
private DistributionSetType distributionSetType;
private Boolean dsComplete;
/**
*