Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Don't skip all applications if one has no path #8

Closed
koscejev opened this issue Apr 5, 2016 · 1 comment
Closed

Don't skip all applications if one has no path #8

koscejev opened this issue Apr 5, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@koscejev
Copy link

koscejev commented Apr 5, 2016

See code in ResteasyEmbeddedServletInitializer. It seems that that return was supposed to be a continue. :)

        for (Class<? extends Application> applicationClass : applications) {
            ApplicationPath path = applicationClass.getAnnotation(ApplicationPath.class);
            if (path == null) {
                return;
            }

            GenericBeanDefinition applicationServletBean = createApplicationServlet(applicationClass, path.value());
            registry.registerBeanDefinition(applicationClass.getName(), applicationServletBean);
        }
@koscejev koscejev changed the title Don't skip all applications if one of the has no path Don't skip all applications if one has no path Apr 5, 2016
@fabiocarvalho777 fabiocarvalho777 added this to the 2.0.0-RELEASE milestone Apr 5, 2016
@fabiocarvalho777 fabiocarvalho777 self-assigned this Apr 5, 2016
@fabiocarvalho777
Copy link
Member

Thanks a lot for reporting this bug! You are right, I meant to say "continue" there, but maybe because I didn't have breakfast that morning I said "return" instead. I have just fixed it ;-)

ps.: we will release this fix, and others, very soon via version 2.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants