From 37d790272e38f7efcf028e3c92de73e635b1c790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joona=20Heikkil=C3=A4?= Date: Fri, 24 Feb 2017 18:31:19 +0200 Subject: [PATCH] Fix javadoc issue in ui --- .../main/java/cx/corp/lacuna/ui/ProcessBinaryData.java | 2 +- .../src/main/java/cx/corp/lacuna/ui/view/View.java | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/ProcessBinaryData.java b/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/ProcessBinaryData.java index 7d950ec..e8d2d5a 100644 --- a/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/ProcessBinaryData.java +++ b/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/ProcessBinaryData.java @@ -182,7 +182,7 @@ public void fillData(long offset, long length) { } /** - * Fills a buffer of length {@code length} with the byte {@byte b}, then writes + * Fills a buffer of length {@code length} with the byte {@code b}, then writes * it to the offset {@code offset}. * {@inheritDoc} * @throws MemoryAccessException if memory writing fails. See {@link MemoryWriter#write}. diff --git a/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/view/View.java b/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/view/View.java index 9437887..179fb16 100644 --- a/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/view/View.java +++ b/lacuna/lacuna-ui/src/main/java/cx/corp/lacuna/ui/view/View.java @@ -1,5 +1,13 @@ package cx.corp.lacuna.ui.view; +/** + * Represents a view in the MVP pattern. + * @param the type of the callbacks used by the view. + */ public interface View { + /** + * Attaches the provided callbacks to this view. + * @param callbacks the callbacks. + */ void attach(TCallbacks callbacks); }