Ignore:
Timestamp:
2015-06-02T16:41:37+02:00 (9 years ago)
Author:
Don-vip
Message:

remove extra whitespaces

File:
1 edited

Legend:

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

    r8404 r8444  
    153153
    154154    public static int random(int min, int max) {
    155         return (int)(Math.random() * ((max+1)-min) ) + min;
     155        return (int)(Math.random() * ((max+1)-min)) + min;
    156156    }
    157157
     
    268268        String contentType = conn.getHeaderField("Content-Type");
    269269        if (conn.getResponseCode() != 200
    270                 || contentType != null && !contentType.startsWith("image") ) {
     270                || contentType != null && !contentType.startsWith("image")) {
    271271            String xml = readException(conn);
    272272            try {
     
    302302        try (BufferedReader br = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8))) {
    303303            String line = null;
    304             while( (line = br.readLine()) != null) {
     304            while ((line = br.readLine()) != null) {
    305305                // filter non-ASCII characters and control characters
    306306                exception.append(line.replaceAll("[^\\p{Print}]", ""));
Note: See TracChangeset for help on using the changeset viewer.