Commit 81d77638 by wanglei

format

1 parent 02018e6a
...@@ -37,7 +37,6 @@ import java.util.LinkedList; ...@@ -37,7 +37,6 @@ import java.util.LinkedList;
import java.util.List; import java.util.List;
import com.agenew.detection.customview.OverlayView; import com.agenew.detection.customview.OverlayView;
import com.agenew.detection.customview.OverlayView.DrawCallback;
import com.agenew.detection.env.BorderedText; import com.agenew.detection.env.BorderedText;
import com.agenew.detection.env.ImageUtils; import com.agenew.detection.env.ImageUtils;
import com.agenew.detection.env.Logger; import com.agenew.detection.env.Logger;
......
...@@ -24,7 +24,7 @@ import java.util.List; ...@@ -24,7 +24,7 @@ import java.util.List;
/** A simple View providing a render callback to other classes. */ /** A simple View providing a render callback to other classes. */
public class OverlayView extends View { public class OverlayView extends View {
private final List<DrawCallback> callbacks = new LinkedList<DrawCallback>(); private final List<DrawCallback> callbacks = new LinkedList<>();
public OverlayView(final Context context, final AttributeSet attrs) { public OverlayView(final Context context, final AttributeSet attrs) {
super(context, attrs); super(context, attrs);
...@@ -43,6 +43,6 @@ public class OverlayView extends View { ...@@ -43,6 +43,6 @@ public class OverlayView extends View {
/** Interface defining the callback for client classes. */ /** Interface defining the callback for client classes. */
public interface DrawCallback { public interface DrawCallback {
public void drawCallback(final Canvas canvas); void drawCallback(final Canvas canvas);
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!