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

feat: Remove unused legacy methods and refactor project #1404

Merged
merged 3 commits into from
Dec 25, 2023

Conversation

MartinWitt
Copy link
Owner

Removed methods that handle project hash addition and lookup in various classes. Major refactor on RemoteProject, removing methods for adding and retrieving commit hashes. Affected classes include ProjectRepository, ProjectDaoConverter, BadSmellGraphQLTest, and others. Streamlined the handling of projects in the system.

Removed methods that handle project hash addition and lookup in various classes. Major refactor on RemoteProject, removing methods for adding and retrieving commit hashes. Affected classes include ProjectRepository, ProjectDaoConverter, BadSmellGraphQLTest, and others. Streamlined the handling of projects in the system.
Copy link
Contributor

github-actions bot commented Dec 25, 2023

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2023.3.0
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

The 'getRecent' method was removed from both ProjectRepository and SqlProjectRepository because it is no longer necessary. The corresponding test for 'getRecent' was also removed from SqlProjectRepositoryTest.
The ProjectRepository dependency has been removed from the SpoonPeriodicMiner class. The changes also reflect on the constructor, where 'projectRepository' is no longer required as an argument.
Copy link

gitstream-cm bot commented Dec 25, 2023

This PR is 41.00294985250738% new code.

@MartinWitt MartinWitt merged commit 05fdf9c into master Dec 25, 2023
10 checks passed
@MartinWitt MartinWitt deleted the feat/liveFeed branch December 25, 2023 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant