Skip to content

Commit fb47b33

Browse files
Align class and file names (#460)
Rename `Exercise` class to `LargestSeriesProduct` (matches file name and the class name expected by the tests - in stub file - in reference solution
1 parent a79c9b3 commit fb47b33

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

exercises/practice/largest-series-product/.meta/src/reference/groovy/LargestSeriesProduct.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class Exercise {
1+
class LargestSeriesProduct {
22
static int largestProduct(String digits, final int span) {
33
if (span < 0) throw new IllegalArgumentException("span must not be negative")
44
if (span > digits.length()) throw new IllegalArgumentException("span must be smaller than string length")
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
class Exercise {
1+
class LargestSeriesProduct {
22
static largestProduct(digits, span) {
33
throw new UnsupportedOperationException('Method implementation is missing')
44
}
5-
}
5+
}

0 commit comments

Comments
 (0)