1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Get K-9 building on Java 1.5 again

This commit is contained in:
Jesse Vincent 2009-12-06 22:41:19 +00:00
parent b47ee0b492
commit 88e6c59e7e
4 changed files with 1 additions and 8 deletions

View File

@ -193,7 +193,7 @@
<!-- Compile this project's .java files into .class files. --> <!-- Compile this project's .java files into .class files. -->
<target name="compile" depends="resource-src, aidl"> <target name="compile" depends="resource-src, aidl">
<javac encoding="ascii" target="1.6" debug="true" extdirs="" <javac encoding="ascii" target="1.5" debug="true" extdirs=""
destdir="${out-classes}" destdir="${out-classes}"
bootclasspathref="android.target.classpath"> bootclasspathref="android.target.classpath">
<src path="${source-folder}" /> <src path="${source-folder}" />

View File

@ -1558,7 +1558,6 @@ public class MessagingController implements Runnable
localFolder.purgeToVisibleLimit(new MessageRemovalListener() localFolder.purgeToVisibleLimit(new MessageRemovalListener()
{ {
@Override
public void messageRemoved(Message message) public void messageRemoved(Message message)
{ {
for (MessagingListener l : getListeners()) for (MessagingListener l : getListeners())

View File

@ -350,7 +350,6 @@ public class MessageList
context.startActivity(intent); context.startActivity(intent);
} }
@Override
public void onItemClick(AdapterView parent, View v, int position, long id) public void onItemClick(AdapterView parent, View v, int position, long id)
{ {
if ((position+1) == (mAdapter.getCount())) if ((position+1) == (mAdapter.getCount()))
@ -2114,7 +2113,6 @@ public class MessageList
public CheckBox selected; public CheckBox selected;
public int position = -1; public int position = -1;
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) public void onCheckedChanged(CompoundButton buttonView, boolean isChecked)
{ {
if (position!=-1) if (position!=-1)
@ -2240,7 +2238,6 @@ public class MessageList
} }
} }
@Override
public void onClick(View v) public void onClick(View v)
{ {
boolean newState = false; boolean newState = false;

View File

@ -2826,7 +2826,6 @@ public class ImapStore extends Store
mReceiver = receiver; mReceiver = receiver;
} }
@Override
public void start(List<String> folderNames) public void start(List<String> folderNames)
{ {
stop(); stop();
@ -2845,7 +2844,6 @@ public class ImapStore extends Store
} }
} }
@Override
public void refresh() public void refresh()
{ {
synchronized(folderPushers) synchronized(folderPushers)
@ -2864,7 +2862,6 @@ public class ImapStore extends Store
} }
} }
@Override
public void stop() public void stop()
{ {
Log.i(Email.LOG_TAG, "Requested stop of IMAP pusher"); Log.i(Email.LOG_TAG, "Requested stop of IMAP pusher");