Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
ieuna committed Jun 13, 2024
1 parent cf72deb commit 1a37d68
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/verify-backend-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:
push:
branches:
- main
- feat/backend-service

pull_request:
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,5 @@ public Builder data(String data) {
public Builder self() {
return this;
}

@Override
public Content build() {
super.build();

return entity;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

import java.util.Map;

import static java.util.Objects.requireNonNull;

@JsonDeserialize(builder = Transfer.Builder.class)
public class Transfer extends Entity {

Expand Down Expand Up @@ -98,6 +100,10 @@ public Builder self() {
@Override
public Transfer build() {
super.build();
requireNonNull(entity.id);
requireNonNull(entity.endpoint);
requireNonNull(entity.authKey);
requireNonNull(entity.authCode);
return entity;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

package org.eclipse.tractusx.mxd.backendservice.service;

import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.Response;
import org.eclipse.edc.spi.http.EdcHttpClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
@ExtensionPoint
public interface TransferStoreService {

String CONTRACT_EXISTS = "Transfer with ID %s already exists";
String CONTRACT_NOT_FOUND = "Transfer with ID %s not found";

/**
Expand Down

0 comments on commit 1a37d68

Please sign in to comment.