diff options
author | Nathan Harmata <nharmata@google.com> | 2015-07-16 08:29:21 +0000 |
---|---|---|
committer | Philipp Wollermann <philwo@google.com> | 2015-07-17 13:16:50 +0000 |
commit | c1405ef97a7be32edb0b798fb7554b2ee19894f8 (patch) | |
tree | 899b8f7ef9e578089ba5774011e3e08f66db7122 /src/main/java/com/google/devtools/build/lib/skyframe/LocalDiffAwareness.java | |
parent | b961bb931400044ed91e6b0b596f94fe983f9f17 (diff) |
Log information about the baseline and new View passed to DiffAwarness#getDiff.
--
MOS_MIGRATED_REVID=98382658
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skyframe/LocalDiffAwareness.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/skyframe/LocalDiffAwareness.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/LocalDiffAwareness.java b/src/main/java/com/google/devtools/build/lib/skyframe/LocalDiffAwareness.java index 389f39a638..dba00768ce 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/LocalDiffAwareness.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/LocalDiffAwareness.java @@ -114,6 +114,12 @@ public class LocalDiffAwareness implements DiffAwareness { public static boolean areInSequence(SequentialView oldView, SequentialView newView) { return oldView.owner == newView.owner && (oldView.position + 1) == newView.position; } + + @Override + public String toString() { + return String.format("SequentialView[owner=%s, position=%d, modifiedAbsolutePaths=%s]", owner, + position, modifiedAbsolutePaths); + } } @Override |