[forge-commits] [forge/core] ced1c2: FORGE-1076 Added support to detect conflicting top...

Vineet Reynolds Vineet.Reynolds at gmail.com
Sat Aug 3 06:05:38 EDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/forge/core
  Commit: ced1c2cd63f17f3bcb93ed61f7bc482af421144d
      https://github.com/forge/core/commit/ced1c2cd63f17f3bcb93ed61f7bc482af421144d
  Author: Vineet Reynolds <Vineet.Reynolds at 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.





More information about the forge-commits mailing list