DescriptionExtract a thread-safe implementation of Lister from AdaptorLister.
The Connector Manager has a race condition when calling start and
shutdown. This was fixed in AdaptorLister (then GroupLister) in commit
3d825b0. The intent is for the new AbstractLister abstract class to be
moved to Connector Manager as an improvement over the bare Lister
interface.
I gave up trying to get git diff -C -C to recognize the copies of the
extracted files. Instead, I am using multiple patch sets.
Patch set 1:
AbstractLister.java: an unedited copy of AdaptorLister.java
AbstractListerTest.java: a copy of the edited AdaptorListerTest.java
AdaptorListerTest.java: edited to cleanup leftovers from commit 9f052d6
Patch set 2:
AbstractLister.java: extracted the thread-safe start and shutdown methods
AdaptorLister.java: reduced to just the new init, run, and destroy methods
AbstractListerTest.java: edited to avoid using an Adaptor for testing
AdaptorListerTest.java: no changes
Patch Set 1 #Patch Set 2 : Extract AbstractLister #
Total comments: 6
Patch Set 3 : Code review comments #
MessagesTotal messages: 8
|