Skip to content

Commit

Permalink
AnnotationPaintable.java: change annotations from HashSet to LinkedHa…
Browse files Browse the repository at this point in the history
…shSet (#272)
  • Loading branch information
jrtom authored Nov 16, 2024
1 parent 14efd0f commit 5b99519
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,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;

Expand All @@ -37,7 +37,7 @@
public class AnnotationPaintable implements VisualizationServer.Paintable {

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

protected AnnotationRenderer annotationRenderer;

Expand Down

0 comments on commit 5b99519

Please sign in to comment.