Skip to content

Handle exception while parsing Java resource string#100

Merged
yumaoka merged 1 commit intoIBM-Cloud:masterfrom
yumaoka:bug-99-javaprop-iae
Feb 27, 2018
Merged

Handle exception while parsing Java resource string#100
yumaoka merged 1 commit intoIBM-Cloud:masterfrom
yumaoka:bug-99-javaprop-iae

Conversation

@yumaoka
Copy link
Contributor

@yumaoka yumaoka commented Feb 27, 2018

MessagePattern class throws an exception when a given string is not
parsed as a valid message format pattern string. Added exception
handling code in the code unescaping single quote in an input resource
string. When an exception was thrown by MessagePattern class, we don’t
need to unescape single quotes, because it’s not a message format
pattern.

Fixes #99

MessagePattern class throws an exception when a given string is not
parsed as a valid message format pattern string. Added exception
handling code in the code unescaping single quote in an input resource
string. When an exception was thrown by MessagePattern class, we don’t
need to unescape single quotes, because it’s not a message format
pattern.
@coveralls
Copy link

coveralls commented Feb 27, 2018

Coverage Status

Coverage increased (+0.06%) to 50.889% when pulling cf52404 on yumaoka:bug-99-javaprop-iae into 8a787a2 on IBM-Cloud:master.

Copy link
Contributor

@jugu jugu left a comment

Choose a reason for hiding this comment

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

lgtm. Thanks!

@yumaoka yumaoka merged commit c40e8ad into IBM-Cloud:master Feb 27, 2018
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