Skip to content

Commit

Permalink
Merge pull request #3611 from SentryMan/patch-1
Browse files Browse the repository at this point in the history
[Avaje Inject Module] Fix property plugin
  • Loading branch information
jknack authored Jan 9, 2025
2 parents 5cb89e8 + fb0392e commit 89a868e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public JoobyPropertyPlugin(Config config) {
@Override
public Optional<String> get(String property) {
return config.hasPath(property)
? Optional.empty()
: Optional.ofNullable(config.getString(property));
? Optional.of(config.getString(property))
: Optional.empty();
}

@Override
Expand Down

0 comments on commit 89a868e

Please sign in to comment.