Author: steve.ebersole(a)jboss.com
Date: 2007-06-24 00:18:35 -0400 (Sun, 24 Jun 2007)
New Revision: 11706
Added:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/BaselineHandler.java
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/ContentItem.java
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/ContentItemDescriptor.java
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/DiffCreator.java
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/GenerationException.java
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/IndexReportGenerator.java
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/TranslationHandler.java
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/TranslationReportGenerator.java
Log:
more prep move to codehaus
Copied:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff
(from rev 11700,
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff)
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/BaselineHandler.java
===================================================================
---
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/BaselineHandler.java 2007-06-22
19:39:47 UTC (rev 11700)
+++
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/BaselineHandler.java 2007-06-24
04:18:35 UTC (rev 11706)
@@ -13,7 +13,7 @@
*
* Red Hat Author(s): Christian Bauer, Steve Ebersole
*/
-package org.jboss.maven.plugin.docbook.revdiff;
+package org.codehaus.mojo.docbook.revdiff;
import java.util.Map;
@@ -55,7 +55,7 @@
// The default revision is 0
int revision = 0;
if ( atts.getValue( "revision" ) != null ) {
- revision = new Integer( atts.getValue( "revision" ) ).intValue();
+ revision = Integer.parseInt( atts.getValue( "revision" ) );
}
// Generate new ContentItem and new original state
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/ContentItem.java
===================================================================
---
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItem.java 2007-06-22
19:39:47 UTC (rev 11700)
+++
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/ContentItem.java 2007-06-24
04:18:35 UTC (rev 11706)
@@ -13,7 +13,7 @@
*
* Red Hat Author(s): Christian Bauer
*/
-package org.jboss.maven.plugin.docbook.revdiff;
+package org.codehaus.mojo.docbook.revdiff;
/**
* Describes a particular piece of content, including descriptors
@@ -61,11 +61,8 @@
ContentItem that = ( ContentItem ) o;
- if ( !identifier.equals( that.identifier ) ) {
- return false;
- }
+ return identifier.equals( that.identifier );
- return true;
}
public int hashCode() {
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/ContentItemDescriptor.java
===================================================================
---
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/ContentItemDescriptor.java 2007-06-22
19:39:47 UTC (rev 11700)
+++
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/ContentItemDescriptor.java 2007-06-24
04:18:35 UTC (rev 11706)
@@ -13,7 +13,7 @@
*
* Red Hat Author(s): Christian Bauer
*/
-package org.jboss.maven.plugin.docbook.revdiff;
+package org.codehaus.mojo.docbook.revdiff;
/**
*
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/DiffCreator.java
===================================================================
---
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/DiffCreator.java 2007-06-22
19:39:47 UTC (rev 11700)
+++
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/DiffCreator.java 2007-06-24
04:18:35 UTC (rev 11706)
@@ -13,7 +13,7 @@
*
* Red Hat Author(s): Steve Ebersole
*/
-package org.jboss.maven.plugin.docbook.revdiff;
+package org.codehaus.mojo.docbook.revdiff;
import java.io.File;
import java.io.IOException;
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/GenerationException.java
===================================================================
---
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/GenerationException.java 2007-06-22
19:39:47 UTC (rev 11700)
+++
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/GenerationException.java 2007-06-24
04:18:35 UTC (rev 11706)
@@ -13,7 +13,7 @@
*
* Red Hat Author(s): Steve Ebersole
*/
-package org.jboss.maven.plugin.docbook.revdiff;
+package org.codehaus.mojo.docbook.revdiff;
/**
* Indicates problems generating the diff report
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/IndexReportGenerator.java
===================================================================
---
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/IndexReportGenerator.java 2007-06-22
19:39:47 UTC (rev 11700)
+++
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/IndexReportGenerator.java 2007-06-24
04:18:35 UTC (rev 11706)
@@ -13,7 +13,7 @@
*
* Red Hat Author(s): Steve Ebersole
*/
-package org.jboss.maven.plugin.docbook.revdiff;
+package org.codehaus.mojo.docbook.revdiff;
import java.util.Locale;
import java.util.List;
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/TranslationHandler.java
===================================================================
---
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationHandler.java 2007-06-22
19:39:47 UTC (rev 11700)
+++
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/TranslationHandler.java 2007-06-24
04:18:35 UTC (rev 11706)
@@ -13,7 +13,7 @@
*
* Red Hat Author(s): Christian Bauer, Steve Ebersole
*/
-package org.jboss.maven.plugin.docbook.revdiff;
+package org.codehaus.mojo.docbook.revdiff;
import java.util.Map;
import java.util.Iterator;
@@ -54,7 +54,7 @@
if ( identifier != null ) {
int revision = 0;
if ( atts.getValue( "revision" ) != null ) {
- revision = new Integer( atts.getValue( "revision" ) ).intValue();
+ revision = Integer.parseInt( atts.getValue( "revision" ) );
}
ContentItemDescriptor translationState = new ContentItemDescriptor(
Modified:
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/TranslationReportGenerator.java
===================================================================
---
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/jboss/maven/plugin/docbook/revdiff/TranslationReportGenerator.java 2007-06-22
19:39:47 UTC (rev 11700)
+++
trunk/sandbox/maven-poc/plugins/maven-jboss-docbook-plugin/src/main/java/org/codehaus/mojo/docbook/revdiff/TranslationReportGenerator.java 2007-06-24
04:18:35 UTC (rev 11706)
@@ -13,7 +13,7 @@
*
* Red Hat Author(s): Christian Bauer, Steve Ebersole
*/
-package org.jboss.maven.plugin.docbook.revdiff;
+package org.codehaus.mojo.docbook.revdiff;
import java.io.File;
import java.io.FileWriter;