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

RAT-190: Fixes for minor bugs that blocked problem detection #250

Merged
merged 3 commits into from
May 12, 2024

Conversation

Claudenw
Copy link
Contributor

@Claudenw Claudenw commented May 10, 2024

This code is dependant upon #246 and should not be merged until that one is merged.
This is not a fix for Rat-190 as that issue was solved with the Tika introduction.
This change fixes some issues with the current source code.

  • --list-licenses not working.
  • null command line argument erroring out strangly
  • multiple typos
  • error mixing standard XML and configuration XML reports in one run.

@Claudenw Claudenw requested a review from ottlinger May 10, 2024 21:34
@Claudenw Claudenw self-assigned this May 10, 2024
@Claudenw Claudenw marked this pull request as ready for review May 10, 2024 21:34
return new ClaimReporterMultiplexer(configuration.isDryRun(), analysisMultiplexer, reporters);
return new ClaimReporterMultiplexer(writer, configuration.isDryRun(), analysisMultiplexer, reporters);
}

Copy link
Contributor

@ottlinger ottlinger May 11, 2024

Choose a reason for hiding this comment

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

LHF: Pls reformat this class.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

LHF? what does that mean?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sry, Low Hanging Fruit (LHF) - I use this abbreviation in commits or reviews in case of minor details or simple things.

Copy link
Contributor

@ottlinger ottlinger left a comment

Choose a reason for hiding this comment

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

Seems fine to me. Thanks for your efforts.

@@ -160,7 +160,7 @@ public String desc() {
* Name of File to exclude from report consideration.
*/
static final Option EXCLUDE_CLI = Option.builder("e").longOpt("exclude").hasArgs().argName("Expression")
.desc("Excludes files matching wildcard <expression>. May be followed by multiple arguments. "
.desc("Excludes files matching wildcard <Expression>. May be followed by multiple arguments. "
Copy link
Contributor

Choose a reason for hiding this comment

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

Pls update the site template to keep its text in sync with the stuff in the code. Should we add a javadoc in this class on where to keep it in sync with in case of changes?

@Claudenw Claudenw merged commit e5df033 into apache:master May 12, 2024
16 checks passed
@Claudenw Claudenw deleted the RAT-190_js_not_parsed branch May 12, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants