jcabi / jcabi-manifests

Java library for convenient reading of MANIFEST.MF files available in classpath
https://manifests.jcabi.com
Other
60 stars 22 forks source link

add option to return default value on Manifests.read #45

Closed ClaudenirFreitas closed 1 year ago

ClaudenirFreitas commented 4 years ago

It's a simple change to return default value if there is no key on the map.

Motivation: I'm using Manifests.DEFAULT.getOrDefault("app-version", "NI"), but I think it's possible to keep simple.

Thanks a lot, Cheers.

0crat commented 4 years ago

@yegor256/z please, pay attention to this pull request

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)

0crat commented 4 years ago

@yegor256/z everybody who has role REV is banned at #45; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)