Skip to content

Commit

Permalink
change AnnotationsPaintable to use ordered LinkedHashSet
Browse files Browse the repository at this point in the history
  • Loading branch information
tomnelson committed Nov 12, 2024
1 parent f6c1766 commit aa08d63
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;
import javax.swing.JComponent;
import org.jungrapht.visualization.MultiLayerTransformer;
Expand All @@ -37,7 +37,7 @@
public class AnnotationPaintable implements VisualizationServer.Paintable {

@SuppressWarnings("rawtypes")
protected Set<Annotation> annotations = new HashSet<>();
protected Set<Annotation> annotations = new LinkedHashSet<>();

protected AnnotationRenderer annotationRenderer;

Expand Down

0 comments on commit aa08d63

Please sign in to comment.