|
10 | 10 | ******************************************************************************/
|
11 | 11 | package com.redhat.devtools.intellij.telemetry.core.service;
|
12 | 12 |
|
13 |
| -import com.intellij.ide.AppLifecycleListener; |
14 |
| -import com.intellij.openapi.application.ApplicationManager; |
15 |
| -import com.intellij.openapi.components.ComponentManager; |
16 |
| -import com.intellij.openapi.components.ServiceManager; |
17 |
| -import com.intellij.openapi.diagnostic.Logger; |
18 |
| -import com.intellij.util.messages.MessageBusConnection; |
19 |
| -import com.redhat.devtools.intellij.telemetry.core.ITelemetryService; |
20 |
| -import com.redhat.devtools.intellij.telemetry.core.util.TimeUtils; |
| 13 | +import static com.redhat.devtools.intellij.telemetry.core.service.TelemetryEvent.Type.ACTION; |
| 14 | +import static com.redhat.devtools.intellij.telemetry.core.service.TelemetryEvent.Type.SHUTDOWN; |
| 15 | +import static com.redhat.devtools.intellij.telemetry.core.service.TelemetryEvent.Type.STARTUP; |
| 16 | +import static com.redhat.devtools.intellij.telemetry.core.util.AnonymizeUtils.anonymize; |
| 17 | +import static com.redhat.devtools.intellij.telemetry.core.util.TimeUtils.toLocalTime; |
21 | 18 |
|
22 | 19 | import java.time.Duration;
|
23 | 20 | import java.time.LocalDateTime;
|
24 | 21 | import java.util.HashMap;
|
25 | 22 | import java.util.Map;
|
26 | 23 |
|
27 |
| -import static com.redhat.devtools.intellij.telemetry.core.service.TelemetryEvent.Type; |
28 |
| -import static com.redhat.devtools.intellij.telemetry.core.service.TelemetryEvent.Type.ACTION; |
29 |
| -import static com.redhat.devtools.intellij.telemetry.core.service.TelemetryEvent.Type.SHUTDOWN; |
30 |
| -import static com.redhat.devtools.intellij.telemetry.core.service.TelemetryEvent.Type.STARTUP; |
31 |
| -import static com.redhat.devtools.intellij.telemetry.core.util.AnonymizeUtils.anonymize; |
32 |
| -import static com.redhat.devtools.intellij.telemetry.core.util.TimeUtils.toLocalTime; |
| 24 | +import com.intellij.ide.AppLifecycleListener; |
| 25 | +import com.intellij.openapi.application.ApplicationManager; |
| 26 | +import com.intellij.openapi.diagnostic.Logger; |
| 27 | +import com.intellij.util.messages.MessageBusConnection; |
| 28 | +import com.redhat.devtools.intellij.telemetry.core.ITelemetryService; |
| 29 | +import com.redhat.devtools.intellij.telemetry.core.service.TelemetryEvent.Type; |
| 30 | +import com.redhat.devtools.intellij.telemetry.core.util.TimeUtils; |
33 | 31 |
|
34 | 32 | public class TelemetryMessageBuilder {
|
35 | 33 |
|
|
0 commit comments