Skip to content

Commit

Permalink
Make Optional inheritable (references lightbend#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
derKrischan committed Dec 8, 2019
1 parent e3ec7d3 commit 530151d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/src/main/java/com/typesafe/config/Optional.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package com.typesafe.config;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
* Allows an config property to be {@code null}.
*/
@Documented
@Inherited
@Retention(RetentionPolicy.RUNTIME)
public @interface Optional {

Expand Down

0 comments on commit 530151d

Please sign in to comment.