Skip to content

Conversation

@carterkozak
Copy link
Contributor

Translators can be combined similarly to java functional
consumers using an andThen method.

Translator.isEmpty uses @SuppressWarnings("unused") rather than
an underscore to make IDE interactions easier when overriding
the method, this way the data variable name can be used as is.

==COMMIT_MSG==
TagTranslator quality of life improvements
==COMMIT_MSG==

Translators can be combined similarly to java functional
consumers using an `andThen` method.

Translator.isEmpty uses `@SuppressWarnings("unused")` rather than
an underscore to make IDE interactions easier when overriding
the method, this way the `data` variable name can be used as is.
@carterkozak carterkozak requested a review from jkozlowski April 18, 2021 17:48
@changelog-app
Copy link

changelog-app bot commented Apr 18, 2021

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

TagTranslator quality of life improvements

Check the box to generate changelog(s)

  • Generate changelog entry

}

/** Returns a new composed {@link TagTranslator}. */
default TagTranslator<S> andThen(TagTranslator<? super S> after) {

Choose a reason for hiding this comment

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

I'm assuming this will all get inlined nicely

@bulldozer-bot bulldozer-bot bot merged commit 905a5d3 into develop Apr 19, 2021
@bulldozer-bot bulldozer-bot bot deleted the ckozak/tagtranslator_usability branch April 19, 2021 08:21
@svc-autorelease
Copy link
Collaborator

Released 4.16.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants