forked from mirrors/linphone-iphone
Fix some warnings.
This commit is contained in:
parent
4821958ecd
commit
a879204d2d
8 changed files with 13 additions and 13 deletions
|
|
@ -32,7 +32,7 @@ public interface LinphoneCall {
|
|||
*/
|
||||
static class State {
|
||||
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<State> values = new Vector<State>();
|
||||
private final int mValue;
|
||||
public final int value() {return mValue;}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ public interface LinphoneCallLog {
|
|||
*/
|
||||
static class CallStatus {
|
||||
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<CallStatus> values = new Vector<CallStatus>();
|
||||
private final int mValue;
|
||||
private final String mStringValue;
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import java.util.Vector;
|
|||
|
||||
public interface LinphoneCallStats {
|
||||
static public class MediaType {
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<MediaType> values = new Vector<MediaType>();
|
||||
/**
|
||||
* Audio
|
||||
*/
|
||||
|
|
@ -52,7 +52,7 @@ public interface LinphoneCallStats {
|
|||
}
|
||||
}
|
||||
static public class IceState {
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<IceState> values = new Vector<IceState>();
|
||||
/**
|
||||
* Not activated
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ public interface LinphoneChatMessage {
|
|||
void onLinphoneChatMessageStateChanged(LinphoneChatMessage msg, State state);
|
||||
}
|
||||
public static class State {
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<State> values = new Vector<State>();
|
||||
private final int mValue;
|
||||
public final int value() {return mValue;}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public interface LinphoneCore {
|
|||
*/
|
||||
static public class GlobalState {
|
||||
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<GlobalState> values = new Vector<GlobalState>();
|
||||
/**
|
||||
* Off
|
||||
*/
|
||||
|
|
@ -76,7 +76,7 @@ public interface LinphoneCore {
|
|||
*/
|
||||
static public class RegistrationState {
|
||||
|
||||
private static Vector values = new Vector();
|
||||
private static Vector<RegistrationState> values = new Vector<RegistrationState>();
|
||||
/**
|
||||
* None
|
||||
*/
|
||||
|
|
@ -124,7 +124,7 @@ public interface LinphoneCore {
|
|||
*/
|
||||
static public class FirewallPolicy {
|
||||
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<FirewallPolicy> values = new Vector<FirewallPolicy>();
|
||||
/**
|
||||
* No firewall is assumed.
|
||||
*/
|
||||
|
|
@ -191,7 +191,7 @@ public interface LinphoneCore {
|
|||
*/
|
||||
static public final class MediaEncryption {
|
||||
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<MediaEncryption> values = new Vector<MediaEncryption>();
|
||||
/**
|
||||
* None
|
||||
*/
|
||||
|
|
@ -230,7 +230,7 @@ public interface LinphoneCore {
|
|||
*/
|
||||
static public class EcCalibratorStatus {
|
||||
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<EcCalibratorStatus> values = new Vector<EcCalibratorStatus>();
|
||||
/* Do not change the values of these constants or the strings associated with them to prevent breaking
|
||||
the collection of echo canceller calibration results during the wizard! */
|
||||
public static final int IN_PROGRESS_STATUS=0;
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ abstract public class LinphoneCoreFactory {
|
|||
public static final synchronized LinphoneCoreFactory instance() {
|
||||
try {
|
||||
if (theLinphoneCoreFactory == null) {
|
||||
Class lFactoryClass = Class.forName(factoryName);
|
||||
Class<?> lFactoryClass = Class.forName(factoryName);
|
||||
theLinphoneCoreFactory = (LinphoneCoreFactory) lFactoryClass.newInstance();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ public interface LinphoneFriend {
|
|||
static class SubscribePolicy {
|
||||
|
||||
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<SubscribePolicy> values = new Vector<SubscribePolicy>();
|
||||
protected final int mValue;
|
||||
private final String mStringValue;
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import java.util.Vector;
|
|||
|
||||
public class OnlineStatus {
|
||||
|
||||
static private Vector values = new Vector();
|
||||
static private Vector<OnlineStatus> values = new Vector<OnlineStatus>();
|
||||
/**
|
||||
* Offline
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue