moving tests to CE

This commit is contained in:
Dmitry Jemerov
2009-09-25 20:42:06 +04:00
parent 64ecc03e67
commit 39c67da336
138 changed files with 12 additions and 5 deletions
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems>
<problem>
<file>Test.java</file>
<line>4</line>
<description>Dereference of 'path' may produce java.lang.NullPointerException</description>
</problem>
</problems>
@@ -0,0 +1,8 @@
public class Test {
public String foo(String[] path) {
if (path != null) return null;
for (String p: path) {}
return "";
}
}