Mercurial > hg > graal-compiler
changeset 5159:24c77ad284dc
fixed Eclipse compiler warnings about unused parameters
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 26 Mar 2012 22:40:31 +0200 |
parents | 8ea90b7c8586 |
children | 05fb99cbb605 |
files | graal/com.oracle.graal.debug/src/com/oracle/graal/debug/Debug.java |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/Debug.java Mon Mar 26 22:25:26 2012 +0200 +++ b/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/Debug.java Mon Mar 26 22:40:31 2012 +0200 @@ -55,18 +55,22 @@ return ENABLED && DebugScope.getInstance().isLogEnabled(); } + @SuppressWarnings("unused") public static Runnable decorateDebugRoot(Runnable runnable, String name, DebugConfig config) { return runnable; } + @SuppressWarnings("unused") public static <T> Callable<T> decorateDebugRoot(Callable<T> callable, String name, DebugConfig config) { return callable; } + @SuppressWarnings("unused") public static Runnable decorateScope(Runnable runnable, String name, Object... context) { return runnable; } + @SuppressWarnings("unused") public static <T> Callable<T> decorateScope(Callable<T> callable, String name, Object... context) { return callable; }