Optional shouldn't be constructable itself. It's purely a wrapper thing.

This commit is contained in:
Christian committed 2013-10-06 10:56:47 -04:00
1 parent 63ba3aa009
commit bc64ceabef
1 file changed
+5 -1
+5 -1
View File
@@ -12,7 +12,11 @@ import java.lang.annotation.Target;
* @author cpw
*
*/
public interface Optional {
public final class Optional {
/**
* Not constructable
*/
private Optional() {}
/**
* Used to remove optional interfaces
* @author cpw