Ignore:
Timestamp:
2015-06-21T01:13:09+02:00 (5 years ago)
Author:
Don-vip
Message:

checkstyle: redundant modifiers

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/ImageryAdjustAction.java

    r8510 r8512  
    247247        }
    248248
    249         private final void updateOffset() {
     249        private void updateOffset() {
    250250            ignoreListener = true;
    251251            updateOffsetIntl();
     
    253253        }
    254254
    255         private final void updateOffsetIntl() {
     255        private void updateOffsetIntl() {
    256256            // Support projections with very small numbers (e.g. 4326)
    257257            int precision = Main.getProjection().getDefaultZoomInPPD() >= 1.0 ? 2 : 7;
  • trunk/src/org/openstreetmap/josm/actions/OsmPrimitiveAction.java

    r7937 r8512  
    1818     * @param primitives The new working set of primitives. Can be null or empty
    1919     */
    20     public abstract void setPrimitives(Collection<? extends OsmPrimitive> primitives);
     20    void setPrimitives(Collection<? extends OsmPrimitive> primitives);
    2121}
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadTask.java

    r7749 r8512  
    119119     *
    120120     */
    121     public void cancel();
     121    void cancel();
    122122
    123123    /**
     
    127127     * @since
    128128     */
    129     public String getConfirmationMessage(URL url);
     129    String getConfirmationMessage(URL url);
    130130}
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r8510 r8512  
    686686     * still pressed)
    687687     */
    688     private final boolean dragInProgress() {
     688    private boolean dragInProgress() {
    689689        return didMouseDrag && startingDraggingPos != null;
    690690    }
     
    851851     * reported. If there is, it will execute the merge and add it to the undo buffer.
    852852     */
    853     private final void mergePrims(Point p) {
     853    private void mergePrims(Point p) {
    854854        Collection<Node> selNodes = getCurrentDataSet().getSelectedNodes();
    855855        if (selNodes.isEmpty())
     
    899899     * position. Either returns the node or null, if no suitable one is nearby.
    900900     */
    901     private final Node findNodeToMergeTo(Point p) {
     901    private Node findNodeToMergeTo(Point p) {
    902902        Collection<Node> target = mv.getNearestNodes(p,
    903903                getCurrentDataSet().getSelectedNodes(),
  • trunk/src/org/openstreetmap/josm/actions/search/SearchCompiler.java

    r8510 r8512  
    203203     */
    204204    private interface MatchFactory {
    205         public Collection<String> getKeywords();
     205        Collection<String> getKeywords();
    206206    }
    207207
    208208    public interface SimpleMatchFactory extends MatchFactory {
    209         public Match get(String keyword, PushbackTokenizer tokenizer) throws ParseError;
     209        Match get(String keyword, PushbackTokenizer tokenizer) throws ParseError;
    210210    }
    211211
    212212    public interface UnaryMatchFactory extends MatchFactory {
    213         public UnaryMatch get(String keyword, Match matchOperand, PushbackTokenizer tokenizer) throws ParseError;
     213        UnaryMatch get(String keyword, Match matchOperand, PushbackTokenizer tokenizer) throws ParseError;
    214214    }
    215215
    216216    public interface BinaryMatchFactory extends MatchFactory {
    217         public BinaryMatch get(String keyword, Match lhs, Match rhs, PushbackTokenizer tokenizer) throws ParseError;
     217        BinaryMatch get(String keyword, Match lhs, Match rhs, PushbackTokenizer tokenizer) throws ParseError;
    218218    }
    219219
  • trunk/src/org/openstreetmap/josm/actions/upload/FixDataHook.java

    r8510 r8512  
    6767         * @return <code>true</code> if keys have been modified
    6868         */
    69         public boolean fixKeys(Map<String, String> keys, OsmPrimitive osm);
     69        boolean fixKeys(Map<String, String> keys, OsmPrimitive osm);
    7070    }
    7171
  • trunk/src/org/openstreetmap/josm/actions/upload/UploadHook.java

    r3083 r8512  
    99     * @param apiDataSet the data to upload
    1010     */
    11     public boolean checkUpload(APIDataSet apiDataSet);
     11    boolean checkUpload(APIDataSet apiDataSet);
    1212}
Note: See TracChangeset for help on using the changeset viewer.