Skip to content

Fix warning - #78

Merged
xuwei-k merged 1 commit into
gitbucket:masterfrom
xuwei-k:defining-warn
Oct 6, 2026
Merged

xuwei-k merged 1 commit into
gitbucket:masterfrom
xuwei-k:defining-warn

Conversation

@xuwei-k

@xuwei-k xuwei-k commented Oct 4, 2026

Copy link
Copy Markdown
Member
[warn] /home/runner/work/gitbucket-explorer-plugin/gitbucket-explorer-plugin/src/main/scala/io/github/gitbucket/explorer/controllers/ExplorerController.scala:39:40: method defining in object SyntaxSugars is deprecated (since 4.36.0): Use scala.util.Try instead
[warn]           case (objectId, revision) => defining(JGitUtil.getRevCommitFromId(git, objectId)) { _ =>
[warn]                                        ^
[warn] one warning found

https://github.com/gitbucket/gitbucket/blob/a938519d08f94af4b254cfe644a901bf5e77a1fa/src/main/scala/gitbucket/core/util/SyntaxSugars.scala#L8-L9

@xuwei-k
xuwei-k requested a review from takezoe as a code owner October 4, 2026 23:33
@xuwei-k
xuwei-k merged commit 825da64 into gitbucket:master Oct 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant