aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/io/trygvis/android/bt/BtPromise.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/io/trygvis/android/bt/BtPromise.java')
-rw-r--r--app/src/main/java/io/trygvis/android/bt/BtPromise.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/app/src/main/java/io/trygvis/android/bt/BtPromise.java b/app/src/main/java/io/trygvis/android/bt/BtPromise.java
index 50aad13..bffdd19 100644
--- a/app/src/main/java/io/trygvis/android/bt/BtPromise.java
+++ b/app/src/main/java/io/trygvis/android/bt/BtPromise.java
@@ -371,17 +371,11 @@ public class BtPromise {
if (result instanceof Detour) {
BtPromise detour = ((Detour) result).promise;
- Log.i(TAG, "Adding detour with " + detour.actionQ.size() + " actions.");
+// Log.i(TAG, "Adding detour with " + detour.actionQ.size() + " actions.");
events.add("detour, action size=" + detour.actionQ.size() + ", " +
// "failure size=" + detour.failureQ.size() + ", " +
"finally size=" + detour.finallyQ.size());
- Log.i(TAG, "hasNext(): " + hasNext());
- Log.i(TAG, "currentAction: " + currentAction);
- if (hasNext()) {
- Log.i(TAG, "next action: " + actionQ.get(currentAction).name);
- }
-
// The new promise should probably be stacked on top, so that all of its
// finally handlers are executed after the added set concludes and then the
// current stack can continue.
@@ -389,10 +383,6 @@ public class BtPromise {
actionQ.addAll(currentAction, detour.actionQ);
// failureQ.addAll(detour.failureQ);B
finallyQ.addAll(detour.finallyQ);
- Log.i(TAG, "hasNext(): " + hasNext());
- if (hasNext()) {
- Log.i(TAG, "next action: " + actionQ.get(currentAction).name);
- }
result = PromiseResult.continueDirectly();
}