Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

At pull prevent silent listener override #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

At pull prevent silent listener override #4

wants to merge 4 commits into from

Conversation

stewartoallen
Copy link

"ls" change snuck in -- please accept with this PR

if (listeners.put(fileName, listener) != null) {
log.error("preventing override of file listener for {}", fileName);
return;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't actually entirely prevent the override. It will still put the new listener into the local map.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants