diff --git a/org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/PrepareRenameHandlerTest.java b/org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/PrepareRenameHandlerTest.java index fb2c0786e8..4e57e19d15 100644 --- a/org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/PrepareRenameHandlerTest.java +++ b/org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/PrepareRenameHandlerTest.java @@ -214,7 +214,7 @@ public void testRenameTypeParameterInMethod() throws JavaModelException, BadLoca "package test1;\n", "public class B {\n", " private T t;\n", - " public inspect(U u) { return u; }\n", + " public U inspect(U u) { return u; }\n", "}\n" }; diff --git a/org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/RenameHandlerTest.java b/org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/RenameHandlerTest.java index 378dbb10fa..f8c43f99d5 100644 --- a/org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/RenameHandlerTest.java +++ b/org.eclipse.jdt.ls.tests/src/org/eclipse/jdt/ls/core/internal/handlers/RenameHandlerTest.java @@ -775,7 +775,7 @@ public void testRenameTypeParameterInMethod() throws JavaModelException, BadLoca "package test1;\n", "public class B {\n", " private T t;\n", - " public inspect(U u) { return u; }\n", + " public U inspect(U u) { return u; }\n", "}\n" }; @@ -791,7 +791,7 @@ public void testRenameTypeParameterInMethod() throws JavaModelException, BadLoca "package test1;\n" + "public class B {\n" + " private T t;\n" + - " public inspect(UU u) { return u; }\n" + + " public UU inspect(UU u) { return u; }\n" + "}\n" ); }