Reviewers: spoon,

Description:
There was a small bug in the SOYC dashboard that would cause the split
points input file not to be read if it was gzipped, but the dependencies
files was not.  This patch fixes this problem.

Please review this at http://gwt-code-reviews.appspot.com/34821

Affected files:
   tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java


Index: tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java
===================================================================
--- tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java   (revision  
5436)
+++ tools/soyc-vis/src/com/google/gwt/soyc/SoycDashboard.java   (working copy)
@@ -90,7 +90,7 @@

          SAXParser saxParser = splitPointsFactoryMain.newSAXParser();
          InputStream in = new FileInputStream(settings.splitPointsFileName);
-        if (settings.depFileName.endsWith(".gz")) {
+        if (settings.splitPointsFileName.endsWith(".gz")) {
            in = new GZIPInputStream(in);
          }
          in = new BufferedInputStream(in);



--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to