From cdd1b48fa4fd49290f8e09dd63eff5eb2b8ac265 Mon Sep 17 00:00:00 2001 From: Marco Antonio Anastacio Cintra Date: Tue, 30 Mar 2021 10:07:20 -0300 Subject: [PATCH] change version to 4.0.3 --- .version/changeversion.sh | 4 ++-- .version/tips.txt | 2 +- README.md | 4 ++-- pom.xml | 2 +- .../anastaciocintra/escpos/image/BitonalOrderedDither.java | 2 -- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.version/changeversion.sh b/.version/changeversion.sh index fc15093..a7463c4 100755 --- a/.version/changeversion.sh +++ b/.version/changeversion.sh @@ -1,5 +1,5 @@ -old="4.0.2" -new="4.0.3-SNAPSHOT" +new="4.0.3" +old="4.0.3-SNAPSHOT" find ../ -type f \( -name "pom.xml" \) \ -exec sed -i -e "s/$old<\/revision>/$new<\/revision>/g" {} \; diff --git a/.version/tips.txt b/.version/tips.txt index d950173..e1ce7c2 100644 --- a/.version/tips.txt +++ b/.version/tips.txt @@ -31,7 +31,7 @@ go to oss.sonatype.org promote... wait release ... wait some hours test -on github +on github (after oss part) pull request of the released branch create a new release diff --git a/README.md b/README.md index 9588439..cfefee4 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ Download code and binaries from the [last release of escpos-coffee](https://gith com.github.anastaciocintra escpos-coffee - 4.0.3-SNAPSHOT + 4.0.3 ``` @@ -65,7 +65,7 @@ repositories { Step 2. Add the dependency ``` dependencies { - implementation 'com.github.anastaciocintra:escpos-coffee:4.0.3-SNAPSHOT' + implementation 'com.github.anastaciocintra:escpos-coffee:4.0.3' } ``` diff --git a/pom.xml b/pom.xml index db95dae..31b3bbc 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ - 4.0.3-SNAPSHOT + 4.0.3 UTF-8 UTF-8 1.8 diff --git a/src/main/java/com/github/anastaciocintra/escpos/image/BitonalOrderedDither.java b/src/main/java/com/github/anastaciocintra/escpos/image/BitonalOrderedDither.java index 2003c5a..7f9bc7a 100644 --- a/src/main/java/com/github/anastaciocintra/escpos/image/BitonalOrderedDither.java +++ b/src/main/java/com/github/anastaciocintra/escpos/image/BitonalOrderedDither.java @@ -70,8 +70,6 @@ public BitonalOrderedDither(int matrixWidth, int matrixHeight, int thresholdMin, float positionValue = (float)thresholdMin; Random randomCoordinates = new Random(1); -// int shuffledX[] = randomCoordinates.ints(0, matrixWidth).distinct().limit(matrixWidth).toArray(); -// int shuffledY[] = randomCoordinates.ints(0, matrixHeight).distinct().limit(matrixHeight).toArray(); int shuffledX[] = shuffle(matrixWidth, randomCoordinates); int shuffledY[] = shuffle(matrixHeight, randomCoordinates);