Ignore:
Timestamp:
2015-06-20T23:42:21+02:00 (9 years ago)
Author:
Don-vip
Message:

checkstyle: enable relevant whitespace checks and fix them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/progress/AbstractProgressMonitor.java

    r8377 r8510  
    4444
    4545    protected abstract void doBeginTask();
     46
    4647    protected abstract void doFinishTask();
     48
    4749    protected abstract void doSetIntermediate(boolean value);
     50
    4851    protected abstract void doSetTitle(String title);
     52
    4953    protected abstract void doSetCustomText(String title);
    5054
     
    174178        }
    175179
    176         if (newTitle == null?shownTitle != null:!newTitle.equals(shownTitle)) {
     180        if (newTitle == null ? shownTitle != null : !newTitle.equals(shownTitle)) {
    177181            shownTitle = newTitle;
    178182            doSetTitle(shownTitle);
    179183        }
    180184
    181         if (customText == null?shownCustomText != null:!customText.equals(shownCustomText)) {
     185        if (customText == null ? shownCustomText != null : !customText.equals(shownCustomText)) {
    182186            shownCustomText = customText;
    183187            doSetCustomText(shownCustomText);
     
    241245        }
    242246        checkState(State.IN_TASK, State.IN_SUBTASK);
    243         updateProgress(ticksCount == 0?0:(ticks + childProgress * childTicks) / ticksCount);
     247        updateProgress(ticksCount == 0 ? 0 : (ticks + childProgress * childTicks) / ticksCount);
    244248    }
    245249
Note: See TracChangeset for help on using the changeset viewer.