Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2010-05-03 18:33:24 +0000
committerStephan Herrmann2010-05-03 18:33:24 +0000
commit411c8ff6811321bd70b7872a8e6af4f7811f86a1 (patch)
tree1f3d0d6fbd793457ff8ea3d8645845c405c02f32 /testplugins/org.eclipse.jdt.ui.tests.refactoring
parent244a0be3192a8ca8e2d1f685a37ac4ca1d7f9690 (diff)
downloadorg.eclipse.objectteams-411c8ff6811321bd70b7872a8e6af4f7811f86a1.tar.gz
org.eclipse.objectteams-411c8ff6811321bd70b7872a8e6af4f7811f86a1.tar.xz
org.eclipse.objectteams-411c8ff6811321bd70b7872a8e6af4f7811f86a1.zip
re-apply our change: avoid using keyword "as" as an identifier.
Diffstat (limited to 'testplugins/org.eclipse.jdt.ui.tests.refactoring')
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_in.java10
-rw-r--r--testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_out.java10
2 files changed, 10 insertions, 10 deletions
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_in.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_in.java
index bca352623..d57337c71 100644
--- a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_in.java
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_in.java
@@ -4,15 +4,15 @@ import java.util.ArrayList;
import java.util.List;
class A<E> {
- public <T extends Number> void m(List<Integer> li, A<String> as) {}
+ public <T extends Number> void m(List<Integer> li, A<String> a_of_string) {}
}
class Sub<E> extends A<E> {
- public <T extends Number> void m(List<Integer> li, A<String> as) {}
+ public <T extends Number> void m(List<Integer> li, A<String> a_of_string) {}
void test() {
- A<String> as= new A<String>();
- as.m(new ArrayList<Integer>(1), as);
- new Sub<Double>().m(new ArrayList<Integer>(2), as);
+ A<String> a_of_string= new A<String>();
+ a_of_string.m(new ArrayList<Integer>(1), a_of_string);
+ new Sub<Double>().m(new ArrayList<Integer>(2), a_of_string);
}
} \ No newline at end of file
diff --git a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_out.java b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_out.java
index 00e7b55ce..f0df2f49d 100644
--- a/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_out.java
+++ b/testplugins/org.eclipse.jdt.ui.tests.refactoring/resources/ChangeSignature/canModify/A_testGenerics04_out.java
@@ -3,15 +3,15 @@ package p;
import java.util.List;
class A<E> {
- public <T extends Number> void m(A<String> as, List<Integer> li) {}
+ public <T extends Number> void m(A<String> a_of_string, List<Integer> li) {}
}
class Sub<E> extends A<E> {
- public <T extends Number> void m(A<String> as, List<Integer> li) {}
+ public <T extends Number> void m(A<String> a_of_string, List<Integer> li) {}
void test() {
- A<String> as= new A<String>();
- as.m(as, null);
- new Sub<Double>().m(as, null);
+ A<String> a_of_string= new A<String>();
+ a_of_string.m(a_of_string, null);
+ new Sub<Double>().m(a_of_string, null);
}
} \ No newline at end of file

Back to the top