diff options
author | Art O Cathain <art.home@gmail.com> | 2014-07-06 15:48:47 +0100 |
---|---|---|
committer | Art O Cathain <art.home@gmail.com> | 2014-07-06 19:43:17 +0100 |
commit | 9032e032ff7583ddd09008446ff16c90c6a190b2 (patch) | |
tree | e65cb935750689c321014989e5eadb70d26f3107 /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service | |
parent | 5479eafd4b295c0d83955133c3150652bb325578 (diff) | |
download | open-keychain-9032e032ff7583ddd09008446ff16c90c6a190b2.tar.gz open-keychain-9032e032ff7583ddd09008446ff16c90c6a190b2.tar.bz2 open-keychain-9032e032ff7583ddd09008446ff16c90c6a190b2.zip |
add toString for test ease
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java index 8db48ae3b..babd251c4 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/service/OperationResultParcel.java @@ -9,6 +9,7 @@ import org.sufficientlysecure.keychain.util.IterableIterator; import org.sufficientlysecure.keychain.util.Log; import java.util.ArrayList; +import java.util.Arrays; import java.util.Iterator; import java.util.List; @@ -104,6 +105,15 @@ public class OperationResultParcel implements Parcelable { } }; + @Override + public String toString() { + return "LogEntryParcel{" + + "mLevel=" + mLevel + + ", mType=" + mType + + ", mParameters=" + Arrays.toString(mParameters) + + ", mIndent=" + mIndent + + '}'; + } } /** This is an enum of all possible log events. |