diff options
Diffstat (limited to 'tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUtils.java')
-rw-r--r-- | tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUtils.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUtils.java b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUtils.java index c1d0c7564..d0c033f55 100644 --- a/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUtils.java +++ b/tests/org.eclipse.compare.tests/src/org/eclipse/compare/tests/PatchUtils.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2009, 2017 IBM Corporation and others. + * Copyright (c) 2009, 2018 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -43,7 +43,7 @@ public class PatchUtils { fileName = old; } - public Object getAdapter(Class adapter) { + public <T> T getAdapter(Class<T> adapter) { return null; } @@ -92,7 +92,7 @@ public class PatchUtils { return true; } - public Object getAdapter(Class adapter) { + public <T> T getAdapter(Class<T> adapter) { return null; } } @@ -127,7 +127,7 @@ public class PatchUtils { return true; } - public Object getAdapter(Class adapter) { + public <T> T getAdapter(Class<T> adapter) { return null; } } |