diff options
author | renanse <[email protected]> | 2012-12-19 17:30:05 -0600 |
---|---|---|
committer | renanse <[email protected]> | 2012-12-19 17:30:05 -0600 |
commit | 580b097cb031ee97180849736f66b1c60fe515e1 (patch) | |
tree | a328d685d4141e6a05f84962dead09f5af93f836 /ardor3d-extras/src/main/java/com | |
parent | d38661526216e2efe7e1d8abf01cf8d4f21fe53a (diff) |
Various audit cleanup suggestions.
Diffstat (limited to 'ardor3d-extras/src/main/java/com')
-rw-r--r-- | ardor3d-extras/src/main/java/com/ardor3d/extension/model/obj/ObjImporter.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ardor3d-extras/src/main/java/com/ardor3d/extension/model/obj/ObjImporter.java b/ardor3d-extras/src/main/java/com/ardor3d/extension/model/obj/ObjImporter.java index 0cfc59a..e41cae6 100644 --- a/ardor3d-extras/src/main/java/com/ardor3d/extension/model/obj/ObjImporter.java +++ b/ardor3d-extras/src/main/java/com/ardor3d/extension/model/obj/ObjImporter.java @@ -151,7 +151,7 @@ public class ObjImporter { } // ignore comments. goto next line - if (line.startsWith("#")) { + if (line.length() > 0 && line.charAt(0) == '#') { continue; } @@ -421,7 +421,7 @@ public class ObjImporter { } // ignore comments. goto next line - if (line.startsWith("#") || line.length() == 0) { + if (line.length() == 0 || line.charAt(0) == '#') { continue; } |