Skip to content

Refactor Main entrypoint class structure#1

Open
sanjoy-sust wants to merge 1 commit into
masterfrom
codex/create-pr-for-main-branch-review
Open

Refactor Main entrypoint class structure#1
sanjoy-sust wants to merge 1 commit into
masterfrom
codex/create-pr-for-main-branch-review

Conversation

@sanjoy-sust
Copy link
Copy Markdown
Owner

Motivation

  • Make Main explicitly non-instantiable and clarify its role as a pure entrypoint/utility class.

Description

  • Change src/Main.java to public final class Main and add a private constructor while preserving the main method that calls Terminal.rootTask(), and apply minor formatting cleanup.

Testing

  • Ran javac -cp 'lib/*' src/Main.java which failed because com.offCard.Terminal is not present in the repository classpath.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant