Skip to content

Conversation

@thomasdarimont
Copy link
Contributor

Previously getBundleName() always returned the value from
FXMLView#bundle attribute, due to testing the annotation instead of
the bundle-name for being empty.

We now correctly test the configured bundle-name. If the bundle name is
null we or empty we derive the bundle name from the classname.
Otherwise we use the value as is.

Fixes #38
Can be backported to 1.4.x

Previously getBundleName() always returned the value from
FXMLView#bundle attribute, due to testing the annotation instead of
the bundle-name for being empty.

We now correctly test the configured bundle-name. If the bundle name is
null we or empty we derive the bundle name from the classname.
Otherwise we use the value as is.

Fixes roskenet#38
Can be backported to 1.4.x
@coveralls
Copy link

Coverage Status

Coverage increased (+1.1%) to 39.098% when pulling d1fc66e on thomasdarimont:pr/issue-38-fix-getBundleName into 55885ce on roskenet:master.

@roskenet roskenet merged commit b2d420e into roskenet:master Oct 22, 2017
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.

3 participants