rename: GameResource → GameController (more conventional name for REST handler)
Build & Deploy / build-and-deploy (push) Successful in 40s
Build & Deploy / build-and-deploy (push) Successful in 40s
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ import java.util.*;
|
||||
|
||||
@Path("/api/games")
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
public class GameResource {
|
||||
public class GameController {
|
||||
|
||||
@Inject
|
||||
GameService svc;
|
||||
@@ -7,7 +7,7 @@ import java.util.List;
|
||||
|
||||
/**
|
||||
* Contract for game metadata persistence.
|
||||
* Decouples consumers (IgdbService, GameResource) from the concrete storage implementation.
|
||||
* Decouples consumers (IgdbService, GameController) from the concrete storage implementation.
|
||||
*/
|
||||
public interface GameStore {
|
||||
Game load(String id) throws IOException, NoSuchFileException;
|
||||
|
||||
Reference in New Issue
Block a user