diff options
author | Bananeweizen <Bananeweizen@gmx.de> | 2012-03-18 17:45:15 +0100 |
---|---|---|
committer | Bananeweizen <Bananeweizen@gmx.de> | 2012-03-18 17:45:15 +0100 |
commit | 762d3dfbd8059b10393a791a2e6990827c3634df (patch) | |
tree | 6a9d8a05fa6efec83112b1952391f1c249a5e72e /tests/src/cgeo/geocaching/test/WhitespaceTest.java | |
parent | 660e6d1f3c79199f883d04db97620cefc722d240 (diff) | |
download | cgeo-762d3dfbd8059b10393a791a2e6990827c3634df.zip cgeo-762d3dfbd8059b10393a791a2e6990827c3634df.tar.gz cgeo-762d3dfbd8059b10393a791a2e6990827c3634df.tar.bz2 |
static code analysis and other fixes
* NumberParsingExceptions, NullPointerExceptions
* StringBuilder instead of StringBuffer
* access rights
* interfaces instead of classes
* ...
Diffstat (limited to 'tests/src/cgeo/geocaching/test/WhitespaceTest.java')
-rw-r--r-- | tests/src/cgeo/geocaching/test/WhitespaceTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/cgeo/geocaching/test/WhitespaceTest.java b/tests/src/cgeo/geocaching/test/WhitespaceTest.java index 156f773..d2d21dc 100644 --- a/tests/src/cgeo/geocaching/test/WhitespaceTest.java +++ b/tests/src/cgeo/geocaching/test/WhitespaceTest.java @@ -27,7 +27,7 @@ public class WhitespaceTest extends AndroidTestCase { @Override protected void setUp() throws Exception { - final StringBuffer buffer = new StringBuffer(4096); + final StringBuilder buffer = new StringBuilder(4096); final InputStream is = this.getClass().getResourceAsStream("/cgeo/geocaching/test/mock/GC2CJPF.html"); final BufferedReader br = new BufferedReader(new InputStreamReader(is), 4096); |