diff options
| author | jruesga <jorge@ruesga.com> | 2012-09-14 23:11:03 +0200 |
|---|---|---|
| committer | jruesga <jorge@ruesga.com> | 2012-09-14 23:11:03 +0200 |
| commit | 4b43764a8c329d6f59836700b3ae6266529a844a (patch) | |
| tree | 0196a7a2b2b3a762cfad741a5d94193d40584cac /tests/src | |
| parent | 0ee3238a946729dd8d670a0ea37f0810b1070d81 (diff) | |
Use valueOf as ADT recommends
Use Boolean.valueOf, Long.valueOf, Integer.valueOf, ... instead of new
Boolean(), new Long(), ..., as ADT recommends
Diffstat (limited to 'tests/src')
| -rw-r--r-- | tests/src/com/cyanogenmod/explorer/commands/shell/ProcessIdCommandTest.java | 2 |
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(), |
