Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
Updated indentation according to checkstyle rules
Browse files Browse the repository at this point in the history
  • Loading branch information
tommysdk committed Dec 11, 2017
1 parent 7ce9f51 commit 4726fe7
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@
import hudson.plugins.promoted_builds.PromotedBuildAction;
import hudson.plugins.promoted_builds.Promotion;
import hudson.plugins.promoted_builds.Status;

import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;

Expand Down Expand Up @@ -107,7 +105,7 @@ private void populatePromotionParameters(List<String> params, Object promotionOb

private void sortPromotionStatusListByStartTimeInDescOrder(List<PromotionStatus> promotionStatusList) {
promotionStatusList.sort((Comparator<Object>) (o1, o2)
-> (int) (promotionStatusWrapper.getStartTime(o2) - promotionStatusWrapper.getStartTime(o1)));
-> (int) (promotionStatusWrapper.getStartTime(o2) - promotionStatusWrapper.getStartTime(o1)));
}

// Decorators to make code unit-testable
Expand Down

0 comments on commit 4726fe7

Please sign in to comment.