Skip to content

Conversation

@darbyluv2code
Copy link
Owner

Fixes compilation error in Section 04 behavioral design patterns.

Issue

The file was named GameScoreBoardServer.java (capital B) but the class inside was declared as GameScoreboardServer (lowercase b). This caused a compilation error in Java 25.

Fix

Renamed file to GameScoreboardServer.java to match the class name.

Error Message (Before Fix)

class GameScoreboardServer is public, should be declared in a file named GameScoreboardServer.java

@darbyluv2code darbyluv2code merged commit 5555921 into main Jan 2, 2026
@darbyluv2code darbyluv2code deleted the fix/observer-class-filename-mismatch branch January 2, 2026 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants