Ignore:
Timestamp:
2013-07-17T00:01:07+02:00 (11 years ago)
Author:
stoecker
Message:

see #8853 remove tabs, trailing spaces, windows line ends, strange characters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/coor/LatLon.java

    r5909 r6069  
    4646        cDdFormatter.applyPattern("###0.0######");
    4747    }
    48    
     48
    4949    private static final String cDms60 = cDmsSecondFormatter.format(60.0);
    5050    private static final String cDms00 = cDmsSecondFormatter.format( 0.0);
     
    115115        int tMinutes = (int) tTmpMinutes;
    116116        double tSeconds = (tTmpMinutes - tMinutes) * 60;
    117        
     117
    118118        String sDegrees = Integer.toString(tDegree);
    119119        String sMinutes = cDmsMinuteFormatter.format(tMinutes);
    120120        String sSeconds = cDmsSecondFormatter.format(tSeconds);
    121        
     121
    122122        if (sSeconds.equals(cDms60)) {
    123123            sSeconds = cDms00;
     
    142142        int tDegree = (int) tAbsCoord;
    143143        double tMinutes = (tAbsCoord - tDegree) * 60;
    144        
     144
    145145        String sDegrees = Integer.toString(tDegree);
    146146        String sMinutes = cDmMinuteFormatter.format(tMinutes);
    147        
     147
    148148        if (sMinutes.equals(cDm60)) {
    149149            sMinutes = cDm00;
    150150            sDegrees = Integer.toString(tDegree+1);
    151151        }
    152        
     152
    153153        return sDegrees + "\u00B0" + sMinutes + "\'";
    154154    }
Note: See TracChangeset for help on using the changeset viewer.