You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by er...@apache.org on 2013/11/29 09:07:48 UTC

git commit: [flex-falcon] [refs/heads/develop] - Fixing "resource leak" warning.

Updated Branches:
  refs/heads/develop 4bac1cfff -> 7dbe7e70b


Fixing "resource leak" warning.

Signed-off-by: Erik de Bruin <er...@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/7dbe7e70
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/7dbe7e70
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/7dbe7e70

Branch: refs/heads/develop
Commit: 7dbe7e70b1230fe0681fc11e2a05b14f37420592
Parents: 4bac1cf
Author: Erik de Bruin <er...@ixsoftware.nl>
Authored: Fri Nov 22 09:03:55 2013 +0100
Committer: Erik de Bruin <er...@ixsoftware.nl>
Committed: Mon Nov 25 09:21:33 2013 +0100

----------------------------------------------------------------------
 .../src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/7dbe7e70/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
index 5add337..fac47a3 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/graph/GoogDepsWriter.java
@@ -264,6 +264,7 @@ public class GoogDepsWriter {
 					deps.add(s);
 				}
 			}
+			scanner.close();
 		} catch (FileNotFoundException e) {
 			e.printStackTrace();
 		}