Nit ("sonarcloud" suggestion).

This commit is contained in:
Gilles Sadowski 2021-07-18 16:36:05 +02:00
parent f9c0a8b678
commit 647e1e36cd
1 changed files with 1 additions and 3 deletions

View File

@ -127,8 +127,7 @@ class ChineseRings {
* @return the iterable.
*/
public Iterable<double[]> createIterable() {
return () -> {
return new Iterator<double[]>() {
return () -> new Iterator<double[]>() {
/** Data. */
private final Vector3D[] points = getPoints();
/** Number of samples. */
@ -155,6 +154,5 @@ class ChineseRings {
throw new UnsupportedOperationException();
}
};
};
}
}