Skip to content

Commit 8920715

Browse files
committed
fix: move SuppressFBWarnings annotation to the package declaration for event and json packages
1 parent 099155b commit 8920715

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/com/github/copilot/sdk/events/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
*--------------------------------------------------------------------------------------------*/
44

5-
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(value = "EI_EXPOSE_REP2", justification = "DTOs for JSON deserialization - low risk")
65
/**
76
* Event types emitted during Copilot session processing.
87
*
@@ -88,4 +87,5 @@
8887
* @see com.github.copilot.sdk.CopilotSession#on(java.util.function.Consumer)
8988
* @see com.github.copilot.sdk.events.AbstractSessionEvent
9089
*/
90+
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(value = "EI_EXPOSE_REP2", justification = "DTOs for JSON deserialization - low risk")
9191
package com.github.copilot.sdk.events;

src/main/java/com/github/copilot/sdk/json/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* Copyright (c) Microsoft Corporation. All rights reserved.
33
*--------------------------------------------------------------------------------------------*/
44

5-
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(value = "EI_EXPOSE_REP2", justification = "DTOs for JSON deserialization - low risk")
65
/**
76
* Configuration classes and data transfer objects for the Copilot SDK.
87
*
@@ -92,4 +91,5 @@
9291
* @see com.github.copilot.sdk.CopilotClient
9392
* @see com.github.copilot.sdk.CopilotSession
9493
*/
94+
@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(value = "EI_EXPOSE_REP2", justification = "DTOs for JSON deserialization - low risk")
9595
package com.github.copilot.sdk.json;

0 commit comments

Comments
 (0)