Skip to content

Commit 6d2c716

Browse files
committed
Remove comments
1 parent 6b41ef6 commit 6d2c716

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

agent/agent-profiler/agent-diagnostics-jfr/src/main/java/com/microsoft/applicationinsights/diagnostics/jfr/MachineStats.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ public static MachineStats fromJson(JsonReader jsonReader) throws IOException {
6565
while (reader.nextToken() != JsonToken.END_OBJECT) {
6666
String fieldName = reader.getFieldName();
6767
reader.nextToken();
68-
// In this case field names are case-sensitive but this could be replaced with
69-
// 'equalsIgnoreCase' to
70-
// make them case-insensitive.
7168
if ("contextSwitchesPerMs".equals(fieldName)) {
7269
deserializedValue.setContextSwitchesPerMs(reader.getDouble());
7370
} else if ("coreCount".equals(fieldName)) {

agent/agent-profiler/agent-diagnostics-jfr/src/main/java/com/microsoft/applicationinsights/diagnostics/jfr/Telemetry.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,6 @@ public static Telemetry fromJson(JsonReader jsonReader) throws IOException {
8585
while (reader.nextToken() != JsonToken.END_OBJECT) {
8686
String fieldName = reader.getFieldName();
8787
reader.nextToken();
88-
// In this case field names are case-sensitive but this could be replaced with
89-
// 'equalsIgnoreCase' to
90-
// make them case-insensitive.
9188
if ("version".equals(fieldName)) {
9289
deserializedValue.setVersion(reader.getInt());
9390
} else if ("telemetry".equals(fieldName)) {

0 commit comments

Comments
 (0)