1
0
mirror of https://github.com/moparisthebest/k-9 synced 2025-01-30 23:00:09 -05:00

Added @Override compile check

This commit is contained in:
Fiouz 2010-10-06 17:51:35 +00:00
parent 9b5436d23b
commit f858c72482

View File

@ -245,6 +245,7 @@ public class MessageProvider extends ContentProvider
{ {
private CrossProcessCursor mCursor; private CrossProcessCursor mCursor;
@Override
public void close() public void close()
{ {
mCursor.close(); mCursor.close();
@ -255,16 +256,19 @@ public class MessageProvider extends ContentProvider
} }
} }
@Override
public void fillWindow(int pos, CursorWindow winow) public void fillWindow(int pos, CursorWindow winow)
{ {
mCursor.fillWindow(pos, winow); mCursor.fillWindow(pos, winow);
} }
@Override
public CursorWindow getWindow() public CursorWindow getWindow()
{ {
return mCursor.getWindow(); return mCursor.getWindow();
} }
@Override
public boolean onMove(int oldPosition, int newPosition) public boolean onMove(int oldPosition, int newPosition)
{ {
return mCursor.onMove(oldPosition, newPosition); return mCursor.onMove(oldPosition, newPosition);
@ -278,111 +282,133 @@ public class MessageProvider extends ContentProvider
this.mCursor = cursor; this.mCursor = cursor;
} }
@Override
public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer) public void copyStringToBuffer(int columnIndex, CharArrayBuffer buffer)
{ {
mCursor.copyStringToBuffer(columnIndex, buffer); mCursor.copyStringToBuffer(columnIndex, buffer);
} }
@Override
public void deactivate() public void deactivate()
{ {
mCursor.deactivate(); mCursor.deactivate();
} }
@Override
public byte[] getBlob(int columnIndex) public byte[] getBlob(int columnIndex)
{ {
return mCursor.getBlob(columnIndex); return mCursor.getBlob(columnIndex);
} }
@Override
public int getColumnCount() public int getColumnCount()
{ {
return mCursor.getColumnCount(); return mCursor.getColumnCount();
} }
@Override
public int getColumnIndex(String columnName) public int getColumnIndex(String columnName)
{ {
return mCursor.getColumnIndex(columnName); return mCursor.getColumnIndex(columnName);
} }
@Override
public int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException public int getColumnIndexOrThrow(String columnName) throws IllegalArgumentException
{ {
return mCursor.getColumnIndexOrThrow(columnName); return mCursor.getColumnIndexOrThrow(columnName);
} }
@Override
public String getColumnName(int columnIndex) public String getColumnName(int columnIndex)
{ {
return mCursor.getColumnName(columnIndex); return mCursor.getColumnName(columnIndex);
} }
@Override
public String[] getColumnNames() public String[] getColumnNames()
{ {
return mCursor.getColumnNames(); return mCursor.getColumnNames();
} }
@Override
public int getCount() public int getCount()
{ {
return mCursor.getCount(); return mCursor.getCount();
} }
@Override
public double getDouble(int columnIndex) public double getDouble(int columnIndex)
{ {
return mCursor.getDouble(columnIndex); return mCursor.getDouble(columnIndex);
} }
@Override
public Bundle getExtras() public Bundle getExtras()
{ {
return mCursor.getExtras(); return mCursor.getExtras();
} }
@Override
public float getFloat(int columnIndex) public float getFloat(int columnIndex)
{ {
return mCursor.getFloat(columnIndex); return mCursor.getFloat(columnIndex);
} }
@Override
public int getInt(int columnIndex) public int getInt(int columnIndex)
{ {
return mCursor.getInt(columnIndex); return mCursor.getInt(columnIndex);
} }
@Override
public long getLong(int columnIndex) public long getLong(int columnIndex)
{ {
return mCursor.getLong(columnIndex); return mCursor.getLong(columnIndex);
} }
@Override
public int getPosition() public int getPosition()
{ {
return mCursor.getPosition(); return mCursor.getPosition();
} }
@Override
public short getShort(int columnIndex) public short getShort(int columnIndex)
{ {
return mCursor.getShort(columnIndex); return mCursor.getShort(columnIndex);
} }
@Override
public String getString(int columnIndex) public String getString(int columnIndex)
{ {
return mCursor.getString(columnIndex); return mCursor.getString(columnIndex);
} }
@Override
public boolean getWantsAllOnMoveCalls() public boolean getWantsAllOnMoveCalls()
{ {
return mCursor.getWantsAllOnMoveCalls(); return mCursor.getWantsAllOnMoveCalls();
} }
@Override
public boolean isAfterLast() public boolean isAfterLast()
{ {
return mCursor.isAfterLast(); return mCursor.isAfterLast();
} }
@Override
public boolean isBeforeFirst() public boolean isBeforeFirst()
{ {
return mCursor.isBeforeFirst(); return mCursor.isBeforeFirst();
} }
@Override
public boolean isClosed() public boolean isClosed()
{ {
return mCursor.isClosed(); return mCursor.isClosed();
} }
@Override
public boolean isFirst() public boolean isFirst()
{ {
return mCursor.isFirst(); return mCursor.isFirst();
@ -393,71 +419,85 @@ public class MessageProvider extends ContentProvider
return mCursor.isLast(); return mCursor.isLast();
} }
@Override
public boolean isNull(int columnIndex) public boolean isNull(int columnIndex)
{ {
return mCursor.isNull(columnIndex); return mCursor.isNull(columnIndex);
} }
@Override
public boolean move(int offset) public boolean move(int offset)
{ {
return mCursor.move(offset); return mCursor.move(offset);
} }
@Override
public boolean moveToFirst() public boolean moveToFirst()
{ {
return mCursor.moveToFirst(); return mCursor.moveToFirst();
} }
@Override
public boolean moveToLast() public boolean moveToLast()
{ {
return mCursor.moveToLast(); return mCursor.moveToLast();
} }
@Override
public boolean moveToNext() public boolean moveToNext()
{ {
return mCursor.moveToNext(); return mCursor.moveToNext();
} }
@Override
public boolean moveToPosition(int position) public boolean moveToPosition(int position)
{ {
return mCursor.moveToPosition(position); return mCursor.moveToPosition(position);
} }
@Override
public boolean moveToPrevious() public boolean moveToPrevious()
{ {
return mCursor.moveToPrevious(); return mCursor.moveToPrevious();
} }
@Override
public void registerContentObserver(ContentObserver observer) public void registerContentObserver(ContentObserver observer)
{ {
mCursor.registerContentObserver(observer); mCursor.registerContentObserver(observer);
} }
@Override
public void registerDataSetObserver(DataSetObserver observer) public void registerDataSetObserver(DataSetObserver observer)
{ {
mCursor.registerDataSetObserver(observer); mCursor.registerDataSetObserver(observer);
} }
@Override
public boolean requery() public boolean requery()
{ {
return mCursor.requery(); return mCursor.requery();
} }
@Override
public Bundle respond(Bundle extras) public Bundle respond(Bundle extras)
{ {
return mCursor.respond(extras); return mCursor.respond(extras);
} }
@Override
public void setNotificationUri(ContentResolver cr, Uri uri) public void setNotificationUri(ContentResolver cr, Uri uri)
{ {
mCursor.setNotificationUri(cr, uri); mCursor.setNotificationUri(cr, uri);
} }
@Override
public void unregisterContentObserver(ContentObserver observer) public void unregisterContentObserver(ContentObserver observer)
{ {
mCursor.unregisterContentObserver(observer); mCursor.unregisterContentObserver(observer);
} }
@Override
public void unregisterDataSetObserver(DataSetObserver observer) public void unregisterDataSetObserver(DataSetObserver observer)
{ {
mCursor.unregisterDataSetObserver(observer); mCursor.unregisterDataSetObserver(observer);