Skip to content

Commit 6ab7c0f

Browse files
committed
Released version 2.7
1 parent ba275de commit 6ab7c0f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

AndroidManifest.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.ysaito.shogi"
4-
android:versionCode="16"
5-
android:versionName="3.0"
4+
android:versionCode="17"
5+
android:versionName="2.7"
66
android:installLocation="preferExternal"
77
>
88
<uses-sdk

src/com/ysaito/shogi/ExternalCacheManager.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ private static String toKey(String k) {
6666

6767
// TODO: add background purging
6868

69+
@SuppressWarnings("unchecked")
6970
private ExternalCacheManager(Context context) {
7071
mContext = context;
7172
mDir = context.getExternalCacheDir();
@@ -78,7 +79,7 @@ private ExternalCacheManager(Context context) {
7879
try {
7980
summary_in = context.openFileInput(SUMMARY_PATH);
8081
ObjectInputStream oin = new ObjectInputStream(summary_in);
81-
mLastAccessTimes = HashMap<String, Long>.cast(oin.readObject());
82+
mLastAccessTimes = (HashMap<String, Long>)(oin.readObject());
8283
} finally {
8384
if (summary_in != null) summary_in.close();
8485
}

src/com/ysaito/shogi/GenericListActivity.java

+1
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ private class ListThread extends AsyncTask<Integer, ListingStatus<T>, String> {
240240
*
241241
* @return an error message, or null on success
242242
*/
243+
@SuppressWarnings("unchecked")
243244
@Override
244245
protected String doInBackground(Integer... mode) {
245246
ParallelFetcher fetcher = null;

0 commit comments

Comments
 (0)