Skip to content

Commit

Permalink
Prepare 3.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
noties committed Jul 1, 2019
1 parent 4f979ea commit fc01899
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,39 +52,39 @@ public String getDestination() {
}

/**
* @since 3.1.0-SNAPSHOT
* @since 3.1.0
*/
@Nullable
public ImageSize getImageSize() {
return imageSize;
}

/**
* @since 3.1.0-SNAPSHOT
* @since 3.1.0
*/
@NonNull
public ImageSizeResolver getImageSizeResolver() {
return imageSizeResolver;
}

/**
* @since 3.1.0-SNAPSHOT
* @since 3.1.0
*/
public boolean hasKnownDimentions() {
return canvasWidth > 0;
}

/**
* @see #hasKnownDimentions()
* @since 3.1.0-SNAPSHOT
* @since 3.1.0
*/
public int getLastKnownCanvasWidth() {
return canvasWidth;
}

/**
* @see #hasKnownDimentions()
* @since 3.1.0-SNAPSHOT
* @since 3.1.0
*/
public float getLastKnowTextSize() {
return textSize;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<AsyncDrawable, Future<?>> requests = new HashMap<>(2);

Expand Down

0 comments on commit fc01899

Please sign in to comment.