Skip to content

remove scripting api's marked as unused#9

Open
adamkorynta wants to merge 5 commits into
mainfrom
feature/remove_unused_apis
Open

remove scripting api's marked as unused#9
adamkorynta wants to merge 5 commits into
mainfrom
feature/remove_unused_apis

Conversation

@adamkorynta

Copy link
Copy Markdown
Collaborator

to ensure removed api's still allow the application to compile, the gradle build and github actions were added for the CI/CD check

to ensure removed api's still allow the application to compile, the gradle build and github actions were added for the CI/CD check
@adamkorynta adamkorynta requested review from a team and krowvin June 29, 2026 22:47

@krowvin krowvin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unsure of the args, up to you if that needs a fix!

Comment on lines -89 to +93
ManagerId managerId = factory.getManagerId(opt);
RegiDomain regiDomain = factory.createDomain(opt, managerId);
ManagerId managerId = factory.getManagerId();
RegiDomain regiDomain = factory.createDomain();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But then here they are not used?

Wasn't sure if the intent was to allow them for backwards compatibility but just use the env. Might be confusing though going forward?

I might throw a warning if that was the intent.

private static void runHeadless(CmdLineParser parser, String[] args, CLIOptions opt)
throws DbConnectionException, InvalidDbConnectionException, CmdLineException, DbPluginNotFoundException,
IOException {
parser.parseArgument(args);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Args appear to be exposed here still, possibly for backwards compat?

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