Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gradle:8.14.3-jdk21 AS builder
FROM gradle:9.2.1-jdk21 AS builder

RUN --mount=type=cache,target=/var/cache,sharing=locked \
--mount=type=cache,target=/root/.cache \
Expand Down
2 changes: 1 addition & 1 deletion checkstyle_checks.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<property name="scope" value="protected"/>
</module>
<module name="JavadocVariable">
<property name="scope" value="protected"/>
<property name="accessModifiers" value="protected"/>
<property name="ignoreNamePattern" value="^[A-Z_]*$"/>
</module>
<module name="JavadocStyle"/>
Expand Down
2 changes: 1 addition & 1 deletion core/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM mapfish_print_builder AS builder

FROM tomcat:9.0.112-jre21-temurin-jammy AS runner
FROM tomcat:11.0.15-jre21-temurin-jammy AS runner
LABEL maintainer="Camptocamp <[email protected]>"

RUN --mount=type=cache,target=/var/cache,sharing=locked \
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/mapfish/print/SvgUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static BufferedImage convertFromSvg(final URI svgFile, final int width, f
}

/** An image transcoder which allows to retrieve an {@link BufferedImage}. */
private static class BufferedImageTranscoder extends ImageTranscoder {
private static final class BufferedImageTranscoder extends ImageTranscoder {

private BufferedImage img = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public String toString() {
}
}

private static class Constants {
private static final class Constants {
private static final double DISTANCE_TREATED_AS_EQUAL = 0.00000000001;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ abstract void updateTransform(
int halfCharHeight,
Rectangle2D textBounds);

private static class Constants {
private static final class Constants {
public static final double MINUS_NINETY_RADIANS = -PI / 2;
public static final double ONE_EIGHTY_RADIANS = PI;
public static final double NINETY_RADIANS = PI / 2;
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-all.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Loading