google / google/s2-geometry-library-java
S2CellUnionTests Line 258-260 should be removed.
Aperta
auto-migrated
Priority-Medium
Type-Defect
- Lingua principale
- Java
- Stelle
- 587
- Fork
- 231
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
```
Line 258-260 as below should be removed:
if (!u.contains(xId)) {
u.getIntersection(xCells, yId);
}
It is extraneous and guarantees the subsequent assertTrue(u.contains(xId)); on
line 261 will always work even though this is the line that is being ultimately
tested.
```
Original issue reported on code.google.com by `uvico...@gmail.com` on 9 Jul 2013 at 1:39
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.