Skip to content

Commit 9e023ce

Browse files
kahgohjagdish-15
authored andcommitted
Fix stub exception message in two-bucket (exercism#3023)
The stub exception message for getResult was incorrectly asking students to implement the constructor rather than the getResult method. This commit changes the stub messages to use the more recent format. [no important files changed] Co-authored-by: Jagdish Prajapati <jagadishdrp@gmail.com>
1 parent 09620af commit 9e023ce

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
class TwoBucket {
22

33
TwoBucket(int bucketOneCap, int bucketTwoCap, int desiredLiters, String startBucket) {
4-
throw new UnsupportedOperationException("Please implement the TwoBucket(int, int, int, String) constructor.");
4+
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
55
}
66

77
Result getResult() {
8-
throw new UnsupportedOperationException("Please implement the TwoBucket(int, int, int, String) constructor.");
8+
throw new UnsupportedOperationException("Delete this statement and write your own implementation.");
99
}
1010

1111
}

0 commit comments

Comments
 (0)