diff options
author | Googler <noreply@google.com> | 2016-10-25 15:25:09 +0000 |
---|---|---|
committer | John Cater <jcater@google.com> | 2016-10-25 20:19:14 +0000 |
commit | 7260f0a2c69bfe0fec187099fcea2dd16c331729 (patch) | |
tree | bab73491fda9476815de0aa1ff80a591041306b9 /src/tools/android/java/com/google/devtools/build/android/DataValue.java | |
parent | d1f4a167f8080d460dd532eb83b87ab0d0eb4f86 (diff) |
Wrap the source Path in a DataSource object.
The DataSource object will then be used to track which values have been
overwritten and avoid incorrect merge warnings.
--
MOS_MIGRATED_REVID=137159260
Diffstat (limited to 'src/tools/android/java/com/google/devtools/build/android/DataValue.java')
-rw-r--r-- | src/tools/android/java/com/google/devtools/build/android/DataValue.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tools/android/java/com/google/devtools/build/android/DataValue.java b/src/tools/android/java/com/google/devtools/build/android/DataValue.java index e8427a4a34..8876c010d6 100644 --- a/src/tools/android/java/com/google/devtools/build/android/DataValue.java +++ b/src/tools/android/java/com/google/devtools/build/android/DataValue.java @@ -15,7 +15,6 @@ package com.google.devtools.build.android; import java.io.IOException; import java.io.OutputStream; -import java.nio.file.Path; /** * Represents the value associated with DataKey interface for resource and asset values. @@ -25,9 +24,9 @@ import java.nio.file.Path; public interface DataValue { /** - * Provides the Path to the file from which the DataValue was derived. + * Provides the DataSource, which contains metadata about the original xml it was derived from. */ - Path source(); + DataSource source(); /** * Serializes to a supplied stream and returns the number of bytes written. |