From d3c1f9c56b9f30558cffd648fd0b39ff1af0dc40 Mon Sep 17 00:00:00 2001 From: Minecon724 Date: Fri, 4 Oct 2024 18:32:52 +0200 Subject: [PATCH] Rename a function --- src/main/java/eu/m724/PlacedWord.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/m724/PlacedWord.java b/src/main/java/eu/m724/PlacedWord.java index ddcc186..61b950c 100644 --- a/src/main/java/eu/m724/PlacedWord.java +++ b/src/main/java/eu/m724/PlacedWord.java @@ -14,7 +14,7 @@ public record PlacedWord( boolean vertical, Word word ) { - public int wordLength() { + public int length() { return word.word().length(); } }