From 2f28ef78f3ff9355b45c790bd0e6f821023c2649 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ryszard=20Wi=C5=9Bniewski?= Date: Fri, 27 Aug 2010 22:42:23 +0200 Subject: [PATCH] Fixed NPE in ResFileDecoder.decode(). --- src/brut/androlib/res/decoder/ResFileDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/brut/androlib/res/decoder/ResFileDecoder.java b/src/brut/androlib/res/decoder/ResFileDecoder.java index 0b54cf45..46f35121 100644 --- a/src/brut/androlib/res/decoder/ResFileDecoder.java +++ b/src/brut/androlib/res/decoder/ResFileDecoder.java @@ -77,7 +77,7 @@ public class ResFileDecoder { outFileName = outResName + ext; } } - if (! ext.equals(".xml")) { + if (! ".xml".equals(ext)) { decode(inDir, inFileName, outDir, outFileName, "raw"); return; }