Strip trailing whitespace

This commit is contained in:
Chris Beams 2014-11-02 16:28:26 +01:00
parent 4e5fbb5f0b
commit 830932d93d
No known key found for this signature in database
GPG key ID: 3D214F8F5BC5ED73
33 changed files with 49 additions and 49 deletions

View file

@ -83,7 +83,7 @@ public class BasicUsecasesInWANTest {
private String overrideBootStrapMode = "default"; // nat, relay
// In port forwarding mode the isSuccess returns false, but the DHT operations succeeded.
// In port forwarding mode the isSuccess returns false, but the DHT operations succeeded.
// Needs investigation why.
private boolean ignoreSuccessTests = true;
@ -288,7 +288,7 @@ public class BasicUsecasesInWANTest {
}
}
// That test should succeed in port forwarding as we use the server seed node as receiver
// That test should succeed in port forwarding as we use the server seed node as receiver
@Test
@Ignore
public void testSendDirectPortForwarding() throws Exception {

View file

@ -1,12 +1,12 @@
/*
* Copyright 2012 Thomas Bocek
*
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
@ -82,7 +82,7 @@ public class UtilsDHT2 {
}
public static PeerAddress createAddress(Number160 idSender, String inetSender, int tcpPortSender,
int udpPortSender, boolean firewallUDP,
int udpPortSender, boolean firewallUDP,
boolean firewallTCP) throws UnknownHostException {
InetAddress inetSend = InetAddress.getByName(inetSender);
PeerSocketAddress peerSocketAddress = new PeerSocketAddress(inetSend, tcpPortSender, udpPortSender);
@ -92,9 +92,9 @@ public class UtilsDHT2 {
}
public static Message createDummyMessage(Number160 idSender, String inetSender, int tcpPortSendor,
int udpPortSender, Number160 idRecipien, String inetRecipient,
int udpPortSender, Number160 idRecipien, String inetRecipient,
int tcpPortRecipient,
int udpPortRecipient, byte command, Type type, boolean firewallUDP,
int udpPortRecipient, byte command, Type type, boolean firewallUDP,
boolean firewallTCP)
throws UnknownHostException {
Message message = new Message();