Changeset 9607 in josm for trunk/src/org


Ignore:
Timestamp:
2016-01-24T04:05:06+01:00 (9 years ago)
Author:
Don-vip
Message:

ConflictDialog: fix findbugs issue, add unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictDialog.java

    r9601 r9607  
    512512    }
    513513
    514     class ConflictPainter extends AbstractVisitor {
     514    /**
     515     * Paints conflicts.
     516     */
     517    public static class ConflictPainter extends AbstractVisitor {
    515518        // Manage a stack of visited relations to avoid infinite recursion with cyclic relations (fix #7938)
    516519        private final Set<Relation> visited = new HashSet<>();
     
    529532        }
    530533
    531         public void visit(Node n1, Node n2) {
     534        private void visit(Node n1, Node n2) {
    532535            Point p1 = nc.getPoint(n1);
    533536            Point p2 = nc.getPoint(n2);
Note: See TracChangeset for help on using the changeset viewer.