Remove more warnings

Change-Id: I0b7475a3569a05c90aa1ab6540c875326da96768
This commit is contained in:
Scott Kennedy 2013-08-01 08:55:38 -07:00
parent c543c4f04d
commit 9a0382bb46
3 changed files with 7 additions and 0 deletions

View File

@ -444,10 +444,12 @@ public final class Policy extends EmailContent implements EmailContent.PolicyCol
* Supports Parcelable * Supports Parcelable
*/ */
public static final Parcelable.Creator<Policy> CREATOR = new Parcelable.Creator<Policy>() { public static final Parcelable.Creator<Policy> CREATOR = new Parcelable.Creator<Policy>() {
@Override
public Policy createFromParcel(Parcel in) { public Policy createFromParcel(Parcel in) {
return new Policy(in); return new Policy(in);
} }
@Override
public Policy[] newArray(int size) { public Policy[] newArray(int size) {
return new Policy[size]; return new Policy[size];
} }

View File

@ -192,6 +192,7 @@ public final class QuickResponse extends EmailContent
/** /**
* Implements Parcelable. * Implements Parcelable.
*/ */
@Override
public void writeToParcel(Parcel dest, int flags) { public void writeToParcel(Parcel dest, int flags) {
// mBaseUri is not parceled // mBaseUri is not parceled
dest.writeLong(mId); dest.writeLong(mId);

View File

@ -269,6 +269,7 @@ public class SSLSocketFactory implements LayeredSocketFactory {
// non-javadoc, see interface org.apache.http.conn.SocketFactory // non-javadoc, see interface org.apache.http.conn.SocketFactory
@Override
public Socket createSocket() public Socket createSocket()
throws IOException { throws IOException {
@ -278,6 +279,7 @@ public class SSLSocketFactory implements LayeredSocketFactory {
// non-javadoc, see interface org.apache.http.conn.SocketFactory // non-javadoc, see interface org.apache.http.conn.SocketFactory
@Override
public Socket connectSocket( public Socket connectSocket(
final Socket sock, final Socket sock,
final String host, final String host,
@ -348,6 +350,7 @@ public class SSLSocketFactory implements LayeredSocketFactory {
* *
* @throws IllegalArgumentException if the argument is invalid * @throws IllegalArgumentException if the argument is invalid
*/ */
@Override
public boolean isSecure(Socket sock) public boolean isSecure(Socket sock)
throws IllegalArgumentException { throws IllegalArgumentException {
@ -370,6 +373,7 @@ public class SSLSocketFactory implements LayeredSocketFactory {
// non-javadoc, see interface LayeredSocketFactory // non-javadoc, see interface LayeredSocketFactory
@Override
public Socket createSocket( public Socket createSocket(
final Socket socket, final Socket socket,
final String host, final String host,