Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManoj Palat2015-04-07 06:18:35 +0000
committerManoj Palat2015-04-07 06:18:35 +0000
commit43acf92f388300d5f01b9f356b08fd3725e374b7 (patch)
tree8872cb6584b75d3d2a4f3a6d24ec9b6d76483065
parenta1a6913bbf9b125ea1405615fbc052673e00d32e (diff)
downloadeclipse.jdt.core-43acf92f388300d5f01b9f356b08fd3725e374b7.tar.gz
eclipse.jdt.core-43acf92f388300d5f01b9f356b08fd3725e374b7.tar.xz
eclipse.jdt.core-43acf92f388300d5f01b9f356b08fd3725e374b7.zip
Reversing the Test case patch for Bug 407629 [formatter]Formatting of a
Java source fails when the closing '}' of a Javadoc '@link' is missing in comment
-rw-r--r--org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterBugsTests.java56
1 files changed, 0 insertions, 56 deletions
diff --git a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterBugsTests.java b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterBugsTests.java
index 729fc031e2..68d68db1b2 100644
--- a/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterBugsTests.java
+++ b/org.eclipse.jdt.core.tests.model/src/org/eclipse/jdt/core/tests/formatter/FormatterBugsTests.java
@@ -10640,60 +10640,4 @@ public void testBug460008() throws Exception {
// K_COMPILATION_UNIT is tested by FormatterRegressionTests#test512() and #test643()
}
-public void testBug407629() throws Exception {
- String source =
- "public class X {\n" +
- " /**\n" +
- " * Builds a {@link Level}.\n" +
- " * <p>\n" +
- " * Does <b>not</b> set :\n" +
- " * <ul>\n" +
- " * <li>{@link Level#setA(Boolean)</li>\n" +
- " * <li>{@link Level#setB(Long)}</li>\n" +
- " * <li>{@link Level#setC(Integer)}</li>\n" +
- " * </ul>\n" +
- " * </p>\n" +
- " */\n" +
- " public static Level buildLevel() {\n" +
- " return null;\n" +
- " }\n" +
- " \n" +
- "}\n" +
- "\n" +
- "class Level {\n" +
- " void setA(Boolean b) {}\n" +
- " void setB(Long l) {}\n" +
- " void setC(Integer i){}\n" +
- "}\n";
- String expected = "public class X {\n" +
- " /**\n" +
- " * Builds a {@link Level}.\n" +
- " * <p>\n" +
- " * Does <b>not</b> set :\n" +
- " * <ul>\n" +
- " * <li>{@link Level#setA(Boolean)</li>\n" +
- " * <li>{@link Level#setB(Long)}</li>\n" +
- " * <li>{@link Level#setC(Integer)}</li>\n" +
- " * </ul>\n" +
- " * </p>\n" +
- " */\n" +
- " public static Level buildLevel() {\n" +
- " return null;\n" +
- " }\n" +
- "\n" +
- "}\n" +
- "\n" +
- "class Level {\n" +
- " void setA(Boolean b) {\n" +
- " }\n" +
- "\n" +
- " void setB(Long l) {\n" +
- " }\n" +
- "\n" +
- " void setC(Integer i) {\n" +
- " }\n" +
- "}\n";
- formatSource(source, expected);
-}
-
}

Back to the top