| .. | .. |
|---|
| 11 | 11 | |
|---|
| 12 | 12 | import net.curisit.securis.utils.TokenHelper; |
|---|
| 13 | 13 | |
|---|
| 14 | | -import org.apache.logging.log4j.Logger; |
|---|
| 15 | 14 | import org.apache.logging.log4j.LogManager; |
|---|
| 15 | +import org.apache.logging.log4j.Logger; |
|---|
| 16 | 16 | |
|---|
| 17 | 17 | /** |
|---|
| 18 | 18 | * External API to be accessed by third parties |
|---|
| .. | .. |
|---|
| 31 | 31 | @Inject |
|---|
| 32 | 32 | Provider<EntityManager> emProvider; |
|---|
| 33 | 33 | |
|---|
| 34 | | - public ApiResource() {} |
|---|
| 34 | + public ApiResource() { |
|---|
| 35 | + } |
|---|
| 35 | 36 | |
|---|
| 36 | 37 | /** |
|---|
| 37 | 38 | * |
|---|
| .. | .. |
|---|
| 39 | 40 | */ |
|---|
| 40 | 41 | @GET |
|---|
| 41 | 42 | @Path("/") |
|---|
| 42 | | - @Produces({ MediaType.TEXT_PLAIN }) |
|---|
| 43 | + @Produces({ |
|---|
| 44 | + MediaType.TEXT_PLAIN |
|---|
| 45 | + }) |
|---|
| 43 | 46 | public Response index() { |
|---|
| 44 | 47 | return Response.ok("SeCuris API").build(); |
|---|
| 45 | 48 | } |
|---|