Fix bugs: stroke condition, logging typo, NPE in clone(), mutable bounds
This commit is contained in:
@@ -39,7 +39,7 @@ public class SCollection extends AbstractShape implements Streamable<Shape> {
|
||||
for (Shape s : children) bounds = bounds.union(s.getBounds());
|
||||
return bounds;
|
||||
} catch (IndexOutOfBoundsException e){
|
||||
logger.error("getBounds(): {e}", e);
|
||||
logger.error("getBounds(): {}", e);
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user