[forge/core] ced1c2: FORGE-1076 Added support to detect conflicting top...
by Vineet Reynolds
Branch: refs/heads/master
Home: https://github.com/forge/core
Commit: ced1c2cd63f17f3bcb93ed61f7bc482af421144d
https://github.com/forge/core/commit/ced1c2cd63f17f3bcb93ed61f7bc482af421...
Author: Vineet Reynolds <Vineet.Reynolds(a)gmail.com>
Date: 2013-08-03 (Sat, 03 Aug 2013)
Changed paths:
M javaee-impl/src/main/java/org/jboss/forge/spec/javaee/rest/RestPlugin.java
A javaee-impl/src/main/java/org/jboss/forge/spec/javaee/rest/RestResourceTypeVisitor.java
M javaee-impl/src/main/resources/org/jboss/forge/rest/Endpoint.jv
Log Message:
-----------
FORGE-1076 Added support to detect conflicting top-level @Paths.
This is done through a JavaResourceVisitor that verifies whether
existing JAX-RS resource classes contain @Path annotation values
that match the one for the Resource being created.
The visitor also verifies whether the matching @Path is for an
existing JAX-RS resource that will eventually be overwritten.
11 years, 2 months