Ignore:
Timestamp:
2015-05-19T00:05:33+02:00 (5 years ago)
Author:
Don-vip
Message:

convention - An open curly brace should be located at the end of a line

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

Legend:

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

    r8390 r8395  
    235235            // and result in a malformed packet.
    236236            String[] chkstrings = s.split("\\*");
    237             if(chkstrings.length > 1)
    238             {
     237            if (chkstrings.length > 1) {
    239238                byte[] chb = chkstrings[0].getBytes(StandardCharsets.UTF_8);
    240239                int chk=0;
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddNodeHandler.java

    r8394 r8395  
    4343
    4444    @Override
    45     public String[] getMandatoryParams()
    46     {
    47         return new String[] { "lat", "lon" };
     45    public String[] getMandatoryParams() {
     46        return new String[] {"lat", "lon"};
    4847    }
    4948
    5049    @Override
    51     public String[] getOptionalParams()
    52     {
    53         return new String[] { "addtags" };
     50    public String[] getOptionalParams() {
     51        return new String[] {"addtags"};
    5452    }
    5553
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/RequestHandler.java

    r8394 r8395  
    249249     * @param command The command.
    250250     */
    251     public void setCommand(String command)
    252     {
     251    public void setCommand(String command) {
    253252        if (command.charAt(0) == '/') {
    254253            command = command.substring(1);
Note: See TracChangeset for help on using the changeset viewer.