Roberto Sánchez
2014-09-19 8d5386be38db25a2a41c3bf6c876adee21ca26cc
securis/src/main/java/net/curisit/securis/services/ApiResource.java
....@@ -22,28 +22,26 @@
2222 @Path("/api")
2323 public class ApiResource {
2424
25
- @SuppressWarnings("unused")
26
- private static final Logger LOG = LogManager.getLogger(ApiResource.class);
25
+ @SuppressWarnings("unused")
26
+ private static final Logger LOG = LogManager.getLogger(ApiResource.class);
2727
28
- @Inject
29
- TokenHelper tokenHelper;
28
+ @Inject
29
+ TokenHelper tokenHelper;
3030
31
- @Inject
32
- Provider<EntityManager> emProvider;
31
+ @Inject
32
+ Provider<EntityManager> emProvider;
3333
34
- public ApiResource() {
35
- }
34
+ public ApiResource() {}
3635
37
- /**
38
- *
39
- * @return Simple text message to check API status
40
- */
41
- @GET
42
- @Path("/")
43
- @Produces(
44
- { MediaType.TEXT_PLAIN })
45
- public Response index() {
46
- return Response.ok("SeCuris API").build();
47
- }
36
+ /**
37
+ *
38
+ * @return Simple text message to check API status
39
+ */
40
+ @GET
41
+ @Path("/")
42
+ @Produces({ MediaType.TEXT_PLAIN })
43
+ public Response index() {
44
+ return Response.ok("SeCuris API").build();
45
+ }
4846
4947 }