This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/master by this push:
new 7d5d8b4 fix MissingCasesInEnumSwitch (#5595)
7d5d8b4 is described below
commit 7d5d8b43359919be2dcfb881fb007b34522ff68e
Author: Kdump <[email protected]>
AuthorDate: Thu Oct 1 07:09:50 2020 +0800
fix MissingCasesInEnumSwitch (#5595)
Non-exhaustive switch; either add a default or handle the remaining cases:
VALUE, UNKNOWN
Co-authored-by: 吴晟 Wu Sheng <[email protected]>
---
.../apache/skywalking/apm/meter/micrometer/SkywalkingMeterRegistry.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/apm-application-toolkit/apm-toolkit-micrometer-registry/src/main/java/org/apache/skywalking/apm/meter/micrometer/SkywalkingMeterRegistry.java
b/apm-application-toolkit/apm-toolkit-micrometer-registry/src/main/java/org/apache/skywalking/apm/meter/micrometer/SkywalkingMeterRegistry.java
index 5ece4f8..5919f67 100644
---
a/apm-application-toolkit/apm-toolkit-micrometer-registry/src/main/java/org/apache/skywalking/apm/meter/micrometer/SkywalkingMeterRegistry.java
+++
b/apm-application-toolkit/apm-toolkit-micrometer-registry/src/main/java/org/apache/skywalking/apm/meter/micrometer/SkywalkingMeterRegistry.java
@@ -126,6 +126,8 @@ public class SkywalkingMeterRegistry extends MeterRegistry {
case DURATION:
meterName = baseName + "_duration_sum";
break;
+ default:
+ break;
}
if (isCounter) {