Fixes warnings.
This commit is contained in:
parent
26c34b25b4
commit
7454ebd7c5
@ -6,20 +6,19 @@
|
|||||||
*/
|
*/
|
||||||
package org.ice4j.ice.harvest;
|
package org.ice4j.ice.harvest;
|
||||||
|
|
||||||
|
import java.io.*;
|
||||||
|
import java.lang.ref.*;
|
||||||
|
import java.net.*;
|
||||||
|
import java.nio.channels.*;
|
||||||
|
import java.util.*;
|
||||||
|
import java.util.logging.*;
|
||||||
|
|
||||||
import org.ice4j.*;
|
import org.ice4j.*;
|
||||||
import org.ice4j.attribute.*;
|
import org.ice4j.attribute.*;
|
||||||
import org.ice4j.ice.*;
|
import org.ice4j.ice.*;
|
||||||
import org.ice4j.message.*;
|
import org.ice4j.message.*;
|
||||||
import org.ice4j.socket.*;
|
import org.ice4j.socket.*;
|
||||||
|
|
||||||
import java.io.*;
|
|
||||||
import java.lang.ref.*;
|
|
||||||
import java.net.*;
|
|
||||||
import java.nio.*;
|
|
||||||
import java.nio.channels.*;
|
|
||||||
import java.util.*;
|
|
||||||
import java.util.logging.*;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A <tt>CandidateHarvester</tt> implementation, which listens on a specified
|
* A <tt>CandidateHarvester</tt> implementation, which listens on a specified
|
||||||
* list of TCP server sockets. On {@link #harvest(org.ice4j.ice.Component)}, a
|
* list of TCP server sockets. On {@link #harvest(org.ice4j.ice.Component)}, a
|
||||||
|
|||||||
@ -955,7 +955,6 @@ public class MessageFactory
|
|||||||
*
|
*
|
||||||
* @return data indication message
|
* @return data indication message
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unused")
|
|
||||||
public static Indication createDataIndication(
|
public static Indication createDataIndication(
|
||||||
TransportAddress peerAddress, byte[] data, byte[] tranID)
|
TransportAddress peerAddress, byte[] data, byte[] tranID)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -191,7 +191,6 @@ public class BlockingRequestSender
|
|||||||
* access point that had not been installed,
|
* access point that had not been installed,
|
||||||
* @throws StunException if message encoding fails,
|
* @throws StunException if message encoding fails,
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unused")
|
|
||||||
public synchronized StunMessageEvent sendRequestAndWaitForResponse(
|
public synchronized StunMessageEvent sendRequestAndWaitForResponse(
|
||||||
Request request,
|
Request request,
|
||||||
TransportAddress serverAddress,
|
TransportAddress serverAddress,
|
||||||
|
|||||||
@ -329,13 +329,13 @@ public class ByteFifoBufferTest
|
|||||||
int len = Alen + Blen + Clen + Dlen;
|
int len = Alen + Blen + Clen + Dlen;
|
||||||
ByteFifoBuffer fifo = new ByteFifoBuffer(len);
|
ByteFifoBuffer fifo = new ByteFifoBuffer(len);
|
||||||
byte[] A = getWData(Alen);
|
byte[] A = getWData(Alen);
|
||||||
byte[] B = getWData(Blen);
|
/*byte[] B =*/ getWData(Blen);
|
||||||
byte[] C = getWData(Clen);
|
/*byte[] C =*/ getWData(Clen);
|
||||||
byte[] D = getWData(Dlen);
|
/*byte[] D =*/ getWData(Dlen);
|
||||||
byte[] Aread = getWData(Alen);
|
byte[] Aread = getWData(Alen);
|
||||||
byte[] Bread = getWData(Blen);
|
/*byte[] Bread =*/ getWData(Blen);
|
||||||
byte[] Cread = getWData(Clen);
|
/*byte[] Cread =*/ getWData(Clen);
|
||||||
byte[] Dread = getWData(Dlen);
|
/*byte[] Dread =*/ getWData(Dlen);
|
||||||
|
|
||||||
fifo.writeOffset(A, Alen, 0);
|
fifo.writeOffset(A, Alen, 0);
|
||||||
fifo.consumeWriteBuffer(Alen);
|
fifo.consumeWriteBuffer(Alen);
|
||||||
|
|||||||
@ -16,13 +16,12 @@ import java.net.*;
|
|||||||
*/
|
*/
|
||||||
public class Signalling
|
public class Signalling
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The socket where we send and receive signalling
|
* The socket where we send and receive signalling
|
||||||
*/
|
*/
|
||||||
private Socket signallingSocket;
|
private final Socket signallingSocket;
|
||||||
|
|
||||||
private SignallingCallback signallingCallback;
|
private final SignallingCallback signallingCallback;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a signalling instance over the specified socket.
|
* Creates a signalling instance over the specified socket.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user