]> source.dussan.org Git - jgit.git/commit
InMemoryRepository: Make inner class MemObjDatabase static 52/112952/3
authorDavid Pursehouse <david.pursehouse@gmail.com>
Wed, 6 Dec 2017 14:31:38 +0000 (23:31 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Tue, 12 Dec 2017 05:39:21 +0000 (00:39 -0500)
commitc40e1507900e00b37c7dd07407b7fa32f557a9a7
tree4a76b340b7b9aa1ee71ed7ad816492df0755659c
parent623851ec16ab3dc590dd2fb6a6197285dee9c6f7
InMemoryRepository: Make inner class MemObjDatabase 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: I9f49de32b4cd81b7ef1239b390353689263bf66e
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/InMemoryRepository.java