Permalink
Browse files

Merge pull request #4 from skabbes/master

gitignore and JRE < 6 support
  • Loading branch information...
2 parents aefefed + 86425ee commit 24afc1d57d7717ef149b328710986f3161c6705b @paddybyers paddybyers committed Jan 11, 2012
Showing with 30 additions and 2 deletions.
  1. +28 −0 .gitignore
  2. +2 −2 bridge-java/src/org/meshpoint/anode/util/PrintStreamLog.java
View
@@ -0,0 +1,28 @@
+# built application files
+*.apk
+*.ap_
+
+# files for the dex VM
+*.dex
+
+# Java class files
+*.class
+
+# generated files
+app/bin/
+app/gen/
+libnode/gen/
+libnode/bin/
+bridge-java/bin/
+bridge-stub-generator/bin/
+
+# shared libraries
+app/assets/
+
+# Local configuration file (sdk path, etc)
+app/local.properties
+app/project.properties
+
+# ndk-build files
+libs/
+obj/
@@ -97,9 +97,9 @@ public int wtf(String tag, String msg, Throwable tr) {
private void print(String severity, String tag, String msg, Throwable tr) {
ps.print("(" + severity + "): ");
- if(tag != null && !tag.isEmpty())
+ if(tag != null && tag.length() != 0)
ps.print(tag + ": ");
- if(msg != null && !msg.isEmpty())
+ if(msg != null && msg.length() != 0)
ps.print(msg);
ps.println();
if(tr != null) {

0 comments on commit 24afc1d

Please sign in to comment.