From fc01899d8ed99da77607ac091589c28a3e02e7ba Mon Sep 17 00:00:00 2001 From: Dimitry Ivanov Date: Mon, 1 Jul 2019 15:16:53 +0300 Subject: [PATCH] Prepare 3.1.0 release --- gradle.properties | 2 +- .../java/ru/noties/markwon/image/AsyncDrawable.java | 10 +++++----- .../ru/noties/markwon/image/AsyncDrawableLoader.java | 8 ++++---- .../noties/markwon/image/AsyncDrawableLoaderImpl.java | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gradle.properties b/gradle.properties index abdc2b60..6b11280c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ org.gradle.configureondemand=true android.enableBuildCache=true android.buildCacheDir=build/pre-dex-cache -VERSION_NAME=3.1.0-SNAPSHOT +VERSION_NAME=3.1.0 GROUP=ru.noties.markwon POM_DESCRIPTION=Markwon markdown for Android diff --git a/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawable.java b/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawable.java index 5db212fd..9993105b 100644 --- a/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawable.java +++ b/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawable.java @@ -52,7 +52,7 @@ public String getDestination() { } /** - * @since 3.1.0-SNAPSHOT + * @since 3.1.0 */ @Nullable public ImageSize getImageSize() { @@ -60,7 +60,7 @@ public ImageSize getImageSize() { } /** - * @since 3.1.0-SNAPSHOT + * @since 3.1.0 */ @NonNull public ImageSizeResolver getImageSizeResolver() { @@ -68,7 +68,7 @@ public ImageSizeResolver getImageSizeResolver() { } /** - * @since 3.1.0-SNAPSHOT + * @since 3.1.0 */ public boolean hasKnownDimentions() { return canvasWidth > 0; @@ -76,7 +76,7 @@ public boolean hasKnownDimentions() { /** * @see #hasKnownDimentions() - * @since 3.1.0-SNAPSHOT + * @since 3.1.0 */ public int getLastKnownCanvasWidth() { return canvasWidth; @@ -84,7 +84,7 @@ public int getLastKnownCanvasWidth() { /** * @see #hasKnownDimentions() - * @since 3.1.0-SNAPSHOT + * @since 3.1.0 */ public float getLastKnowTextSize() { return textSize; diff --git a/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawableLoader.java b/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawableLoader.java index 3eba33ca..073e9007 100644 --- a/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawableLoader.java +++ b/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawableLoader.java @@ -38,18 +38,18 @@ public static AsyncDrawableLoader noOp() { } /** - * @since 3.1.0-SNAPSHOT + * @since 3.1.0 */ public abstract void load(@NonNull AsyncDrawable drawable); /** - * @since 3.1.0-SNAPSHOT + * @since 3.1.0 */ public abstract void cancel(@NonNull AsyncDrawable drawable); /** * @see #load(AsyncDrawable) - * @deprecated 3.1.0-SNAPSHOT + * @deprecated 3.1.0 */ @Deprecated public void load(@NonNull String destination, @NonNull AsyncDrawable drawable) { @@ -60,7 +60,7 @@ public void load(@NonNull String destination, @NonNull AsyncDrawable drawable) { * Method is deprecated because cancellation won\'t work for markdown input * with multiple images with the same source * - * @deprecated 3.1.0-SNAPSHOT + * @deprecated 3.1.0 */ @Deprecated public void cancel(@NonNull String destination) { diff --git a/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawableLoaderImpl.java b/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawableLoaderImpl.java index f8d91931..809abb8c 100644 --- a/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawableLoaderImpl.java +++ b/markwon-core/src/main/java/ru/noties/markwon/image/AsyncDrawableLoaderImpl.java @@ -26,7 +26,7 @@ class AsyncDrawableLoaderImpl extends AsyncDrawableLoader { private final Handler handler = new Handler(Looper.getMainLooper()); - // @since 3.1.0-SNAPSHOT use a hash-map with an AsyncDrawable (allows multiple drawables + // @since 3.1.0 use a hash-map with an AsyncDrawable (allows multiple drawables // referencing the same source) private final Map> requests = new HashMap<>(2);