Search in sources :

Example 1 with PatchedUsage

use of com.intellij.internal.statistic.beans.PatchedUsage in project intellij-community by JetBrains.

the class StatisticsUploadAssistantTest method createPatchDescriptor.

private static void createPatchDescriptor(Map<GroupDescriptor, Set<PatchedUsage>> patchedUsages, String groupId, double priority, String key, int i) {
    final GroupDescriptor groupDescriptor = GroupDescriptor.create(groupId, priority);
    if (!patchedUsages.containsKey(groupDescriptor)) {
        patchedUsages.put(groupDescriptor, new LinkedHashSet<>());
    }
    patchedUsages.get(groupDescriptor).add(new PatchedUsage(key, i));
}
Also used : PatchedUsage(com.intellij.internal.statistic.beans.PatchedUsage) GroupDescriptor(com.intellij.internal.statistic.beans.GroupDescriptor)

Aggregations

GroupDescriptor (com.intellij.internal.statistic.beans.GroupDescriptor)1 PatchedUsage (com.intellij.internal.statistic.beans.PatchedUsage)1