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

This commit is contained in:
Christian 2013-10-06 10:56:47 -04:00
parent 19173a7b97
commit 955d532264
1 changed files with 5 additions and 1 deletions

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