Skip to content

Commit

Permalink
removed unused imports and dependency #EA-4015
Browse files Browse the repository at this point in the history
  • Loading branch information
gsergiu committed Dec 16, 2024
1 parent d57a580 commit 0c3ae1e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 15 deletions.
2 changes: 2 additions & 0 deletions set-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,13 @@

<!-- To fix : "Provider for jakarta.ws.rs.ext.RuntimeDelegate cannot be found error"
This issue is tagged with version 2.30 but it doesn't look like it was ever fixed in newer versions as well-->
<!--
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-common</artifactId>
<version>3.1.2</version>
</dependency>
-->

<!-- test dependencies -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package eu.europeana.set.client.json;

import java.io.IOException;
import org.apache.commons.lang3.StringUtils;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.DeserializationContext;
import com.fasterxml.jackson.databind.JsonDeserializer;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import eu.europeana.set.definitions.model.UserSet;
import eu.europeana.set.definitions.model.impl.BaseUserSet;
import org.apache.commons.lang3.StringUtils;

import java.io.IOException;

/**
* Used for Deserializing UserSet.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

import static org.junit.jupiter.api.Assertions.assertEquals;
import java.io.IOException;

import eu.europeana.set.client.exception.SetApiClientException;
import eu.europeana.set.definitions.model.UserSet;
import org.apache.hc.core5.http.HttpStatus;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import eu.europeana.set.client.exception.SetApiClientException;


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,11 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import java.io.IOException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

import eu.europeana.set.client.exception.SetApiClientException;
import eu.europeana.set.definitions.model.UserSet;
import org.apache.hc.core5.http.HttpStatus;
import org.apache.hc.core5.http.io.entity.EntityUtils;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import eu.europeana.set.client.exception.SetApiClientException;
import eu.europeana.set.definitions.model.UserSet;

/**
* This class aims at testing of the annotation methods.
Expand All @@ -21,8 +17,6 @@
@Disabled
public class WebUserSetProtocolTest extends BaseWebUserSetProtocol {

private static final String USER_SET_PATH = "http://data.europeana.eu/set/";

@Test
public void createUserSet() throws SetApiClientException, IOException {
String setId = createTestUserSet(USER_SET_CONTENT, null);
Expand Down

0 comments on commit 0c3ae1e

Please sign in to comment.