Ignore:
Timestamp:
2015-05-19T00:05:33+02:00 (9 years ago)
Author:
Don-vip
Message:

convention - An open curly brace should be located at the end of a line

Location:
trunk/src/org/openstreetmap/josm/actions/mapmode
Files:
2 edited

Legend:

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

    r8390 r8395  
    11441144     * @param seg the reference segment
    11451145     */
    1146     private void drawReferenceSegment(Graphics2D g2, MapView mv, ReferenceSegment seg)
    1147     {
     1146    private void drawReferenceSegment(Graphics2D g2, MapView mv, ReferenceSegment seg) {
    11481147        Point p1 = mv.getPoint(seg.p1);
    11491148        Point p2 = mv.getPoint(seg.p2);
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r8345 r8395  
    509509            return;
    510510
    511         if (mode != Mode.ROTATE && mode != Mode.SCALE) // button is pressed in rotate mode
    512         {
    513             if ((e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) == 0)
    514                 return;
     511        if (mode != Mode.ROTATE && mode != Mode.SCALE && (e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) == 0) {
     512            // button is pressed in rotate mode
     513            return;
    515514        }
    516515
Note: See TracChangeset for help on using the changeset viewer.