From f3dd78f9c9d8996ac04860d0e525f4f4d6567184 Mon Sep 17 00:00:00 2001 From: GoToLoop Date: Mon, 11 Jul 2016 05:14:53 -0300 Subject: [PATCH] Update ControllerView.java @FunctionalInterface ControllerView< T extends ControllerView< T > > --- src/controlP5/ControllerView.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controlP5/ControllerView.java b/src/controlP5/ControllerView.java index ca0f9d7..09e40f9 100755 --- a/src/controlP5/ControllerView.java +++ b/src/controlP5/ControllerView.java @@ -1,5 +1,3 @@ -package controlP5; - /** * controlP5 is a processing gui library. * @@ -25,6 +23,8 @@ package controlP5; * */ +package controlP5; + import processing.core.PGraphics; /** @@ -35,7 +35,7 @@ import processing.core.PGraphics; * * @example use/ControlP5customDisplay */ -public interface ControllerView< T > { +@FunctionalInterface public interface ControllerView< T extends ControllerView< T > > { /** * draws your custom controllers. display() will be called by a controller's draw() function and