Skip to content

Commit 0f22f07

Browse files
committed
Add assert
1 parent 7c5e387 commit 0f22f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/ProfilerResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public Map<String, Object> shortSummaryMap() {
275275
Map<String, Object> result = new LinkedHashMap<>();
276276
result.put("executionId", Assert.assertNotNull(executionId).toString());
277277
result.put("operationName", operationName);
278-
result.put("operationType", operationType.toString());
278+
result.put("operationType", Assert.assertNotNull(operationType).toString());
279279
result.put("startTimeNs", startTime);
280280
result.put("endTimeNs", endTime);
281281
result.put("totalRunTimeNs", endTime - startTime);

0 commit comments

Comments
 (0)