Skip to content

Commit

Permalink
suppress sonarlint
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Jan 15, 2024
1 parent ec5f768 commit e9b6565
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ private static Set<MediaFormat> getMediaFormatsFromPublicFields(Class<?> type) {
* @deprecated Prevent finalize attack (PMD CT_CONSTRUCTOR_THROW / SEI CERT Rule OBJ-11)
*/
@Override
@SuppressWarnings({ "PMD.EmptyFinalizer", "checkstyle:SuperFinalize", "checkstyle:NoFinalizerCheck" })
@SuppressWarnings({ "PMD.EmptyFinalizer", "checkstyle:SuperFinalize", "checkstyle:NoFinalizerCheck", "java:S1113" })
@Deprecated(since = "2.0.0")
protected final void finalize() {
// do nothing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ else if (type == InputStream.class) {
* @deprecated Prevent finalize attack (PMD CT_CONSTRUCTOR_THROW / SEI CERT Rule OBJ-11)
*/
@Override
@SuppressWarnings({ "PMD.EmptyFinalizer", "checkstyle:SuperFinalize", "checkstyle:NoFinalizerCheck" })
@SuppressWarnings({ "PMD.EmptyFinalizer", "checkstyle:SuperFinalize", "checkstyle:NoFinalizerCheck", "java:S1113" })
@Deprecated(since = "2.0.0")
protected final void finalize() {
// do nothing
Expand Down

0 comments on commit e9b6565

Please sign in to comment.