]> source.dussan.org Git - jgit.git/commit
Implementors should override Repository#notifyIndexChanged(boolean) 71/122971/1
authorJonathan Nieder <jrn@google.com>
Fri, 18 May 2018 16:16:16 +0000 (09:16 -0700)
committerJonathan Nieder <jrn@google.com>
Fri, 18 May 2018 16:22:30 +0000 (09:22 -0700)
commit8c580dd4c02213020d5a928df332a6641d066328
treec603aa0239600e822ef58aeec3657cb8c6ae4d3f
parentca79b3d4af748c626d2b35d7404ef49983dfe917
Implementors should override Repository#notifyIndexChanged(boolean)

Declare Repository#notifyIndexChanged() final and
Repository#notifyIndexChanged(boolean) abstract to force implementors
to switch to overriding the latter method.  This makes Repository less
error-prone to extend since implementors no longer need to remember to
override one of those two methods.

Change-Id: I721db0f4a4865db3b35212ee0a2045d5b31c96af
Signed-off-by: Jonathan Nieder <jrn@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java