Jonathan LALOU 7 年前
父节点
当前提交
0ea0544548
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/main/java/fr/sayasoft/fake/zinc/FakeZincController.java

+ 3
- 0
src/main/java/fr/sayasoft/fake/zinc/FakeZincController.java 查看文件

@@ -47,12 +47,14 @@ public class FakeZincController {
47 47
 
48 48
     private final AtomicLong counter = new AtomicLong();
49 49
 
50
+    @SuppressWarnings("unused")
50 51
     @RequestMapping("/greeting")
51 52
     public Greeting greeting(@RequestParam(value = "name", defaultValue = "World") String name) {
52 53
         return new Greeting(counter.incrementAndGet(),
53 54
                 String.format(template, name));
54 55
     }
55 56
 
57
+    @SuppressWarnings("unused")
56 58
     @RequestMapping(
57 59
             value = "/order/{request_id}",
58 60
             method = RequestMethod.GET,
@@ -62,6 +64,7 @@ public class FakeZincController {
62 64
         return GET_ORDER_RESPONSE;
63 65
     }
64 66
 
67
+    @SuppressWarnings("unused")
65 68
     @RequestMapping(
66 69
             value = "/order",
67 70
             method = RequestMethod.POST,