diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-06 23:27:09 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2017-12-06 23:27:52 +0900 |
commit | 239043e59d78b6c8661eb9fcd51189887c081770 (patch) | |
tree | f16d274ba3594a7e43a520d3aefc530e847228fd /org.eclipse.jgit.pgm/src | |
parent | 2f0a880bd6209132b72a0a896054864a22d9f24f (diff) | |
download | jgit-239043e59d78b6c8661eb9fcd51189887c081770.tar.gz jgit-239043e59d78b6c8661eb9fcd51189887c081770.zip |
LfsStore: Make inner class AppServer static
FindBugs reports:
This class is an inner class, but does not use its embedded reference
to the object which created it. This reference makes the instances
of the class larger, and may keep the reference to the creator object
alive longer than necessary. If possible, the class should be made
static.
Change-Id: I245e44678166176de0cfb275e22ddd159f88e0bd
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/src')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java index 5839f3395b..9dc47210db 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/LfsStore.java @@ -82,7 +82,7 @@ class LfsStore extends TextBuiltin { /** * Tiny web application server for testing */ - class AppServer { + static class AppServer { private final Server server; |