Remove unused method in DalvikAwareOutputStreamHelper.
Test Plan: Sandcastle builds.
diff --git a/src/com/facebook/buck/dalvik/DalvikAwareOutputStreamHelper.java b/src/com/facebook/buck/dalvik/DalvikAwareOutputStreamHelper.java
index e4c7aec..458efd3 100644
--- a/src/com/facebook/buck/dalvik/DalvikAwareOutputStreamHelper.java
+++ b/src/com/facebook/buck/dalvik/DalvikAwareOutputStreamHelper.java
@@ -111,21 +111,6 @@
}
}
- private DalvikStatsTool.Stats getStats(FileLike entry) {
- String name = entry.getRelativePath();
- if (!name.endsWith(".class")) {
- // Probably something like a pom.properties file in a JAR: this does not contribute
- // to the linear alloc size, so return zero.
- return DalvikStatsTool.Stats.ZERO;
- }
-
- try {
- return DalvikStatsTool.getEstimate(entry.getInput());
- } catch (IOException | RuntimeException e) {
- throw new RuntimeException(String.format("Error calculating size for %s.", name), e);
- }
- }
-
@Override
public void close() throws IOException {
outStream.close();