Ignore:
Timestamp:
2016-07-02T03:55:03+02:00 (9 years ago)
Author:
donvip
Message:

checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetBase.java

    r29388 r32528  
     1// License: WTFPL. For details, see LICENSE file.
    12package iodb;
    23
    34import java.util.Date;
    45import java.util.Map;
     6
    57import org.openstreetmap.josm.data.coor.CoordinateFormat;
    68import org.openstreetmap.josm.data.coor.LatLon;
     
    1012 * and {@link CalibrationObject} classes and contains common fields
    1113 * like position, author and description.
    12  * 
     14 *
    1315 * @author Zverik
    1416 * @license WTFPL
     
    2426    protected String abandonReason;
    2527    protected boolean flagged;
    26    
     28
    2729    /**
    2830     * Initialize object with the basic information. It's offset location, author, date
    2931     * and description.
    3032     */
    31     public void setBasicInfo( LatLon position, String author, String description, Date date ) {
     33    public void setBasicInfo(LatLon position, String author, String description, Date date) {
    3234        this.position = position;
    3335        this.author = author;
     
    3840    }
    3941
    40     public void setId( long id ) {
     42    public void setId(long id) {
    4143        this.offsetId = id;
    4244    }
     
    6062    }
    6163
    62     public void setFlagged( boolean flagged ) {
     64    public void setFlagged(boolean flagged) {
    6365        this.flagged = flagged;
    6466    }
     
    7577        return abandonReason;
    7678    }
    77    
     79
    7880    /**
    7981     * Check that {@link #getAbandonDate()} is not null. Note that
     
    9698    }
    9799
    98     public void setDescription( String description ) {
     100    public void setDescription(String description) {
    99101        this.description = description;
    100102    }
     
    103105        return position;
    104106    }
    105    
    106     public void putServerParams( Map<String, String> map ) {
     107
     108    public void putServerParams(Map<String, String> map) {
    107109        map.put("lat", position.latToString(CoordinateFormat.DECIMAL_DEGREES));
    108110        map.put("lon", position.lonToString(CoordinateFormat.DECIMAL_DEGREES));
     
    113115    @Override
    114116    public String toString() {
    115         return "ImageryOffsetBase{" + "position=" + position + ", date=" + date + ", author=" + author + ", description=" + description + ", abandonDate=" + abandonDate + '}';
     117        return "ImageryOffsetBase{" + "position=" + position + ", date=" + date + ", author=" + author +
     118                ", description=" + description + ", abandonDate=" + abandonDate + '}';
    116119    }
    117120}
Note: See TracChangeset for help on using the changeset viewer.