Ignore:
Timestamp:
2015-06-02T16:41:37+02:00 (10 years ago)
Author:
Don-vip
Message:

remove extra whitespaces

Location:
trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergeModel.java

    r8308 r8444  
    7070    }
    7171
     72    /**
     73     * Constructs a new {@code PropertiesMergeModel}.
     74     */
    7275    public PropertiesMergeModel() {
    7376        coordMergeDecision = UNDECIDED;
     
    7881
    7982    /**
    80      * replies true if there is a coordinate conflict and if this conflict is
    81      * resolved
    82      *
    83      * @return true if there is a coordinate conflict and if this conflict is
    84      * resolved; false, otherwise
     83     * replies true if there is a coordinate conflict and if this conflict is resolved
     84     *
     85     * @return true if there is a coordinate conflict and if this conflict is resolved; false, otherwise
    8586     */
    8687    public boolean isDecidedCoord() {
    87         return ! coordMergeDecision.equals(UNDECIDED);
    88     }
    89 
    90     /**
    91      * replies true if there is a  conflict in the deleted state and if this conflict is
    92      * resolved
     88        return !coordMergeDecision.equals(UNDECIDED);
     89    }
     90
     91    /**
     92     * replies true if there is a  conflict in the deleted state and if this conflict is resolved
    9393     *
    9494     * @return true if there is a conflict in the deleted state and if this conflict is
     
    9696     */
    9797    public boolean isDecidedDeletedState() {
    98         return ! deletedMergeDecision.equals(UNDECIDED);
     98        return !deletedMergeDecision.equals(UNDECIDED);
    9999    }
    100100
     
    311311        boolean ret = true;
    312312        if (hasCoordConflict()) {
    313             ret = ret && ! coordMergeDecision.equals(UNDECIDED);
     313            ret = ret && !coordMergeDecision.equals(UNDECIDED);
    314314        }
    315315        if (hasDeletedStateConflict()) {
    316             ret = ret && ! deletedMergeDecision.equals(UNDECIDED);
     316            ret = ret && !deletedMergeDecision.equals(UNDECIDED);
    317317        }
    318318        return ret;
  • trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMerger.java

    r8426 r8444  
    321321        lblMergedCoordinates.setText(coordToString(model.getMergedCoords()));
    322322        lblTheirCoordinates.setText(coordToString(model.getTheirCoords()));
    323         if (! model.hasCoordConflict()) {
     323        if (!model.hasCoordConflict()) {
    324324            lblMyCoordinates.setBackground(ConflictColors.BGCOLOR_NO_CONFLICT.get());
    325325            lblMergedCoordinates.setBackground(ConflictColors.BGCOLOR_NO_CONFLICT.get());
     
    349349        lblTheirDeletedState.setText(deletedStateToString(model.getTheirDeletedState()));
    350350
    351         if (! model.hasDeletedStateConflict()) {
     351        if (!model.hasDeletedStateConflict()) {
    352352            lblMyDeletedState.setBackground(ConflictColors.BGCOLOR_NO_CONFLICT.get());
    353353            lblMergedDeletedState.setBackground(ConflictColors.BGCOLOR_NO_CONFLICT.get());
     
    403403        @Override
    404404        public void update(Observable o, Object arg) {
    405             setEnabled(model.hasCoordConflict() && ! model.isDecidedCoord());
     405            setEnabled(model.hasCoordConflict() && !model.isDecidedCoord());
    406406        }
    407407    }
     
    420420        @Override
    421421        public void update(Observable o, Object arg) {
    422             setEnabled(model.hasCoordConflict() && ! model.isDecidedCoord());
     422            setEnabled(model.hasCoordConflict() && !model.isDecidedCoord());
    423423        }
    424424    }
     
    454454        @Override
    455455        public void update(Observable o, Object arg) {
    456             setEnabled(model.hasDeletedStateConflict() && ! model.isDecidedDeletedState());
     456            setEnabled(model.hasDeletedStateConflict() && !model.isDecidedDeletedState());
    457457        }
    458458    }
     
    471471        @Override
    472472        public void update(Observable o, Object arg) {
    473             setEnabled(model.hasDeletedStateConflict() && ! model.isDecidedDeletedState());
     473            setEnabled(model.hasDeletedStateConflict() && !model.isDecidedDeletedState());
    474474        }
    475475    }
Note: See TracChangeset for help on using the changeset viewer.