From fff9ae48291a600e8288884eac1c35362cf704ae Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Sun, 12 Jan 2020 16:50:11 +0100 Subject: Move everything to below eu.mulk.mulkcms2. Change-Id: Ib9fc9638fb95bb9c31198bee89a5a24eff8d0b74 --- src/main/scala/eu/mulk/ExampleResource.scala | 12 ------------ src/main/scala/eu/mulk/mulkcms2/ExampleResource.scala | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 src/main/scala/eu/mulk/ExampleResource.scala create mode 100644 src/main/scala/eu/mulk/mulkcms2/ExampleResource.scala (limited to 'src/main/scala') diff --git a/src/main/scala/eu/mulk/ExampleResource.scala b/src/main/scala/eu/mulk/ExampleResource.scala deleted file mode 100644 index a68b2a7..0000000 --- a/src/main/scala/eu/mulk/ExampleResource.scala +++ /dev/null @@ -1,12 +0,0 @@ -package eu.mulk - -import javax.ws.rs.{GET, Path, Produces} -import javax.ws.rs.core.MediaType - -@Path("/hello") -class ExampleResource { - - @GET - @Produces(Array[String](MediaType.TEXT_PLAIN)) - def hello() = "hello!" -} diff --git a/src/main/scala/eu/mulk/mulkcms2/ExampleResource.scala b/src/main/scala/eu/mulk/mulkcms2/ExampleResource.scala new file mode 100644 index 0000000..6a2db1a --- /dev/null +++ b/src/main/scala/eu/mulk/mulkcms2/ExampleResource.scala @@ -0,0 +1,12 @@ +package eu.mulk.mulkcms2 + +import javax.ws.rs.core.MediaType +import javax.ws.rs.{GET, Path, Produces} + +@Path("/hello") +class ExampleResource { + + @GET + @Produces(Array[String](MediaType.TEXT_PLAIN)) + def hello() = "hello!" +} -- cgit v1.2.3