ourAnnots.clear();
}
}
+
// TODO: allow GUI to query workers associated with annotation to add items to
// annotation label panel popup menu
float max = Float.MIN_VALUE;
float min = Float.MAX_VALUE;
boolean set = false;
- for (Annotation a : anns) {
- if (a != null) {
+ for (Annotation a : anns)
+ {
+ if (a != null)
+ {
set = true;
float val = a.value;
max = Math.max(max, val);