Ignore:
Timestamp:
2015-05-19T00:05:33+02:00 (10 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
Files:
5 edited

Legend:

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

    r8390 r8395  
    222222        final Way selectedWay = combineResult.a;
    223223        Main.main.undoRedo.add(combineResult.b);
    224         if(selectedWay != null)
    225         {
     224        if(selectedWay != null) {
    226225            Runnable guiTask = new Runnable() {
    227226                @Override
  • trunk/src/org/openstreetmap/josm/actions/JoinAreasAction.java

    r8384 r8395  
    13281328            }
    13291329
    1330             for (Way way :innerWays)
    1331             {
     1330            for (Way way :innerWays) {
    13321331                if (processedOuterWays.contains(way)) {
    13331332                    new Notification(
  • 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
  • trunk/src/org/openstreetmap/josm/actions/search/SearchAction.java

    r8394 r8395  
    261261        left.add(in_selection, GBC.eop());
    262262        left.add(caseSensitive, GBC.eol());
    263         if(Main.pref.getBoolean("expert", false))
    264         {
     263        if(Main.pref.getBoolean("expert", false)) {
    265264            left.add(allElements, GBC.eol());
    266265            left.add(regexSearch, GBC.eol());
Note: See TracChangeset for help on using the changeset viewer.