use of com.intellij.openapi.vcs.checkin.BaseCheckinHandlerFactory in project intellij-community by JetBrains.
the class CheckinHandlersManagerImpl method getRegisteredCheckinHandlerFactories.
@Override
public List<BaseCheckinHandlerFactory> getRegisteredCheckinHandlerFactories(AbstractVcs<?>[] allActiveVcss) {
final List<BaseCheckinHandlerFactory> list = new ArrayList<>(myRegisteredBeforeCheckinHandlers.size() + allActiveVcss.length);
for (AbstractVcs vcs : allActiveVcss) {
final Collection<VcsCheckinHandlerFactory> factories = myVcsMap.get(vcs.getKeyInstanceMethod());
if (!factories.isEmpty()) {
list.addAll(factories);
}
}
list.addAll(myRegisteredBeforeCheckinHandlers);
return list;
}
Aggregations