mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-18 19:39:22 +00:00
Optional shouldn't be constructable itself. It's purely a wrapper thing.
This commit is contained in:
1 parent
63ba3aa009
commit
bc64ceabef
1 file changed
+5
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user