private Set<AcceptApplication> filterAlias(Set<AcceptApplication> acceptApplicationList) {

        if (acceptApplicationList.size() < 2) {
            return acceptApplicationList;
        }

        final Set<AcceptApplication> resultSet = new HashSet<>();

        for (AcceptApplication acceptApplication : acceptApplicationList) {
            if (!acceptApplication.getApplication().getServiceType().isAlias()) {
                resultSet.add(acceptApplication);
            } else {
                logger.debug("deduct alias application {}", acceptApplication);
            }
        }

        if (resultSet.isEmpty()) {
            return acceptApplicationList;
        } else {
            return resultSet;
        }
    }
Replaces link data pointing to domains into applications if the target has an agent installed.

@author HyunGil Jeong
web/src/main/java/com/navercorp/pinpoint/web/applicationmap/map/processor/RpcCallProcessor.java