Ticket #23220: use-jakarta-annotation.patch
| File use-jakarta-annotation.patch, 4.0 KB (added by , 3 years ago) |
|---|
-
src/org/openstreetmap/josm/data/notes/Note.java
Description: Use jakarta.annotation instead of javax.annotation. Author: Bas Couwenberg <sebastic@debian.org> Bug: https://josm.openstreetmap.de/ticket/23220
a b import java.util.Objects; 11 11 12 12 import org.openstreetmap.josm.data.coor.LatLon; 13 13 14 import ja vax.annotation.Nullable;14 import jakarta.annotation.Nullable; 15 15 16 16 /** 17 17 * A map note. It always has at least one comment since a comment is required to create a note on osm.org. -
src/org/openstreetmap/josm/data/osm/pbf/Blob.java
a b import java.io.IOException; 6 6 import java.io.InputStream; 7 7 import java.util.zip.InflaterInputStream; 8 8 9 import ja vax.annotation.Nonnull;10 import ja vax.annotation.Nullable;9 import jakarta.annotation.Nonnull; 10 import jakarta.annotation.Nullable; 11 11 12 12 import org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream; 13 13 -
src/org/openstreetmap/josm/data/osm/pbf/BlobHeader.java
a b 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.data.osm.pbf; 3 3 4 import ja vax.annotation.Nonnull;5 import ja vax.annotation.Nullable;4 import jakarta.annotation.Nonnull; 5 import jakarta.annotation.Nullable; 6 6 7 7 /** 8 8 * A "BlobHeader" which contains metadata for a {@link Blob}. -
src/org/openstreetmap/josm/data/osm/pbf/HeaderBlock.java
a b 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.data.osm.pbf; 3 3 4 import ja vax.annotation.Nonnull;5 import ja vax.annotation.Nullable;4 import jakarta.annotation.Nonnull; 5 import jakarta.annotation.Nullable; 6 6 7 7 import org.openstreetmap.josm.data.osm.BBox; 8 8 -
src/org/openstreetmap/josm/data/osm/pbf/Info.java
a b 1 1 // License: GPL. For details, see LICENSE file. 2 2 package org.openstreetmap.josm.data.osm.pbf; 3 3 4 import ja vax.annotation.Nullable;4 import jakarta.annotation.Nullable; 5 5 6 6 /** 7 7 * Optional metadata for primitives -
src/org/openstreetmap/josm/gui/layer/geoimage/viewers/projections/Equirectangular.java
a b import java.awt.image.BufferedImage; 12 12 import java.util.Collections; 13 13 import java.util.Set; 14 14 15 import ja vax.annotation.Nonnull;16 import ja vax.annotation.Nullable;15 import jakarta.annotation.Nonnull; 16 import jakarta.annotation.Nullable; 17 17 18 18 import org.openstreetmap.josm.data.imagery.street_level.Projections; 19 19 import org.openstreetmap.josm.gui.layer.geoimage.ImageDisplay; -
src/org/openstreetmap/josm/gui/util/imagery/CameraPlane.java
a b import java.awt.image.DataBufferByte; 10 10 import java.awt.image.DataBufferDouble; 11 11 import java.awt.image.DataBufferInt; 12 12 import java.util.stream.IntStream; 13 import ja vax.annotation.Nullable;13 import jakarta.annotation.Nullable; 14 14 15 15 /** 16 16 * The plane that the camera appears on and rotates around. -
src/org/openstreetmap/josm/io/OsmPbfReader.java
a b import java.util.Locale; 15 15 import java.util.Map; 16 16 import java.util.Set; 17 17 18 import ja vax.annotation.Nonnull;19 import ja vax.annotation.Nullable;18 import jakarta.annotation.Nonnull; 19 import jakarta.annotation.Nullable; 20 20 21 21 import org.apache.commons.compress.utils.CountingInputStream; 22 22 import org.openstreetmap.josm.data.Bounds; -
src/org/openstreetmap/josm/io/auth/CredentialsAgent.java
a b import java.awt.Component; 5 5 import java.net.Authenticator.RequestorType; 6 6 import java.net.PasswordAuthentication; 7 7 8 import ja vax.annotation.Nullable;8 import jakarta.annotation.Nullable; 9 9 10 10 import org.openstreetmap.josm.data.oauth.IOAuthToken; 11 11 import org.openstreetmap.josm.data.oauth.OAuthToken;
