-
Notifications
You must be signed in to change notification settings - Fork 300
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
introduce
ConditionEvents.addEventWithFormattedMessage
The private helper method `ArchConditions#createMessage(T, String)` (which prepends the corresponding object's description, and appends it source code location) is actually useful public API. Exposing it on `ConditionEvents` allows `ArchCondition` implementations to get rid of even more boilerplate code repeating the corresponding object. Signed-off-by: Manfred Hanke <Manfred.Hanke@tngtech.com>
- Loading branch information
Showing
3 changed files
with
69 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters