-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add system prop to store compound extensions types #105
Conversation
27ecb71
to
bbfbda5
Compare
{ | ||
for ( final String type : typesFromSys.split( "," ) ) | ||
{ | ||
COMPOUND_EXTENSIONS_TYPES.add( type.trim() ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
COMPOUND_EXTENSIONS_TYPES
is a final variable, I guess it does not work here to add others. But from unit test, seems it does. ; -)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. Ignore the comment here. LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess it works technically; but looks a bit weird for a final 'set' to change, though. maybe rename to non final one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good as static final should be an immutable var. Let's change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Because of maven classifier does not forbid dots, which makes it hard to decide the exact file types, so here add a temporary workaround to let user defines the exact file types for compound extensions to ditinguish the compound extensions types from classifier with dots.
LGTM. |
Because of maven classifier does not forbid dots, which makes it hard
to decide the exact file types, so here add a temporary workaround to
let user defines the exact file types for compound extensions to
ditinguish the compound extensions types from classifier with dots.