cleanup and added requirement for floats to start with 0.2

This commit is contained in:
gnembon committed 2019-10-05 02:23:53 -03:00
1 parent 974aa51e2a
commit dab9c5debe
4 files changed
+6 -17

No files matched your search

@@ -216,14 +216,7 @@ public class ListValue extends AbstractListValue implements ContainerValueInterf
{
if (o instanceof ListValue)
{
ListValue ol = (ListValue)o;
int this_size = this.getItems().size();
int o_size = ol.getItems().size();
if (this_size != o_size) return false;
if (this_size == 0) return true;
for (int i = 0; i < this_size; i++)
if (!this.items.get(i).equals(ol.items.get(i))) return false;
return true;
return getItems().equals(((ListValue) o).getItems());
}
return false;
}