Skip to content

Commit

Permalink
refine #171
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Dec 9, 2014
1 parent e708e11 commit 3db8e9d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/main/scala/com/github/shadowsocks/Shadowsocks.scala
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ import net.simonvt.menudrawer.MenuDrawer

import scala.collection.mutable.{ArrayBuffer, ListBuffer}
import scala.concurrent.ops._
import scala.ref.WeakReference

class ProfileIconDownloader(context: Context, connectTimeout: Int, readTimeout: Int)
extends BaseImageDownloader(context, connectTimeout, readTimeout) {
Expand Down Expand Up @@ -674,7 +673,7 @@ class Shadowsocks
if (!profile.isDefined) return false

new AlertDialog.Builder(this)
.setMessage(String.formatLocal(Locale.ENGLISH, getString(R.string.remove_profile), profile.get.name))
.setMessage(String.format(Locale.ENGLISH, getString(R.string.remove_profile), profile.get.name))
.setCancelable(false)
.setNegativeButton(R.string.no, new DialogInterface.OnClickListener() {
override def onClick(dialog: DialogInterface, i: Int) = dialog.cancel()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ package com.github.shadowsocks

import java.io.File
import java.lang.reflect.{InvocationTargetException, Method}
import java.net.InetAddress
import java.util
import java.util.Locale

import android.app.{Notification, NotificationManager, PendingIntent, Service}
Expand Down

0 comments on commit 3db8e9d

Please sign in to comment.