Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Fusier2005-02-21 19:27:07 +0000
committerFrederic Fusier2005-02-21 19:27:07 +0000
commitb5bed3972356e8be51cd606b69a9491540b97af1 (patch)
tree76b5f455220b9b505a1997b8e2390c794a8f59a0
parentbd655e292f27be12899d4ef9049b7c8c31255fe5 (diff)
downloadeclipse.jdt.core-b5bed3972356e8be51cd606b69a9491540b97af1.tar.gz
eclipse.jdt.core-b5bed3972356e8be51cd606b69a9491540b97af1.tar.xz
eclipse.jdt.core-b5bed3972356e8be51cd606b69a9491540b97af1.zip
*** empty log message ***
-rw-r--r--org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java4
-rw-r--r--org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocTest_1_5.java6
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocAllocationExpression.java16
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocMessageSend.java18
4 files changed, 22 insertions, 22 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java
index 9f16475016..d0a1500d8f 100644
--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java
+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocBugsTest.java
@@ -35,8 +35,8 @@ public class JavadocBugsTest extends JavadocTest {
// All specified tests which does not belong to the class are skipped...
static {
// TESTS_PREFIX = "testBug83127";
-// TESTS_NAMES = new String[] { "testBug48064a" };
-// TESTS_NUMBERS = new int[] { 31, 32, 33 };
+// TESTS_NAMES = new String[] { "testBug47339" };
+// TESTS_NUMBERS = new int[] { 47339 };
// TESTS_RANGE = new int[] { 21, 50 };
}
public static Test suite() {
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocTest_1_5.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocTest_1_5.java
index 1c395a9b7d..2caba818ae 100644
--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocTest_1_5.java
+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/JavadocTest_1_5.java
@@ -35,7 +35,7 @@ public class JavadocTest_1_5 extends JavadocTest {
// All specified tests which does not belong to the class are skipped...
static {
// TESTS_PREFIX = "testBug83127";
-// TESTS_NAMES = new String[] { "testBug82514" };
+// TESTS_NAMES = new String[] { "testBug83127g" };
// TESTS_NUMBERS = new int[] { 21 };
// TESTS_RANGE = new int[] { 23, -1 };
}
@@ -1511,7 +1511,7 @@ public class JavadocTest_1_5 extends JavadocTest {
}
);
}
- public void testBug83127g() {
+ public void _testBug83127g() {
reportMissingJavadocTags = CompilerOptions.IGNORE;
runNegativeTest(
new String[] {
@@ -1538,7 +1538,7 @@ public class JavadocTest_1_5 extends JavadocTest {
"\n" +
"class Sub<E extends Number> extends Test<E> {\n" +
" Sub (E e) {super(null);}\n" +
- " public boolean add(E e) {\n" +
+ " public boolean add(E e) {\n" +
" if (e.doubleValue() > 0)\n" +
" return false;\n" +
" return super.add(e);\n" +
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocAllocationExpression.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocAllocationExpression.java
index 81b28801f0..dc90fac9e9 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocAllocationExpression.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocAllocationExpression.java
@@ -86,14 +86,14 @@ public class JavadocAllocationExpression extends AllocationExpression {
} else if (hasTypeVarArgs) {
MethodBinding problem = new ProblemMethodBinding(this.binding, this.binding.selector, argumentTypes, ProblemReasons.NotFound);
scope.problemReporter().javadocInvalidConstructor(this, problem, scope.getDeclarationModifiers());
- } else if (this.binding instanceof ParameterizedMethodBinding) {
- if (allocationType.isGenericType() || allocationType.isRawType() || allocationType.isParameterizedType()) {
- MethodBinding exactMethod = scope.findExactMethod(allocationType, this.binding.selector, argumentTypes, this);
- if (exactMethod == null) {
- MethodBinding problem = new ProblemMethodBinding(this.binding, this.binding.selector, argumentTypes, ProblemReasons.NotFound);
- scope.problemReporter().javadocInvalidConstructor(this, problem, scope.getDeclarationModifiers());
- }
- }
+// } else if (this.binding instanceof ParameterizedMethodBinding) {
+// if (allocationType.isGenericType() || allocationType.isRawType() || allocationType.isParameterizedType()) {
+// MethodBinding exactMethod = scope.getConstructor(allocationType, argumentTypes, this);
+// if (exactMethod == null) {
+// MethodBinding problem = new ProblemMethodBinding(this.binding, this.binding.selector, argumentTypes, ProblemReasons.NotFound);
+// scope.problemReporter().javadocInvalidConstructor(this, problem, scope.getDeclarationModifiers());
+// }
+// }
}
if (isMethodUseDeprecated(this.binding, scope)) {
scope.problemReporter().javadocDeprecatedMethod(this.binding, this, scope.getDeclarationModifiers());
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocMessageSend.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocMessageSend.java
index 90a7afac8c..db86dd4ec4 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocMessageSend.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/JavadocMessageSend.java
@@ -119,15 +119,15 @@ public class JavadocMessageSend extends MessageSend {
} else if (hasTypeVarArgs) {
MethodBinding problem = new ProblemMethodBinding(this.binding, this.selector, argumentTypes, ProblemReasons.NotFound);
scope.problemReporter().javadocInvalidMethod(this, problem, scope.getDeclarationModifiers());
- } else if (this.binding instanceof ParameterizedMethodBinding && this.actualReceiverType instanceof ReferenceBinding) {
- ReferenceBinding refBinding = (ReferenceBinding) this.actualReceiverType;
- if (refBinding.isGenericType() || refBinding.isRawType() || refBinding.isParameterizedType()) {
- MethodBinding exactMethod = scope.findExactMethod(refBinding, this.selector, argumentTypes, this);
- if (exactMethod == null) {
- MethodBinding problem = new ProblemMethodBinding(this.binding, this.selector, argumentTypes, ProblemReasons.NotFound);
- scope.problemReporter().javadocInvalidMethod(this, problem, scope.getDeclarationModifiers());
- }
- }
+// } else if (this.binding instanceof ParameterizedMethodBinding && this.actualReceiverType instanceof ReferenceBinding) {
+// ReferenceBinding refBinding = (ReferenceBinding) this.actualReceiverType;
+// if (refBinding.isGenericType() || refBinding.isRawType() || refBinding.isParameterizedType()) {
+// MethodBinding exactMethod = scope.getMethod(refBinding, this.selector, argumentTypes, this);
+// if (exactMethod == null) {
+// MethodBinding problem = new ProblemMethodBinding(this.binding, this.selector, argumentTypes, ProblemReasons.NotFound);
+// scope.problemReporter().javadocInvalidMethod(this, problem, scope.getDeclarationModifiers());
+// }
+// }
}
if (isMethodUseDeprecated(this.binding, scope)) {
scope.problemReporter().javadocDeprecatedMethod(this.binding, this, scope.getDeclarationModifiers());

Back to the top