Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
4fe616db
Commit
4fe616db
authored
6 years ago
by
Svetlana.Zemlyanskaya
Browse files
Options
Download
Email Patches
Plain Diff
FUS: delete deprecated counter collector attribute
parent
2da31cb4
Branches unavailable
Tags unavailable
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
platform/platform-impl/src/com/intellij/internal/statistic/service/fus/collectors/CounterUsageCollectorEP.java
+1
-5
...istic/service/fus/collectors/CounterUsageCollectorEP.java
platform/platform-impl/src/com/intellij/internal/statistic/service/fus/collectors/FUCounterUsageLogger.java
+1
-1
...tatistic/service/fus/collectors/FUCounterUsageLogger.java
with
2 additions
and
6 deletions
+2
-6
platform/platform-impl/src/com/intellij/internal/statistic/service/fus/collectors/CounterUsageCollectorEP.java
+
1
-
5
View file @
4fe616db
...
...
@@ -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
;
}
}
This diff is collapsed.
Click to expand it.
platform/platform-impl/src/com/intellij/internal/statistic/service/fus/collectors/FUCounterUsageLogger.java
+
1
-
1
View file @
4fe616db
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help