diff options
Diffstat (limited to 'src/main/java/at/gv')
-rw-r--r-- | src/main/java/at/gv/egiz/moazs/util/NullCoalesce.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/at/gv/egiz/moazs/util/NullCoalesce.java b/src/main/java/at/gv/egiz/moazs/util/NullCoalesce.java index 4377140..36f39a9 100644 --- a/src/main/java/at/gv/egiz/moazs/util/NullCoalesce.java +++ b/src/main/java/at/gv/egiz/moazs/util/NullCoalesce.java @@ -9,7 +9,9 @@ import static java.util.Optional.ofNullable; * @author les2 * @source https://stackoverflow.com/questions/2768054/how-to-get-the-first-non-null-value-in-java */ -public class NullCoalesce { +public final class NullCoalesce { + + private NullCoalesce(){} /** * @return the first not-null value |