From b0ee622d2a6630d49816e63e8dbfe20881ee398a Mon Sep 17 00:00:00 2001 From: Kah Goh Date: Wed, 24 Sep 2025 16:45:18 +0800 Subject: [PATCH] Fix stub exception message in two-bucket 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] --- exercises/practice/two-bucket/src/main/java/TwoBucket.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/two-bucket/src/main/java/TwoBucket.java b/exercises/practice/two-bucket/src/main/java/TwoBucket.java index 5cd0e4d87..1bc771a94 100644 --- a/exercises/practice/two-bucket/src/main/java/TwoBucket.java +++ b/exercises/practice/two-bucket/src/main/java/TwoBucket.java @@ -1,11 +1,11 @@ class TwoBucket { TwoBucket(int bucketOneCap, int bucketTwoCap, int desiredLiters, String startBucket) { - throw new UnsupportedOperationException("Please implement the TwoBucket(int, int, int, String) constructor."); + throw new UnsupportedOperationException("Delete this statement and write your own implementation."); } Result getResult() { - throw new UnsupportedOperationException("Please implement the TwoBucket(int, int, int, String) constructor."); + throw new UnsupportedOperationException("Delete this statement and write your own implementation."); } }