[Git][debian-gis-team/jmapviewer][master] 4 commits: New upstream version 2.19+dfsg

Bas Couwenberg (@sebastic) gitlab at salsa.debian.org
Thu Dec 28 05:45:41 GMT 2023



Bas Couwenberg pushed to branch master at Debian GIS Project / jmapviewer


Commits:
fb1c3dbd by Bas Couwenberg at 2023-12-28T06:38:07+01:00
New upstream version 2.19+dfsg
- - - - -
10470d19 by Bas Couwenberg at 2023-12-28T06:38:08+01:00
Update upstream source from tag 'upstream/2.19+dfsg'

Update to upstream version '2.19+dfsg'
with Debian dir 89293f158dcb3fb26569e62a7619c4f80076a523
- - - - -
ed2e915c by Bas Couwenberg at 2023-12-28T06:38:19+01:00
New upstream release.

- - - - -
c20d819f by Bas Couwenberg at 2023-12-28T06:39:45+01:00
Set distribution to unstable.

- - - - -


3 changed files:

- build.xml
- debian/changelog
- src/org/openstreetmap/gui/jmapviewer/TileRange.java


Changes:

=====================================
build.xml
=====================================
@@ -139,7 +139,7 @@
     <target name="checkstyle" depends="resolve">
         <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties"
             classpathref="checkstyle.classpath"/>
-        <checkstyle config="tools/checkstyle/jmapviewer_checks.xml">
+        <checkstyle config="${basedir}/tools/checkstyle/jmapviewer_checks.xml">
             <!-- Exclude the module-info since checkstyle currently cannot parse it -->
             <fileset dir="${basedir}/src" includes="**/*.java" excludes="module-info.java" />
             <formatter type="xml" toFile="checkstyle-jmapviewer.xml"/>


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+jmapviewer (2.19+dfsg-1) unstable; urgency=medium
+
+  * New upstream release.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 28 Dec 2023 06:39:31 +0100
+
 jmapviewer (2.18+dfsg-1) unstable; urgency=medium
 
   * New upstream release.


=====================================
src/org/openstreetmap/gui/jmapviewer/TileRange.java
=====================================
@@ -47,11 +47,12 @@ public class TileRange {
     /**
      * Returns size
      * @return size
+     * @throws ArithmeticException – if the result overflows an int (see {@link Math#multiplyExact(int, int)})
      */
-    public int size() {
+    public int size() throws ArithmeticException {
         int xSpan = maxX - minX + 1;
         int ySpan = maxY - minY + 1;
-        return xSpan * ySpan;
+        return Math.multiplyExact(xSpan, ySpan);
     }
 }
 



View it on GitLab: https://salsa.debian.org/debian-gis-team/jmapviewer/-/compare/27a27df15c6a9864a67978ffcc06015fc051b6b9...c20d819f9c28e79937b2e61dd4e4d48f4d74a53b

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/jmapviewer/-/compare/27a27df15c6a9864a67978ffcc06015fc051b6b9...c20d819f9c28e79937b2e61dd4e4d48f4d74a53b
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20231228/4f097713/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list