diff --git a/exercises/practice/largest-series-product/.meta/src/reference/groovy/LargestSeriesProduct.groovy b/exercises/practice/largest-series-product/.meta/src/reference/groovy/LargestSeriesProduct.groovy index 050d4f2..8262ce1 100644 --- a/exercises/practice/largest-series-product/.meta/src/reference/groovy/LargestSeriesProduct.groovy +++ b/exercises/practice/largest-series-product/.meta/src/reference/groovy/LargestSeriesProduct.groovy @@ -1,4 +1,4 @@ -class Exercise { +class LargestSeriesProduct { static int largestProduct(String digits, final int span) { if (span < 0) throw new IllegalArgumentException("span must not be negative") if (span > digits.length()) throw new IllegalArgumentException("span must be smaller than string length") diff --git a/exercises/practice/largest-series-product/src/main/groovy/LargestSeriesProduct.groovy b/exercises/practice/largest-series-product/src/main/groovy/LargestSeriesProduct.groovy index 0d899c0..37ffadf 100644 --- a/exercises/practice/largest-series-product/src/main/groovy/LargestSeriesProduct.groovy +++ b/exercises/practice/largest-series-product/src/main/groovy/LargestSeriesProduct.groovy @@ -1,5 +1,5 @@ -class Exercise { +class LargestSeriesProduct { static largestProduct(digits, span) { throw new UnsupportedOperationException('Method implementation is missing') } -} \ No newline at end of file +}