Emmanuel Bourg pushed to branch master at Debian Java Maintainers / curvesapi
Commits: a1e0532e by Emmanuel Bourg at 2021-02-03T23:21:40+01:00 Wrap and sort - - - - - ba94ddd7 by Emmanuel Bourg at 2021-02-03T23:21:57+01:00 Standards-Version updated to 4.5.1 - - - - - be35011a by Emmanuel Bourg at 2021-02-03T23:22:01+01:00 Switch to debhelper level 13 - - - - - 179cfb49 by Emmanuel Bourg at 2021-02-03T23:22:06+01:00 Use salsa.debian.org Vcs-* URLs - - - - - 36e1ff3a by Emmanuel Bourg at 2021-02-03T23:23:18+01:00 New upstream version 1.06 - - - - - 7d764e78 by Emmanuel Bourg at 2021-02-03T23:23:19+01:00 Update upstream source from tag 'upstream/1.06' Update to upstream version '1.06' with Debian dir 3c708b50d40cff82ea9d22cc591803b9db8f5d87 - - - - - f3290e6b by Emmanuel Bourg at 2021-02-03T23:25:12+01:00 New upstream release (1.06) - - - - - 8 changed files: - README.md - debian/changelog - − debian/compat - debian/control - debian/rules - pom.xml - src/main/java/com/graphbuilder/curve/CardinalSpline.java - src/main/java/com/graphbuilder/curve/CatmullRomSpline.java Changes: ===================================== README.md ===================================== @@ -17,7 +17,7 @@ However, bugfixes and reasonably scoped improvements will be accepted. List of changes --------------- -* Version has been bumped to 1.04 +* Version has been bumped to 1.06 * The javadocs have been removed from this distribution * The build scripts have been removed and pom.xml has been added to support usage with maven @@ -37,4 +37,3 @@ The original project used a BSD license, and remains so.. com.graphbuilder.org.apache.harmony.awt.gl.Crossing is from the Apache Harmony project and is released under the Apache 2.0 license. - ===================================== debian/changelog ===================================== @@ -1,3 +1,12 @@ +curvesapi (1.06-1) unstable; urgency=medium + + * New upstream release + * Standards-Version updated to 4.5.1 + * Switch to debhelper level 13 + * Use salsa.debian.org Vcs-* URLs + + -- Emmanuel Bourg <[email protected]> Wed, 03 Feb 2021 23:23:59 +0100 + curvesapi (1.05-1) unstable; urgency=medium * Initial release (Closes: #848520) ===================================== debian/compat deleted ===================================== @@ -1 +0,0 @@ -10 ===================================== debian/control ===================================== @@ -3,15 +3,19 @@ Section: java Priority: optional Maintainer: Debian Java Maintainers <[email protected]> Uploaders: Emmanuel Bourg <[email protected]> -Build-Depends: debhelper (>= 10), default-jdk, maven-debian-helper (>= 2.1), junit4 -Standards-Version: 3.9.8 -Vcs-Git: https://anonscm.debian.org/git/pkg-java/curvesapi.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/curvesapi.git +Build-Depends: + debhelper-compat (= 13), + default-jdk, + junit4, + maven-debian-helper (>= 2.1) +Standards-Version: 4.5.1 +Vcs-Git: https://salsa.debian.org/java-team/curvesapi.git +Vcs-Browser: https://salsa.debian.org/java-team/curvesapi Homepage: https://github.com/virtuald/curvesapi Package: libcurvesapi-java Architecture: all -Depends: ${misc:Depends}, ${maven:Depends} +Depends: ${maven:Depends}, ${misc:Depends} Suggests: ${maven:OptionalDepends} Description: Java implementation of mathematical curves defined over a set of control points Implementation of various mathematical curves that define themselves over ===================================== debian/rules ===================================== @@ -2,6 +2,3 @@ %: dh $@ - -get-orig-source: - uscan --download-current-version --force-download --no-symlink ===================================== pom.xml ===================================== @@ -2,7 +2,7 @@ <modelVersion>4.0.0</modelVersion> <groupId>com.github.virtuald</groupId> <artifactId>curvesapi</artifactId> - <version>1.05</version> + <version>1.06</version> <name>curvesapi</name> <description>Implementation of various mathematical curves that define themselves over a set of control points. The API is written in Java. The curves supported are: Bezier, B-Spline, Cardinal Spline, Catmull-Rom Spline, Lagrange, Natural Cubic Spline, and NURBS.</description> <url>https://github.com/virtuald/curvesapi</url> ===================================== src/main/java/com/graphbuilder/curve/CardinalSpline.java ===================================== @@ -133,8 +133,9 @@ public class CardinalSpline extends ParametricCurve { int count_j = gi.count_j(); for (int i = 0; i < 4; i++) { - if (!gi.hasNext()) - throw new IllegalArgumentException("Group iterator ended early"); + if (!gi.hasNext()) { + return; + } sharedData.pt[i] = cp.getPoint(gi.next()).getLocation(); } ===================================== src/main/java/com/graphbuilder/curve/CatmullRomSpline.java ===================================== @@ -106,8 +106,9 @@ public class CatmullRomSpline extends ParametricCurve { int count_j = gi.count_j(); for (int i = 0; i < 4; i++) { - if (!gi.hasNext()) - throw new IllegalArgumentException("Group iterator ended early"); + if (!gi.hasNext()) { + return; + } sharedData.pt[i] = cp.getPoint(gi.next()).getLocation(); } View it on GitLab: https://salsa.debian.org/java-team/curvesapi/-/compare/43741af680bc9d300a1561cec9025fe3ee2f10bc...f3290e6b807241d5a065e01681180c82d36b7325 -- View it on GitLab: https://salsa.debian.org/java-team/curvesapi/-/compare/43741af680bc9d300a1561cec9025fe3ee2f10bc...f3290e6b807241d5a065e01681180c82d36b7325 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

