aboutsummaryrefslogtreecommitdiff
path: root/tests/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src')
-rw-r--r--tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java b/tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java
index d1e362d..bdabcc5 100644
--- a/tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java
+++ b/tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java
@@ -40,7 +40,7 @@ public class ProcessIdCommandTest extends AbstractConsoleTest {
* @throws Exception If test failed
*/
public void testId() throws Exception {
- Integer main = new Integer(android.os.Process.myPid());
+ Integer main = Integer.valueOf(android.os.Process.myPid());
Integer pid =
CommandHelper.getProcessId(
getContext(),