diff options
author | jingwen <jingwen@google.com> | 2017-12-18 08:24:12 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-18 08:25:32 -0800 |
commit | 094caa508fa74081d861e9e8f8eb50934811bf65 (patch) | |
tree | c6911010ba0c7dea50fa13ee718f93719b43eb8a /src/tools/android/java/com/google/devtools/build/android/DataValue.java | |
parent | 310fe150811c6abe0c52232eb5cb0e4380a6e084 (diff) |
Automatic formatting cleanup of Android *.java files.
RELNOTES: None.
PiperOrigin-RevId: 179425421
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 | 11 |
1 files changed, 4 insertions, 7 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 b399b106ae..ce86664a09 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 @@ -19,7 +19,7 @@ import java.io.OutputStream; /** * Represents the value associated with DataKey interface for resource and asset values. * - * A DataValue is either an android resource or asset derived from a Path. + * <p>A DataValue is either an android resource or asset derived from a Path. */ public interface DataValue { @@ -28,12 +28,9 @@ public interface DataValue { */ DataSource source(); - /** - * Serializes to a supplied stream and returns the number of bytes written. - */ - int serializeTo( - DataKey key, DataSourceTable sourceTable, OutputStream output) throws IOException; - + /** Serializes to a supplied stream and returns the number of bytes written. */ + int serializeTo(DataKey key, DataSourceTable sourceTable, OutputStream output) throws IOException; + DataValue update(DataSource source); /** Provides a representation of the value suitable for a conflict message. */ |