diff options
author | Oliver Runge <oliver.runge@momox.biz> | 2011-09-17 23:44:06 +0200 |
---|---|---|
committer | Oliver Runge <oliver.runge@momox.biz> | 2011-09-17 23:44:06 +0200 |
commit | 3ec27e07aead6f548d62bde55220d20337f1c570 (patch) | |
tree | 0c3294f3e4d67ada6a5905a6fdcf69afcc9bc660 /src/org/thialfihar/android/apg/EncryptActivity.java | |
parent | 50036a4642095e8b003ec42b3fd25f763f522f6a (diff) | |
download | open-keychain-3ec27e07aead6f548d62bde55220d20337f1c570.tar.gz open-keychain-3ec27e07aead6f548d62bde55220d20337f1c570.tar.bz2 open-keychain-3ec27e07aead6f548d62bde55220d20337f1c570.zip |
@Override refactoring, some explicit casting added
Diffstat (limited to 'src/org/thialfihar/android/apg/EncryptActivity.java')
-rw-r--r-- | src/org/thialfihar/android/apg/EncryptActivity.java | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/org/thialfihar/android/apg/EncryptActivity.java b/src/org/thialfihar/android/apg/EncryptActivity.java index 9ba71f570..197745a4d 100644 --- a/src/org/thialfihar/android/apg/EncryptActivity.java +++ b/src/org/thialfihar/android/apg/EncryptActivity.java @@ -119,7 +119,6 @@ public class EncryptActivity extends BaseActivity { mSourcePrevious.setClickable(true); mSourcePrevious.setOnClickListener(new OnClickListener() { - @Override public void onClick(View v) { mSource.setInAnimation(AnimationUtils.loadAnimation(EncryptActivity.this, R.anim.push_right_in)); @@ -132,7 +131,6 @@ public class EncryptActivity extends BaseActivity { mSourceNext.setClickable(true); OnClickListener nextSourceClickListener = new OnClickListener() { - @Override public void onClick(View v) { mSource.setInAnimation(AnimationUtils.loadAnimation(EncryptActivity.this, R.anim.push_left_in)); @@ -154,7 +152,6 @@ public class EncryptActivity extends BaseActivity { mModePrevious.setClickable(true); mModePrevious.setOnClickListener(new OnClickListener() { - @Override public void onClick(View v) { mMode.setInAnimation(AnimationUtils.loadAnimation(EncryptActivity.this, R.anim.push_right_in)); @@ -166,7 +163,6 @@ public class EncryptActivity extends BaseActivity { }); OnClickListener nextModeClickListener = new OnClickListener() { - @Override public void onClick(View v) { mMode.setInAnimation(AnimationUtils.loadAnimation(EncryptActivity.this, R.anim.push_left_in)); @@ -202,7 +198,6 @@ public class EncryptActivity extends BaseActivity { mFilename = (EditText) findViewById(R.id.filename); mBrowse = (ImageButton) findViewById(R.id.btn_browse); mBrowse.setOnClickListener(new View.OnClickListener() { - @Override public void onClick(View v) { openFile(); } @@ -234,35 +229,30 @@ public class EncryptActivity extends BaseActivity { mAsciiArmour = (CheckBox) findViewById(R.id.asciiArmour); mAsciiArmour.setChecked(mPreferences.getDefaultAsciiArmour()); mAsciiArmour.setOnClickListener(new OnClickListener() { - @Override public void onClick(View view) { guessOutputFilename(); } }); mEncryptToClipboardButton.setOnClickListener(new OnClickListener() { - @Override public void onClick(View v) { encryptToClipboardClicked(); } }); mEncryptButton.setOnClickListener(new OnClickListener() { - @Override public void onClick(View v) { encryptClicked(); } }); mSelectKeysButton.setOnClickListener(new OnClickListener() { - @Override public void onClick(View v) { selectPublicKeys(); } }); mSign.setOnClickListener(new OnClickListener() { - @Override public void onClick(View v) { CheckBox checkBox = (CheckBox) v; if (checkBox.isChecked()) { @@ -949,14 +939,12 @@ public class EncryptActivity extends BaseActivity { getString(R.string.specifyFileToEncryptTo), mOutputFilename, new FileDialog.OnClickListener() { - @Override public void onOkClick(String filename, boolean checked) { removeDialog(Id.dialog.output_filename); mOutputFilename = filename; encryptStart(); } - @Override public void onCancelClick() { removeDialog(Id.dialog.output_filename); } |