aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMingjun Yang <yangmingjun@google.com>2022-02-08 16:40:33 +0000
committerMingjun Yang <yangmingjun@google.com>2022-02-08 16:40:33 +0000
commita50421f645abede26adfca099ef106e2b02bb4a8 (patch)
tree6a0cb64d2b6a9a0f0c14fc589101c1796e63d47d
parent3b92673c0cc092bfffc80b8294c1200eefbf42f1 (diff)
downloadtradefederation-a50421f645abede26adfca099ef106e2b02bb4a8.tar.gz
Revert "Add member variable in VersionedFile class as the indicator of whether the file is using fuse-zip"android-s-v2-beta-3android-s-qpr3-beta-1android-s-v2-beta-3android-s-qpr3-beta-1
This reverts commit 3b92673c0cc092bfffc80b8294c1200eefbf42f1. Reason for revert: Have a new way of reaching the goal without changing the VersionedFile class & This change might caused the build breakage Change-Id: I94d549ea937e532da96b2cf69a367ba6da9d0bcf
-rw-r--r--device_build_interfaces/com/android/tradefed/build/VersionedFile.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/device_build_interfaces/com/android/tradefed/build/VersionedFile.java b/device_build_interfaces/com/android/tradefed/build/VersionedFile.java
index 4a63df32b..133f767f0 100644
--- a/device_build_interfaces/com/android/tradefed/build/VersionedFile.java
+++ b/device_build_interfaces/com/android/tradefed/build/VersionedFile.java
@@ -23,18 +23,10 @@ public class VersionedFile implements Serializable {
private static final long serialVersionUID = BuildSerializedVersion.VERSION;
private final File mFile;
private final String mVersion;
- private final Boolean mIsFuseZip;
public VersionedFile(File file, String version) {
mFile = file;
mVersion = version;
- mIsFuseZip = false;
- }
-
- public VersionedFile(File file, String version, Boolean isFuseZip) {
- mFile = file;
- mVersion = version;
- mIsFuseZip = isFuseZip;
}
public File getFile() {
@@ -45,15 +37,6 @@ public class VersionedFile implements Serializable {
return mVersion;
}
- /**
- * Retrieve the flag to determine if a file is from fuse-zip file system
- *
- * @return the boolean fuse-zip flag of a file
- */
- public Boolean getIsFuseZip() {
- return mIsFuseZip;
- }
-
@Override
public String toString() {
return String.format("%s:%s", mFile.getAbsolutePath(), mVersion);