Skip to content

Commit 656dca2

Browse files
committed
common: AFUNIXSocketCredentials: Add PMD warning
1 parent b5630c5 commit 656dca2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎junixsocket-common/src/main/java/org/newsclub/net/unix/AFUNIXSocketCredentials.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public long getGid() {
9696
*
9797
* @return The gids, or null.
9898
*/
99+
@SuppressWarnings("PMD.ReturnEmptyCollectionRatherThanNull")
99100
public long[] getGids() {
100101
return gids == null ? null : gids.clone();
101102
}

0 commit comments

Comments
 (0)