Skip to content

Conversation

@switchover
Copy link
Member

@switchover switchover commented Oct 25, 2024

Related to #15

Fix the issue where the --rerun option incorrectly defaults to Java language.

  • Update CodeAnalystFactory.java to throw an exception for unsupported languages.
  • Modify JavaCodeAnalystImpl.java to use the language type from the parsedValue object.
  • Update CliParseProcessorForJava.java to check for language mismatch and print an error message.
  • Update CliParseProcessorForJavaScript.java to check for language mismatch and print an error message.
  • Update CliParseProcessorForCSharp.java to check for language mismatch and print an error message.
  • Update CliParseProcessorForPython.java to check for language mismatch and print an error message.

For more details, open the Copilot Workspace session.

Related to #15

Fix the issue where the `--rerun` option incorrectly defaults to Java language.

* Update `CodeAnalystFactory.java` to throw an exception for unsupported languages.
* Modify `JavaCodeAnalystImpl.java` to use the language type from the `parsedValue` object.
* Update `CliParseProcessorForJava.java` to check for language mismatch and print an error message.
* Update `CliParseProcessorForJavaScript.java` to check for language mismatch and print an error message.
* Update `CliParseProcessorForCSharp.java` to check for language mismatch and print an error message.
* Update `CliParseProcessorForPython.java` to check for language mismatch and print an error message.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/RedCA-Family/code-analyst/issues/15?shareId=XXXX-XXXX-XXXX-XXXX).
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