Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Jan 24, 2024
1 parent 909592c commit 0cc3fe8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions agent-allure-testng/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ targetCompatibility = JavaVersion.VERSION_11
dependencies {
api 'com.epam.reportportal:agent-java-testng:5.4.0'
implementation 'org.testng:testng:7.9.0'

testImplementation 'com.squareup.okhttp3:okhttp:4.12.0'
}

jar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public static List<SaveLogRQ> extractJsonParts(List<MultipartBody.Part> parts) {
})
.map(b -> {
try {
return HttpRequestUtils.MAPPER.readValue(b, new TypeReference<List<SaveLogRQ>>() {
return HttpRequestUtils.MAPPER.readValue(b, new TypeReference<>() {
});
} catch (IOException e) {
return Collections.<SaveLogRQ>emptyList();
Expand Down

0 comments on commit 0cc3fe8

Please sign in to comment.