Ignore:
Timestamp:
2015-05-23T01:40:23+02:00 (9 years ago)
Author:
Don-vip
Message:

Sonar: various code style cleanup:

  • fix copyright
  • classes that should be final
  • order of javadoc At-clauses
  • unexpected spaces before parenthesis
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/LineClip.java

    r8342 r8419  
    6565        boolean done = false;
    6666
    67         outcode0 = computeOutCode (x1, y1, xmin, ymin, xmax, ymax);
    68         outcode1 = computeOutCode (x2, y2, xmin, ymin, xmax, ymax);
     67        outcode0 = computeOutCode(x1, y1, xmin, ymin, xmax, ymax);
     68        outcode1 = computeOutCode(x2, y2, xmin, ymin, xmax, ymax);
    6969
    7070        do {
     
    115115     * We cannot use Rectangle.outcode since it does not work with long ints.
    116116     */
    117     private static int computeOutCode (long x, long y, long xmin, long ymin, long xmax, long ymax) {
     117    private static int computeOutCode(long x, long y, long xmin, long ymin, long xmax, long ymax) {
    118118        int code = 0;
    119119        if (y > ymax) {
Note: See TracChangeset for help on using the changeset viewer.