File tree Expand file tree Collapse file tree
core/src/main/java/org/microshed/testing/jaxrs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ private static String locateApplicationPath(Class<?> clazz) {
181181 }
182182
183183 if (appClasses .size () == 0 ) {
184- LOG .info ("No classes implementing 'javax.ws.rs.core.Application' found on classpath to set as context root for " + clazz +
185- ". Defaulting context root to '/'" );
184+ LOG .info ("No classes implementing 'javax.ws.rs.core.Application' found on classpath to set base path from " + clazz +
185+ ". Defaulting base path to '/'" );
186186 return "" ;
187187 }
188188
@@ -193,10 +193,10 @@ private static String locateApplicationPath(Class<?> clazz) {
193193 ApplicationPath appPath = AnnotationSupport .findAnnotation (selectedClass , ApplicationPath .class ).get ();
194194 if (appClasses .size () > 1 ) {
195195 LOG .warn ("Found multiple classes implementing 'javax.ws.rs.core.Application' on classpath: " + appClasses +
196- ". Setting context root to the first class discovered (" + selectedClass .getCanonicalName () + ") with path: " +
196+ ". Setting base path from the first class discovered (" + selectedClass .getCanonicalName () + ") with path: " +
197197 appPath .value ());
198198 }
199- LOG .debug ("Using ApplicationPath of '" + appPath .value () + "'" );
199+ LOG .debug ("Using base ApplicationPath of '" + appPath .value () + "'" );
200200 return appPath .value ();
201201 }
202202
You can’t perform that action at this time.
0 commit comments