OSDN Git Service
(root)
/
android-x86
/
development.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7603386
)
Minor NPE fix.
author
Xavier Ducrohet
<xav@android.com>
Thu, 23 Jul 2009 02:51:10 +0000
(19:51 -0700)
committer
Xavier Ducrohet
<xav@android.com>
Thu, 23 Jul 2009 02:51:10 +0000
(19:51 -0700)
tools/mkstubs/src/com/android/mkstubs/Main.java
patch
|
blob
|
history
diff --git
a/tools/mkstubs/src/com/android/mkstubs/Main.java
b/tools/mkstubs/src/com/android/mkstubs/Main.java
index
01cda71
..
55f9499
100644
(file)
--- a/
tools/mkstubs/src/com/android/mkstubs/Main.java
+++ b/
tools/mkstubs/src/com/android/mkstubs/Main.java
@@
-171,7
+171,9
@@
public class Main {
addString(p, line);
}
} finally {
- br.close();
+ if (br != null) {
+ br.close();
+ }
}
}