Update since tag for comments and documentation

This commit is contained in:
Dimitry Ivanov 2019-04-25 14:10:11 +03:00
parent 974d7891b5
commit ab1e72e339
6 changed files with 11 additions and 11 deletions

View File

@ -38,7 +38,7 @@ public interface MarkwonSpansFactory {
* Helper method to add a {@link SpanFactory} for a Node. This method will merge existing
* {@link SpanFactory} with the specified one.
*
* @since 3.0.1-SNAPSHOT
* @since 3.0.1
*/
@NonNull
<N extends Node> Builder addFactory(@NonNull Class<N> node, @NonNull SpanFactory factory);
@ -55,7 +55,7 @@ public interface MarkwonSpansFactory {
* exception will be thrown
*
* @see #getFactory(Class)
* @since 3.0.1-SNAPSHOT
* @since 3.0.1
*/
@NonNull
<N extends Node> SpanFactory requireFactory(@NonNull Class<N> node);

View File

@ -38,7 +38,7 @@ public class SpannableBuilder implements Appendable, CharSequence {
return;
}
// @since 3.0.1-SNAPSHOT we introduce another method that recursively applies spans
// @since 3.0.1 we introduce another method that recursively applies spans
// allowing array of arrays (and more)
setSpansInternal(builder, spans, start, end);
}
@ -404,7 +404,7 @@ public class SpannableBuilder implements Appendable, CharSequence {
}
/**
* @since 3.0.1-SNAPSHOT
* @since 3.0.1
*/
private static void setSpansInternal(
@NonNull SpannableBuilder builder,
@ -414,7 +414,7 @@ public class SpannableBuilder implements Appendable, CharSequence {
if (spans != null) {
if (spans.getClass().isArray()) {
for (Object o : ((Object[]) spans)) {
// @since 3.0.1-SNAPSHOT recursively apply spans (allow array of arrays)
// @since 3.0.1 recursively apply spans (allow array of arrays)
setSpansInternal(builder, o, start, end);
}
} else {

View File

@ -17,14 +17,14 @@ public class SimpleBlockNodeVisitor implements MarkwonVisitor.NodeVisitor<Node>
@Override
public void visit(@NonNull MarkwonVisitor visitor, @NonNull Node node) {
// @since 3.0.1-SNAPSHOT we keep track of start in order to apply spans (optionally)
// @since 3.0.1 we keep track of start in order to apply spans (optionally)
final int length = visitor.length();
visitor.ensureNewLine();
visitor.visitChildren(node);
// @since 3.0.1-SNAPSHOT we apply optional spans
// @since 3.0.1 we apply optional spans
visitor.setSpansForNodeOptional(node, length);
if (visitor.hasNext(node)) {

View File

@ -96,7 +96,7 @@ public class AsyncDrawable extends Drawable {
}
/**
* @since 3.0.1-SNAPSHOT
* @since 3.0.1
*/
protected void setPlaceholderResult(@NonNull Drawable placeholder) {
// okay, if placeholder has bounds -> use it, otherwise use original imageSize
@ -143,7 +143,7 @@ public class AsyncDrawable extends Drawable {
/**
* Remove result from this drawable (for example, in case of cancellation)
*
* @since 3.0.1-SNAPSHOT
* @since 3.0.1
*/
public void clearResult() {

View File

@ -131,7 +131,7 @@ public abstract class AsyncDrawableLoader {
* will be ignored.
*
* @param implementation {@link AsyncDrawableLoader} implementation to be used.
* @since 3.0.1-SNAPSHOT
* @since 3.0.1
*/
@NonNull
public Builder implementation(@NonNull AsyncDrawableLoader implementation) {

View File

@ -6,7 +6,7 @@ import android.support.annotation.CheckResult;
import android.support.annotation.NonNull;
/**
* @since 3.0.1-SNAPSHOT
* @since 3.0.1
*/
public abstract class DrawableUtils {