Ignore:
Timestamp:
2016-10-30T00:14:07+02:00 (9 years ago)
Author:
donvip
Message:

checkstyle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/livegps/src/livegps/LiveGpsDialog.java

    r32952 r33045  
    1 /**
    2  *
    3  */
     1// License: Public Domain. For details, see LICENSE file.
    42package livegps;
    53
     
    6967            return;
    7068
    71         if("gpsdata".equals(evt.getPropertyName())) {
     69        if ("gpsdata".equals(evt.getPropertyName())) {
    7270            data = (LiveGpsData) evt.getNewValue();
    7371
     
    7573            @Override
    7674            public void run() {
    77                 if(data.isFix()) {
     75                if (data.isFix()) {
    7876                    panel.setBackground(Color.WHITE);
    7977                    latLabel.setText(data.getLatitude() + "deg");
     
    8482
    8583                    String wayString = data.getWayInfo();
    86                     if(wayString.length() > 0) {
     84                    if (!wayString.isEmpty()) {
    8785                        wayLabel.setText(wayString);
    8886                    } else {
     
    104102            public void run() {
    105103                statusLabel.setText(status.getStatusMessage());
    106                 if(status.getStatus() != LiveGpsStatus.GpsStatus.CONNECTED) {
     104                if (status.getStatus() != LiveGpsStatus.GpsStatus.CONNECTED) {
    107105                    panel.setBackground(Color.RED);
    108106                } else {
Note: See TracChangeset for help on using the changeset viewer.