Commit 5299f13e authored by Guillaume Beraudo's avatar Guillaume Beraudo

Removed some compiler warnings.

parent e7658826
...@@ -24,6 +24,7 @@ import java.util.Vector; ...@@ -24,6 +24,7 @@ import java.util.Vector;
* Object representing a Call. calls are created using {@link LinphoneCore#invite(LinphoneAddress)} or paased to the application by listener {@link LinphoneCoreListener#callState(LinphoneCore, LinphoneCall, State, String)} * Object representing a Call. calls are created using {@link LinphoneCore#invite(LinphoneAddress)} or paased to the application by listener {@link LinphoneCoreListener#callState(LinphoneCore, LinphoneCall, State, String)}
* *
*/ */
@SuppressWarnings("unchecked")
public interface LinphoneCall { public interface LinphoneCall {
/** /**
* Linphone call states * Linphone call states
......
...@@ -24,7 +24,7 @@ package org.linphone.core; ...@@ -24,7 +24,7 @@ package org.linphone.core;
import java.util.Vector; import java.util.Vector;
@SuppressWarnings("unchecked")
public interface LinphoneCallLog { public interface LinphoneCallLog {
/** /**
* Represents call status * Represents call status
......
...@@ -25,11 +25,12 @@ import java.util.Vector; ...@@ -25,11 +25,12 @@ import java.util.Vector;
* Linphone core main object created by method {@link LinphoneCoreFactory#createLinphoneCore(LinphoneCoreListener, String, String, Object)}. * Linphone core main object created by method {@link LinphoneCoreFactory#createLinphoneCore(LinphoneCoreListener, String, String, Object)}.
* *
*/ */
@SuppressWarnings("unchecked")
public interface LinphoneCore { public interface LinphoneCore {
/** /**
* linphone core states * linphone core states
*/ */
static public class GlobalState { static public class GlobalState {
static private Vector values = new Vector(); static private Vector values = new Vector();
/** /**
* Off * Off
...@@ -72,28 +73,28 @@ public interface LinphoneCore { ...@@ -72,28 +73,28 @@ public interface LinphoneCore {
* Describes proxy registration states. * Describes proxy registration states.
* *
*/ */
static public class RegistrationState { static public class RegistrationState {
static private Vector values = new Vector(); private static Vector values = new Vector();
/** /**
* None * None
*/ */
static public RegistrationState RegistrationNone = new RegistrationState(0,"RegistrationNone"); public static RegistrationState RegistrationNone = new RegistrationState(0,"RegistrationNone");
/** /**
* In Progress * In Progress
*/ */
static public RegistrationState RegistrationProgress = new RegistrationState(1,"RegistrationProgress"); public static RegistrationState RegistrationProgress = new RegistrationState(1,"RegistrationProgress");
/** /**
* Ok * Ok
*/ */
static public RegistrationState RegistrationOk = new RegistrationState(2,"RegistrationOk"); public static RegistrationState RegistrationOk = new RegistrationState(2,"RegistrationOk");
/** /**
* Cleared * Cleared
*/ */
static public RegistrationState RegistrationCleared = new RegistrationState(3,"RegistrationCleared"); public static RegistrationState RegistrationCleared = new RegistrationState(3,"RegistrationCleared");
/** /**
* Failed * Failed
*/ */
static public RegistrationState RegistrationFailed = new RegistrationState(4,"RegistrationFailed"); public static RegistrationState RegistrationFailed = new RegistrationState(4,"RegistrationFailed");
private final int mValue; private final int mValue;
private final String mStringValue; private final String mStringValue;
...@@ -118,7 +119,7 @@ public interface LinphoneCore { ...@@ -118,7 +119,7 @@ public interface LinphoneCore {
* Describes firewall policy. * Describes firewall policy.
* *
*/ */
static public class FirewallPolicy { static public class FirewallPolicy {
static private Vector values = new Vector(); static private Vector values = new Vector();
/** /**
* No firewall is assumed. * No firewall is assumed.
......
...@@ -21,7 +21,7 @@ package org.linphone.core; ...@@ -21,7 +21,7 @@ package org.linphone.core;
@SuppressWarnings("unchecked")
abstract public class LinphoneCoreFactory { abstract public class LinphoneCoreFactory {
private static String factoryName = "org.linphone.core.LinphoneCoreFactoryImpl"; private static String factoryName = "org.linphone.core.LinphoneCoreFactoryImpl";
......
...@@ -27,6 +27,7 @@ import java.util.Vector; ...@@ -27,6 +27,7 @@ import java.util.Vector;
* *
* *
*/ */
@SuppressWarnings("unchecked")
public interface LinphoneFriend { public interface LinphoneFriend {
/** /**
* Enum controlling behavior for incoming subscription request. * Enum controlling behavior for incoming subscription request.
......
...@@ -25,6 +25,7 @@ import java.util.Vector; ...@@ -25,6 +25,7 @@ import java.util.Vector;
* Enum describing remote friend status * Enum describing remote friend status
* *
*/ */
@SuppressWarnings("unchecked")
public class OnlineStatus { public class OnlineStatus {
static private Vector values = new Vector(); static private Vector values = new Vector();
......
...@@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ...@@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
package org.linphone.core; package org.linphone.core;
@SuppressWarnings("serial")
public class LinphoneCoreException extends Exception { public class LinphoneCoreException extends Exception {
public LinphoneCoreException() { public LinphoneCoreException() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment