-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #21: ensure that inner classes don't reference JGit objects
Gitblit uses a few inner anonymous classes in some pages. Ensure that those do not hold references to JGit RevCommits to avoid that they get serialized when the page is. The usage of serialized inner anonymous classes is an anti-pattern in Wicket programming and is discouraged in the Java serialization spec, but cleaning this up properly would amount to a larger refactoring than can be done in this plugin (and also larger than I'm willing to do).
- Loading branch information
Showing
3 changed files
with
32 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters