aries-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From csie...@apache.org
Subject [2/8] aries-jax-rs-whiteboard git commit: Code cleaning
Date Wed, 30 Nov 2016 18:20:30 GMT
Code cleaning


Project: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/commit/f9169a55
Tree: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/tree/f9169a55
Diff: http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/diff/f9169a55

Branch: refs/heads/master
Commit: f9169a55f8896b4d49799007c5b92c2b075f84ed
Parents: 5c0030b
Author: Carlos Sierra <csierra@apache.org>
Authored: Wed Nov 30 19:11:43 2016 +0100
Committer: Carlos Sierra <csierra@apache.org>
Committed: Wed Nov 30 19:11:43 2016 +0100

----------------------------------------------------------------------
 jax-rs.itests/src/main/java/test/types/TestAddon.java   | 12 ------------
 .../src/main/java/test/types/TestApplication.java       |  1 -
 jax-rs.itests/src/main/java/test/types/TestFilter.java  |  4 ----
 3 files changed, 17 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/f9169a55/jax-rs.itests/src/main/java/test/types/TestAddon.java
----------------------------------------------------------------------
diff --git a/jax-rs.itests/src/main/java/test/types/TestAddon.java b/jax-rs.itests/src/main/java/test/types/TestAddon.java
index 0811b8b..7310248 100644
--- a/jax-rs.itests/src/main/java/test/types/TestAddon.java
+++ b/jax-rs.itests/src/main/java/test/types/TestAddon.java
@@ -17,14 +17,10 @@
 
 package test.types;
 
-import javax.annotation.PostConstruct;
 import javax.ws.rs.GET;
 import javax.ws.rs.Path;
 import javax.ws.rs.PathParam;
-import javax.ws.rs.core.Context;
-import javax.ws.rs.core.UriInfo;
 
-//property = "osgi.jaxrs.resource.base=/test-addon",
 public class TestAddon {
 
     @GET
@@ -33,12 +29,4 @@ public class TestAddon {
         return "Hello " + name;
     }
 
-    @PostConstruct
-    public void init() {
-        System.out.println("URIINFO: " + _uriInfo);
-    }
-
-    @Context
-    UriInfo _uriInfo;
-
 }

http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/f9169a55/jax-rs.itests/src/main/java/test/types/TestApplication.java
----------------------------------------------------------------------
diff --git a/jax-rs.itests/src/main/java/test/types/TestApplication.java b/jax-rs.itests/src/main/java/test/types/TestApplication.java
index a665c4d..42fbbe3 100644
--- a/jax-rs.itests/src/main/java/test/types/TestApplication.java
+++ b/jax-rs.itests/src/main/java/test/types/TestApplication.java
@@ -24,7 +24,6 @@ import javax.ws.rs.GET;
 import javax.ws.rs.Produces;
 import javax.ws.rs.core.Application;
 
-//    property = "osgi.jaxrs.application.base=/example-application",
 public class TestApplication extends Application {
 
     @Override

http://git-wip-us.apache.org/repos/asf/aries-jax-rs-whiteboard/blob/f9169a55/jax-rs.itests/src/main/java/test/types/TestFilter.java
----------------------------------------------------------------------
diff --git a/jax-rs.itests/src/main/java/test/types/TestFilter.java b/jax-rs.itests/src/main/java/test/types/TestFilter.java
index e5893a1..96213e2 100644
--- a/jax-rs.itests/src/main/java/test/types/TestFilter.java
+++ b/jax-rs.itests/src/main/java/test/types/TestFilter.java
@@ -23,10 +23,6 @@ import javax.ws.rs.container.ContainerRequestContext;
 import javax.ws.rs.container.ContainerRequestFilter;
 import javax.ws.rs.ext.Provider;
 
-//    property = {
-//        "jaxrs.application.select=(component.name=org.apache.aries.jax.rs.example.ExampleApplication)",
-//        "osgi.jaxrs.filter.base=/examples"
-//    }
 @Provider
 public class TestFilter implements ContainerRequestFilter {
 


Mime
View raw message