Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion allure-jira-commons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ dependencies {
annotationProcessor("org.projectlombok:lombok")
api("com.squareup.retrofit2:converter-jackson")
api("com.squareup.retrofit2:retrofit")
compileOnly("com.github.spotbugs:spotbugs-annotations")
compileOnly("org.projectlombok:lombok")
compileOnly(project(":allure-plugin-api"))
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
*/
package io.qameta.allure.jira.retrofit;

import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.CallAdapter;
Expand Down Expand Up @@ -88,7 +87,6 @@ public retrofit2.Response<T> adapt(final Call<T> call) {
/**
* Call adapter factory for instances.
*/
@SuppressFBWarnings("NP_NONNULL_RETURN_VIOLATION")
private class InstanceCallAdapter implements CallAdapter<T, Object> {

private static final int NOT_FOUND = 404;
Expand Down
3 changes: 1 addition & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ subprojects {
dependencies {
dependency("ch.qos.logback:logback-classic:1.3.15")
dependency("com.beust:jcommander:1.82")
dependency("com.github.spotbugs:spotbugs-annotations:4.8.6")
dependency("com.github.spotbugs:spotbugs:4.8.6")
dependency("com.github.spotbugs:spotbugs:4.9.2")
dependency("com.opencsv:opencsv:5.9")
dependency("com.puppycrawl.tools:checkstyle:10.21.4")
dependency("com.squareup.retrofit2:converter-jackson:${comSquareupRetrofit2Version}")
Expand Down
4 changes: 4 additions & 0 deletions gradle/quality-configs/spotbugs/exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,8 @@
<!-- finalizer methods are pretty much a dead pattern in Java -->
<Bug pattern="CT_CONSTRUCTOR_THROW"/>
</Match>

<Match class="io.qameta.allure.jira.retrofit.DefaultCallAdapterFactory$InstanceCallAdapter">
<Bug pattern="NP_NONNULL_RETURN_VIOLATION"/>
</Match>
</FindBugsFilter>
Loading