commit | 7378a758e9a2171ec5f7cfbe18c02af209f307f4 | [log] [tgz] |
---|---|---|
author | Thomas Watson <tjwatson@us.ibm.com> | Tue Apr 07 09:43:02 2015 -0500 |
committer | Thomas Watson <tjwatson@us.ibm.com> | Tue Apr 07 09:43:02 2015 -0500 |
tree | c4b5f4501b5ce569be796b3a003a143578dc600f | |
parent | a5bb288614604304002a4a924dcd21869c121d79 [diff] |
Bug 464057 - 3 warnings in official build
diff --git a/bundles/org.eclipse.osgi.tests/src/org/eclipse/equinox/log/test/ExtendedLogReaderServiceTest.java b/bundles/org.eclipse.osgi.tests/src/org/eclipse/equinox/log/test/ExtendedLogReaderServiceTest.java index 13506ef..ebafb8b 100644 --- a/bundles/org.eclipse.osgi.tests/src/org/eclipse/equinox/log/test/ExtendedLogReaderServiceTest.java +++ b/bundles/org.eclipse.osgi.tests/src/org/eclipse/equinox/log/test/ExtendedLogReaderServiceTest.java
@@ -159,8 +159,8 @@ private long getCurrentThreadId() { Thread current = Thread.currentThread(); try { - Method getId = Thread.class.getMethod("getId", null); - Long id = (Long) getId.invoke(current, null); + Method getId = Thread.class.getMethod("getId"); + Long id = (Long) getId.invoke(current); return id.longValue(); } catch (Throwable t) { return -1;