package io.moquette.logging; import java.util.ArrayList; import java.util.Collection; import io.moquette.interception.InterceptHandler; public class LoggingUtils { public static Collection getInterceptorIds(Collection handlers) { Collection result = new ArrayList<>(handlers.size()); for (T handler : handlers) { result.add(handler.getID()); } return result; } }