Ignore:
Timestamp:
2016-07-24T23:50:15+02:00 (3 years ago)
Author:
Don-vip
Message:

sonar - squid:RedundantThrowsDeclarationCheck - Throws declarations should not be superfluous

Location:
trunk/src/org/openstreetmap/josm/io
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/BoundingBoxDownloader.java

    r10253 r10632  
    203203
    204204    @Override
    205     public List<Note> parseNotes(int noteLimit, int daysClosed, ProgressMonitor progressMonitor)
    206             throws OsmTransferException, MoreNotesException {
     205    public List<Note> parseNotes(int noteLimit, int daysClosed, ProgressMonitor progressMonitor) throws OsmTransferException {
    207206        progressMonitor.beginTask(tr("Downloading notes"));
    208207        CheckParameterUtil.ensureThat(noteLimit > 0, "Requested note limit is less than 1.");
  • trunk/src/org/openstreetmap/josm/io/Capabilities.java

    r10378 r10632  
    9898     * @throws NumberFormatException if the value is not a valid double
    9999     */
    100     public Double getDouble(String element, String attribute) throws NumberFormatException {
     100    public Double getDouble(String element, String attribute) {
    101101        String s = get(element, attribute);
    102102        if (s == null) return null;
  • trunk/src/org/openstreetmap/josm/io/NmeaReader.java

    r10627 r10632  
    447447    }
    448448
    449     private static LatLon parseLatLon(String ns, String ew, String dlat, String dlon)
    450     throws NumberFormatException {
     449    private static LatLon parseLatLon(String ns, String ew, String dlat, String dlon) {
    451450        String widthNorth = dlat.trim();
    452451        String lengthEast = dlon.trim();
  • trunk/src/org/openstreetmap/josm/io/OsmExporter.java

    r9537 r10632  
    55
    66import java.io.File;
    7 import java.io.FileNotFoundException;
    87import java.io.IOException;
    98import java.io.OutputStream;
     
    7675    }
    7776
    78     protected static OutputStream getOutputStream(File file) throws FileNotFoundException, IOException {
     77    protected static OutputStream getOutputStream(File file) throws IOException {
    7978        return Compression.getCompressedFileOutputStream(file);
    8079    }
     
    125124    }
    126125
    127     protected void doSave(File file, OsmDataLayer layer) throws IOException, FileNotFoundException {
     126    protected void doSave(File file, OsmDataLayer layer) throws IOException {
    128127        // create outputstream and wrap it with gzip or bzip, if necessary
    129128        try (
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/RemoteControlHttpsServer.java

    r10627 r10632  
    363363     * @param ipv6 Whether IPv6 or IPv4 server should be started
    364364     * @throws IOException when connection errors
    365      * @throws NoSuchAlgorithmException if the JVM does not support TLS (can not happen)
    366365     * @throws GeneralSecurityException in case of SSL setup errors
    367366     * @since 8339
    368367     */
    369     public RemoteControlHttpsServer(int port, boolean ipv6) throws IOException, NoSuchAlgorithmException, GeneralSecurityException {
     368    public RemoteControlHttpsServer(int port, boolean ipv6) throws IOException, GeneralSecurityException {
    370369        super("RemoteControl HTTPS Server");
    371370        this.setDaemon(true);
  • trunk/src/org/openstreetmap/josm/io/session/SessionReader.java

    r10615 r10632  
    606606    }
    607607
    608     private static InputStream getZipInputStream(ZipFile zipFile) throws ZipException, IOException, IllegalDataException {
     608    private static InputStream getZipInputStream(ZipFile zipFile) throws IOException, IllegalDataException {
    609609        ZipEntry josEntry = null;
    610610        Enumeration<? extends ZipEntry> entries = zipFile.entries();
Note: See TracChangeset for help on using the changeset viewer.