mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-15 14:03:17 +00:00
Merged in CST-12463-coar-fix-checkstyle-issues (pull request #1246)
CST-12463 checkstyle! Approved-by: Andrea Bollini
This commit is contained in:
@@ -10,9 +10,8 @@ package org.dspace.app.rest.model;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
import org.dspace.app.rest.RestResourceController;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import org.dspace.app.rest.RestResourceController;
|
||||
|
||||
/**
|
||||
* The NotifyServiceEntity REST Resource
|
||||
@@ -114,5 +113,4 @@ public class NotifyServiceRest extends BaseObjectRest<Integer> {
|
||||
this.score = score;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@@ -13,12 +13,10 @@ import java.io.IOException;
|
||||
import java.sql.SQLException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.List;
|
||||
import javax.servlet.ServletInputStream;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
import org.dspace.app.ldn.NotifyServiceEntity;
|
||||
import org.dspace.app.ldn.NotifyServiceInboundPattern;
|
||||
import org.dspace.app.ldn.NotifyServiceOutboundPattern;
|
||||
@@ -39,10 +37,8 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.domain.Page;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.springframework.data.rest.webmvc.ResourceNotFoundException;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.springframework.web.server.ResponseStatusException;
|
||||
|
||||
/**
|
||||
* This is the repository responsible to manage NotifyService Rest object
|
||||
|
@@ -31,9 +31,9 @@ import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.atomic.AtomicReference;
|
||||
|
||||
import javax.ws.rs.core.MediaType;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
import org.apache.commons.lang3.RandomUtils;
|
||||
import org.dspace.app.ldn.NotifyServiceEntity;
|
||||
import org.dspace.app.rest.model.NotifyServiceInboundPatternRest;
|
||||
@@ -49,8 +49,6 @@ import org.dspace.builder.NotifyServiceBuilder;
|
||||
import org.dspace.builder.NotifyServiceInboundPatternBuilder;
|
||||
import org.junit.Test;
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||
|
||||
/**
|
||||
* Integration test class for {@link NotifyServiceRestRepository}.
|
||||
*
|
||||
|
Reference in New Issue
Block a user