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

Task/191 Remove uses of guava #192

Merged
merged 9 commits into from
Aug 22, 2018
Merged

Task/191 Remove uses of guava #192

merged 9 commits into from
Aug 22, 2018

Conversation

andylowry
Copy link
Contributor

No description provided.

* split -r option into separate options (-K and -J) for staging repos
  for KZOP and JOvl
* make direct imports non-optional
* add direct import for javax.mail.internet
* exclude JOvl from KZOP artifact (else we could ned up with two
  versions in the update site)
* don't export the .gen package from JOvl, and mark its import in KZOP
  optional (would be better to not import it, but not sure how to
  specify that)
* exclude artifacts only used by the JOvl gen package
The old one is still there, where it's always been. The new
implementation is in the val.msg package.

The new implemnetation has these improvements:
* No longer includes inline messages, but messages are identified by
  enum values, and it's easy to navigate to the enum definition, where
  the default message appears.
* Properties files can be used to provide localized messages, either for
  a specific two-part language tag (e.g. "en-US") or by a language
  id ("en") as a fallback.
* Multiple enum classes can easily be defined for different sets of
  messages, and they can all be used as needed in the application

This makes it slightly more complicated to compose a new message, but
the resulting code is much more concise, and with an easy click-through
to the default message, this gets around the main issue I've had with
the eclipse org.eclipse.osgi.util.NLS class.
In the process, improved some message texts, and more importantly,
created place holders in the messasge texts for message parameters,
rather than just appending the paramters in a list after the message, as
had been done earlier. (It was never intended to stay that way!)
This reverts commit 4428b5c.

This change was intended for a separate branch
This reverts commit 5dc109b.

This change was intended for a different branch
Apparently I failed update master before creating branch
task/191. Sigh...
@andylowry andylowry merged commit 172ae39 into master Aug 22, 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.

1 participant