Skip to content

Commit

Permalink
Update javadoc since tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitry Ivanov committed Apr 15, 2019
1 parent fd1e80a commit fcdf379
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
14 changes: 7 additions & 7 deletions adapt/src/main/java/io/noties/adapt/Adapt.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class Adapt extends RecyclerView.Adapter<Item.Holder> {
* @see NotifyDataSetChanged
* @see DiffUtilDataSetChanged
* @see AsyncDiffUtilDataSetChanged
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public interface DataSetChangeHandler {

Expand Down Expand Up @@ -48,7 +48,7 @@ void handleDataSetChange(

/**
* @see #createItemViewFactory(List)
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public interface ItemViewTypeFactory {

Expand All @@ -64,7 +64,7 @@ public interface ItemViewTypeFactory {
*
* @see NotifyDataSetChanged
* @see #create(DataSetChangeHandler)
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
@NonNull
public static Adapt create() {
Expand All @@ -79,7 +79,7 @@ public static Adapt create() {
* @see NotifyDataSetChanged
* @see DiffUtilDataSetChanged
* @see AsyncDiffUtilDataSetChanged
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
@NonNull
public static Adapt create(@NonNull DataSetChangeHandler dataSetChangeHandler) {
Expand Down Expand Up @@ -198,7 +198,7 @@ public void setItems(@Nullable List<Item> items) {
*
* @see #createItemViewFactory(List)
* @see ItemViewTypeFactory
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
@SuppressWarnings("WeakerAccess")
public void setItems(
Expand All @@ -220,7 +220,7 @@ public List<Item> getCurrentItems() {
* Can be used to dispatch adapter updates manually. Beware that after this method
* one of the \'notify*\' methods must be called.
*
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
@SuppressWarnings("unused")
@NonNull
Expand All @@ -241,7 +241,7 @@ public Adapt swapItemsBeforeUpdate(@Nullable List<Item> items) {
* Can be used to dispatch adapter updates manually (or in {@link DataSetChangeHandler}.
* Beware that after this method one of the \'notify*\' methods must be called.
*
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
@SuppressWarnings("WeakerAccess")
@NonNull
Expand Down
6 changes: 3 additions & 3 deletions adapt/src/main/java/io/noties/adapt/AdaptView.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @see #append(LayoutInflater, ViewGroup, Item)
* @see #create(View, Item, HolderProvider)
* @see #create(View, int, Item, HolderProvider)
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public abstract class AdaptView<I extends Item> {

Expand Down Expand Up @@ -53,7 +53,7 @@ public static <I extends Item> AdaptView<I> append(
/**
* Create {@link AdaptView} with the specified view as holder\'s itemView.
*
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
@NonNull
public static <H extends Item.Holder, I extends Item<H>> AdaptView<I> create(
Expand All @@ -68,7 +68,7 @@ public static <H extends Item.Holder, I extends Item<H>> AdaptView<I> create(
}

/**
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
@NonNull
public static <H extends Item.Holder, I extends Item<H>> AdaptView<I> create(
Expand Down
2 changes: 1 addition & 1 deletion adapt/src/main/java/io/noties/adapt/AdaptViewGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import java.util.List;

/**
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public abstract class AdaptViewGroup {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.util.List;

/**
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public abstract class AdaptViewGroupDiff {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Executes {@link DiffUtilDataSetChanged} handler in background thread. Additionally
* creates {@link Adapt.ItemViewTypeFactory}
*
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public class AsyncDiffUtilDataSetChanged implements Adapt.DataSetChangeHandler {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import static io.noties.adapt.Item.NO_ID;

/**
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public class DiffUtilDataSetChanged implements Adapt.DataSetChangeHandler {

Expand Down
2 changes: 1 addition & 1 deletion adapt/src/main/java/io/noties/adapt/ItemWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* original item. Ids are shared (the same for original and wrapped (this) items)
*
* @see OnClickWrapper
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public class ItemWrapper<H extends Item.Holder> extends Item<H> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.util.List;

/**
* @since 2.0.0-SNAPSHOT
* @since 2.0.0
*/
public class NotifyDataSetChanged implements Adapt.DataSetChangeHandler {

Expand Down

0 comments on commit fcdf379

Please sign in to comment.