Changeset 12445 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2017-07-01T16:44:05+02:00 (7 years ago)
Author:
Don-vip
Message:

update to error-prone 2.0.21, groovy 2.4.12

Location:
trunk/src/org/openstreetmap/josm
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java

    r12260 r12445  
    154154    /** whether this is a entry activated by default or not */
    155155    private boolean defaultEntry;
    156     /** The data part of HTTP cookies header in case the service requires cookies to work */
    157     private String cookies;
    158156    /** Whether this service requires a explicit EULA acceptance before it can be activated */
    159157    private String eulaAcceptanceRequired;
     
    842840
    843841    /**
    844      * Return the data part of HTTP cookies header in case the service requires cookies to work
    845      * @return the cookie data part
    846      */
    847     @Override
    848     public String getCookies() {
    849         return this.cookies;
    850     }
    851 
    852     /**
    853842     * Gets the pixel per degree value
    854843     * @return The ppd value.
  • trunk/src/org/openstreetmap/josm/data/projection/proj/ObliqueMercator.java

    r12013 r12445  
    160160     * Constants used in the transformation.
    161161     */
    162     private double b, e;
     162    private double b, g;
    163163
    164164    /**
     
    249249            }
    250250        }
    251         e = f += d;
    252         e = f * Math.pow(tsfn(latCenter, sinph0), b);
     251        g = f += d;
     252        g = f * Math.pow(tsfn(latCenter, sinph0), b);
    253253
    254254        /*
     
    288288            final double h = Math.pow(tsfn(lat1, Math.sin(lat1)), b);
    289289            final double l = Math.pow(tsfn(lat2, Math.sin(lat2)), b);
    290             final double fp = e / h;
     290            final double fp = g / h;
    291291            final double p = (l - h) / (l + h);
    292             double j = e * e;
     292            double j = g * g;
    293293            j = (j - l * h) / (j + l * h);
    294294            double diff = lon1 - lon2;
     
    379379        double u, v;
    380380        if (Math.abs(Math.abs(y) - Math.PI/2.0) > EPSILON) {
    381             double q = e / Math.pow(tsfn(y, Math.sin(y)), b);
     381            double q = g / Math.pow(tsfn(y, Math.sin(y)), b);
    382382            double temp = 1.0 / q;
    383383            double s = 0.5 * (q - temp);
     
    420420        } else {
    421421            return new double[] {
    422                 cphi2(Math.pow(e / Math.sqrt((1. + up) / (1. - up)), 1.0 / b)), //calculate t
     422                cphi2(Math.pow(g / Math.sqrt((1. + up) / (1. - up)), 1.0 / b)), //calculate t
    423423                -Math.atan2(sp * cosgamma0 - vp * singamma0, Math.cos(bra * u)) / b};
    424424        }
  • trunk/src/org/openstreetmap/josm/gui/widgets/MultiSplitPane.java

    r11809 r12445  
    4747 */
    4848public class MultiSplitPane extends JPanel {
    49     private transient AccessibleContext accessibleContext;
    5049    private boolean continuousLayout = true;
    5150    private transient DividerPainter dividerPainter = new DefaultDividerPainter();
  • trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java

    r11747 r12445  
    4343    }
    4444
    45     private final transient QuadStateDecorator model;
     45    private final transient QuadStateDecorator cbModel;
    4646    private State[] allowed;
    4747
     
    6060            @Override public void mousePressed(MouseEvent e) {
    6161                grabFocus();
    62                 model.nextState();
     62                cbModel.nextState();
    6363            }
    6464        });
     
    6969            public void actionPerformed(ActionEvent e) {
    7070                grabFocus();
    71                 model.nextState();
     71                cbModel.nextState();
    7272            }
    7373        });
     
    7575        SwingUtilities.replaceUIActionMap(this, map);
    7676        // set the model to the adapted model
    77         model = new QuadStateDecorator(getModel());
    78         setModel(model);
     77        cbModel = new QuadStateDecorator(getModel());
     78        setModel(cbModel);
    7979        setState(initial);
    8080    }
     
    101101     */
    102102    public final void setPropertyText(final String propertyText) {
    103         model.setPropertyText(propertyText);
     103        cbModel.setPropertyText(propertyText);
    104104    }
    105105
     
    109109     */
    110110    public final void setState(State state) {
    111         model.setState(state);
     111        cbModel.setState(state);
    112112    }
    113113
     
    117117     */
    118118    public State getState() {
    119         return model.getState();
     119        return cbModel.getState();
    120120    }
    121121
Note: See TracChangeset for help on using the changeset viewer.