diff --git a/ci/deploy_shared.sh b/ci/deploy_shared.sh index 801270f5..7f90070d 100755 --- a/ci/deploy_shared.sh +++ b/ci/deploy_shared.sh @@ -6,4 +6,6 @@ REVISION=$(./ci/revision.sh) echo "Deploying skija-shared v${REVISION}" cd shared sed -i "s/0.0.0-SNAPSHOT/$REVISION/g" pom.xml -mvn --batch-mode --settings ../ci/settings.xml -DskipTests -Dspace.username=Nikita.Prokopov -Dspace.password=${SPACE_TOKEN} deploy \ No newline at end of file + +mvn --batch-mode -DskipTests lombok:delombok javadoc:javadoc javadoc:jar source:jar +mvn --batch-mode --settings ../ci/settings.xml -DskipTests -Dspace.username=Nikita.Prokopov -Dspace.password=${SPACE_TOKEN} deploy diff --git a/shared/src/main/java/org/jetbrains/skija/PathMeasure.java b/shared/src/main/java/org/jetbrains/skija/PathMeasure.java index 760032f1..5c1aee1a 100644 --- a/shared/src/main/java/org/jetbrains/skija/PathMeasure.java +++ b/shared/src/main/java/org/jetbrains/skija/PathMeasure.java @@ -37,7 +37,7 @@ public PathMeasure(Path path, boolean forceClosed) { *

Initialize the pathmeasure with the specified path. The parts of the path that are needed * are copied, so the client is free to modify/delete the path after this call.

* - *

resScale controls the precision of the measure. values > 1 increase the + *

resScale controls the precision of the measure. values > 1 increase the * precision (and possible slow down the computation).

*/ public PathMeasure(Path path, boolean forceClosed, float resScale) { @@ -116,7 +116,7 @@ public Matrix33 getMatrix(float distance, boolean getPosition, boolean getTangen /** * Given a start and stop distance, return in dst the intervening segment(s). * If the segment is zero-length, return false, else return true. - * startD and stopD are pinned to legal values (0..getLength()). If startD > stopD + * startD and stopD are pinned to legal values (0..getLength()). If startD > stopD * then return false (and leave dst untouched). * Begin the segment with a moveTo if startWithMoveTo is true */