Commit 4fe616db authored by Svetlana.Zemlyanskaya's avatar Svetlana.Zemlyanskaya
Browse files

FUS: delete deprecated counter collector attribute

parent 2da31cb4
Branches unavailable Tags unavailable
No related merge requests found
Showing with 2 additions and 6 deletions
+2 -6
......@@ -13,15 +13,11 @@ public class CounterUsageCollectorEP extends AbstractExtensionPointBean {
@Attribute("groupId")
public String groupID;
@Deprecated
@Attribute("group_id")
public String legacyGroupID;
@Attribute("version")
public int version;
@Nullable
public String getGroupId() {
return groupID != null ? groupID : legacyGroupID;
return groupID;
}
}
......@@ -124,7 +124,7 @@ public class FUCounterUsageLogger {
@Nullable
private FeatureUsageGroup findRegisteredGroupById(@NotNull String groupId) {
if (!myGroups.containsKey(groupId)) {
LOG.warn("Cannot record event because group is not registered.");
LOG.warn("Cannot record event because group '" + groupId + "' is not registered.");
return null;
}
return myGroups.get(groupId);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment