Skip to content

replace to be deprecated JGit's getWhen() in GitRepository #4782

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

Merged
merged 1 commit into from
May 23, 2025

Conversation

vladak
Copy link
Member

@vladak vladak commented May 23, 2025

To update JGit to the newest version (PR #4781), it is necessary to replace the to be deprecated APIs, namely the PersonIdent#getWhen() (eclipse-jgit/jgit@92b35db)

This change will fix the following warning for newer (7.x) JGit versions:

Warning: /Users/runner/work/opengrok/opengrok/opengrok-indexer/src/main/java/org/opengrok/indexer/history/GitRepository.java:[536,48] getWhen() in org.eclipse.jgit.lib.PersonIdent has been deprecated

@vladak vladak added the indexer label May 23, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label May 23, 2025
@vladak vladak merged commit 4e8e3ec into oracle:master May 23, 2025
10 checks passed
@vladak vladak deleted the jgit_author_ident_get_when branch May 23, 2025 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
indexer OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant