Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiter committed Mar 31, 2022
1 parent a3ee9fa commit 75b54fe
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
*
* <p>Provides direct access to viewer for external call. Can be overwritten with custom behaviour.
*/
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Controller
public class ExtendedViewController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.springframework.web.bind.annotation.RequestParam;

/** Controller for serving different view pages. */
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Controller
public class ViewController {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
* Small component to allow for convenient measurements of image data operations.
*/
/** Small component to allow for convenient measurements of image data operations. */
@Component
public class ImageMetrics {
public enum ImageDataOp {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* Manifest instance.
*/
@Repository
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Deprecated(forRemoval = true) // Will be gone with the next major version
public class PresentationRepositoryImpl implements PresentationRepository {

private static final String COLLECTION_PREFIX = "collection-";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import java.time.Instant;

/** Interface to be implemented by project/user of this library. */
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Deprecated(forRemoval = true) // Will be gone with the next major version
public interface PresentationRepository {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import org.springframework.stereotype.Service;

@Service
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Deprecated(forRemoval = true) // Will be gone with the next major version
public class PresentationServiceImpl implements PresentationService {

private final PresentationRepository presentationRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

/** Service responsible for deciding if object (identified by identifier) is accessible. */
public interface PresentationSecurityService {
@Deprecated(forRemoval = true) // Will be gone with the next major version

@Deprecated(forRemoval = true) // Will be gone with the next major version
boolean isAccessAllowed(String identifier);

default boolean isAccessAllowed(String identifier, HttpServletRequest req) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import java.time.Instant;

/** Service for IIIF Presentation API functionality. */
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Deprecated(forRemoval = true) // Will be gone with the next major version
public interface PresentationService {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

@Controller
@RequestMapping("${custom.iiif.presentation.urlPrefix:/presentation/v2}")
@Deprecated(forRemoval = true) // Will be gone with the next major version
@Deprecated(forRemoval = true) // Will be gone with the next major version
public class IIIFPresentationApiController {

public static final String VERSION = "v2";
Expand Down

0 comments on commit 75b54fe

Please sign in to comment.