Skip to content

Moved ensureBatched and service delivery functions out of Main class#77

Merged
JSantosP merged 2 commits intomasterfrom
split-detect-card
Apr 5, 2022
Merged

Moved ensureBatched and service delivery functions out of Main class#77
JSantosP merged 2 commits intomasterfrom
split-detect-card

Conversation

@JSantosP
Copy link
Copy Markdown
Member

@JSantosP JSantosP commented Apr 4, 2022

No description provided.

@JSantosP JSantosP added the enhancement New feature or request label Apr 4, 2022
@JSantosP JSantosP self-assigned this Apr 4, 2022
Copy link
Copy Markdown
Member

@sergkh sergkh left a comment

Choose a reason for hiding this comment

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

Good job!

System.out.format("OS type: %s (platform v%d)%n", platform, platformVersion);

ensureBatched(bibo, client, fidesmoMetadata.get());
fidesmoMetadata.get().ensureBatched(bibo, client, Optional.ofNullable(args.valueOf(OPT_TIMEOUT)),args.has(OPT_IGNORE_IMPLICIT_BATCHING),getCommandLineFormHandler());
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

IMO Would be nice to refactor Optional.ofNullable(args.valueOf(OPT_TIMEOUT)) and args.has(OPT_IGNORE_IMPLICIT_BATCHING) into some var/function to avoid duplication

@JSantosP JSantosP merged commit 553c571 into master Apr 5, 2022
@JSantosP JSantosP deleted the split-detect-card branch April 5, 2022 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants