Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to add multiple schemas #191

Merged
merged 1 commit into from
Aug 4, 2023
Merged

Option to add multiple schemas #191

merged 1 commit into from
Aug 4, 2023

Conversation

AntonioG70
Copy link
Contributor

No description provided.

@AntonioG70 AntonioG70 requested a review from hmiguim August 4, 2023 15:54
@AntonioG70 AntonioG70 linked an issue Aug 4, 2023 that may be closed by this pull request
final String[] representation, final boolean targetOnly,
final String sipID, final String[] ancestors, final String[] documentation, final String softwareVersion,
final String path, final String submitterAgentName, final String submitterAgentID, final String checksum)
final String[] representation, String[] metadataSchema, final boolean targetOnly,
Copy link

Choose a reason for hiding this comment

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

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck> reported by reviewdog 🐶
Parameter metadataSchema should be final.

final String[] representation, final boolean targetOnly,
final String sipID, final String[] ancestors, final String[] documentation, final String softwareVersion,
final String path, final String submitterAgentName, final String submitterAgentID, final String checksum)
final String[] representation, String[] metadataSchema, final boolean targetOnly,
Copy link

Choose a reason for hiding this comment

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

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.coding.FinalLocalVariableCheck> reported by reviewdog 🐶
Variable 'metadataSchema' should be declared final.

final String sipID, final String[] ancestors, final String[] documentation, final String softwareVersion,
final String path, final String submitterAgentName, final String submitterAgentID, final String checksum)
final String[] representation, String[] metadataSchema, final boolean targetOnly,
final String sipID, final String[] ancestors, final String[] documentation, final String softwareVersion,
Copy link

Choose a reason for hiding this comment

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

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck> reported by reviewdog 🐶
Line is longer than 120 characters (found 141).

final String path, final String submitterAgentName, final String submitterAgentID, final String checksum)
final String[] representation, String[] metadataSchema, final boolean targetOnly,
final String sipID, final String[] ancestors, final String[] documentation, final String softwareVersion,
final String path, final String submitterAgentName, final String submitterAgentID, final String checksum)
Copy link

Choose a reason for hiding this comment

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

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck> reported by reviewdog 🐶
Line is longer than 120 characters (found 141).

@@ -214,6 +209,11 @@ public static Path createEARK2SIP(final String[] metadata,
CLIUtils.printErrors(System.out, "Cannot add metadata to the SIP.");
}
}
if (metadataSchema != null){
Copy link

Choose a reason for hiding this comment

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

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck> reported by reviewdog 🐶
'{' is not preceded with whitespace.

@@ -214,6 +209,11 @@ public static Path createEARK2SIP(final String[] metadata,
CLIUtils.printErrors(System.out, "Cannot add metadata to the SIP.");
}
}
if (metadataSchema != null){
for(String schema : metadataSchema){
Copy link

Choose a reason for hiding this comment

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

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck> reported by reviewdog 🐶
'for' is not followed by whitespace.

@@ -214,6 +209,11 @@ public static Path createEARK2SIP(final String[] metadata,
CLIUtils.printErrors(System.out, "Cannot add metadata to the SIP.");
}
}
if (metadataSchema != null){
for(String schema : metadataSchema){
Copy link

Choose a reason for hiding this comment

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

⚠️ [checkstyle] <com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck> reported by reviewdog 🐶
'{' is not preceded with whitespace.

@hmiguim hmiguim merged commit 995efc9 into master Aug 4, 2023
1 check passed
@hmiguim hmiguim deleted the alindo-dev-178-2 branch August 4, 2023 16:00
@hmiguim hmiguim added this to the 2.4.0 milestone Oct 3, 2023
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.

Missing ead2002.xsd at schemas subdir
2 participants