Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/MovePackageDescriptions.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/MovePackageDescriptions.java16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/MovePackageDescriptions.java b/plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/MovePackageDescriptions.java
index aded2bd629..f000792204 100644
--- a/plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/MovePackageDescriptions.java
+++ b/plugins/org.eclipse.emf.cdo.releng/src/org/eclipse/emf/cdo/releng/MovePackageDescriptions.java
@@ -25,6 +25,14 @@ public class MovePackageDescriptions
{
private static final String NL = System.getProperty("line.separator");
+ private static final Pattern PATTERN = Pattern.compile("(.*</H2>\\s*)" //
+ + "(.*<B>See:</B>.*<A HREF=\"#package_description\"><B>Description</B></A>)" // To be replaced...
+ + "(.*)" //
+ + "(<A NAME=\"package_description\"><!-- --></A><H2>.*</H2>.*<P>\\s*)" //
+ + "(.*)" // ... with full description
+ + "(<P>\\s*<P>\\s*<DL>\\s*</DL>\\s*<HR>.*)", //
+ Pattern.MULTILINE | Pattern.DOTALL);
+
public static void main(String[] args) throws IOException
{
String javadocFolder = args[0];
@@ -57,14 +65,6 @@ public class MovePackageDescriptions
}
}
- private static final Pattern PATTERN = Pattern.compile("(.*</H2>\\s*)" //
- + "(.*<B>See:</B>.*<A HREF=\"#package_description\"><B>Description</B></A>)" // To be replaced...
- + "(.*)" //
- + "(<A NAME=\"package_description\"><!-- --></A><H2>.*</H2>.*<P>\\s*)" //
- + "(.*)" // ... with full description
- + "(<P>\\s*<P>\\s*<DL>\\s*</DL>\\s*<HR>.*)", //
- Pattern.MULTILINE | Pattern.DOTALL);
-
private static void movePackageDescription(File file) throws IOException
{
FileReader in = null;

Back to the top