Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JBIDE-14896_b2 ensuring possibility for null extended props #88

Closed
wants to merge 1 commit into from

Conversation

robstryker
Copy link
Member

No description provided.

return !type.getId().equals(IJBossToolingConstants.DEPLOY_ONLY_SERVER) &&
(type.getId().startsWith(IJBossToolingConstants.SERVER_AS_PREFIX)
|| type.getId().startsWith(IJBossToolingConstants.EAP_SERVER_PREFIX));
List<String> asList = Arrays.asList(IJBossToolingConstants.ALL_JBOSS_SERVERS);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth noticing that with this change noone can provide a server type via extension points that will be recognized as a jboss server type.

@maxandersen
Copy link
Member

+1 for change, avoids NPE's.

But just shows that the API is not build for extendability even if we now got 10+ server types :(

@robstryker
Copy link
Member Author

merged

@robstryker robstryker closed this Jun 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants