diff options
author | Mark Wielaard <mark@gcc.gnu.org> | 2006-05-18 17:29:21 +0000 |
---|---|---|
committer | Mark Wielaard <mark@gcc.gnu.org> | 2006-05-18 17:29:21 +0000 |
commit | 4f9533c7722fa07511a94d005227961f4a4dec23 (patch) | |
tree | 9f9c470de62ee62fba1331a396450d728d2b1fad /libjava/classpath/scripts/checkstyle2html.xsl | |
parent | eaec4980e139903ae9b274d1abcf3a13946603a8 (diff) | |
download | gcc-4f9533c7722fa07511a94d005227961f4a4dec23.zip gcc-4f9533c7722fa07511a94d005227961f4a4dec23.tar.gz gcc-4f9533c7722fa07511a94d005227961f4a4dec23.tar.bz2 |
Imported GNU Classpath 0.90
Imported GNU Classpath 0.90
* scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
* sources.am: Regenerated.
* gcj/javaprims.h: Regenerated.
* Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* gnu/java/lang/VMInstrumentationImpl.java: New override.
* gnu/java/net/local/LocalSocketImpl.java: Likewise.
* gnu/classpath/jdwp/VMMethod.java: Likewise.
* gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
interface.
* java/lang/Thread.java: Add UncaughtExceptionHandler.
* java/lang/reflect/Method.java: Implements GenericDeclaration and
isSynthetic(),
* java/lang/reflect/Field.java: Likewise.
* java/lang/reflect/Constructor.java
* java/lang/Class.java: Implements Type, GenericDeclaration,
getSimpleName() and getEnclosing*() methods.
* java/lang/Class.h: Add new public methods.
* java/lang/Math.java: Add signum(), ulp() and log10().
* java/lang/natMath.cc (log10): New function.
* java/security/VMSecureRandom.java: New override.
* java/util/logging/Logger.java: Updated to latest classpath
version.
* java/util/logging/LogManager.java: New override.
From-SVN: r113887
Diffstat (limited to 'libjava/classpath/scripts/checkstyle2html.xsl')
-rw-r--r-- | libjava/classpath/scripts/checkstyle2html.xsl | 102 |
1 files changed, 0 insertions, 102 deletions
diff --git a/libjava/classpath/scripts/checkstyle2html.xsl b/libjava/classpath/scripts/checkstyle2html.xsl deleted file mode 100644 index 8963987..0000000 --- a/libjava/classpath/scripts/checkstyle2html.xsl +++ /dev/null @@ -1,102 +0,0 @@ -<?xml version='1.0'?> -<!-- XSL stylesheet to convert checkstyle XML to HTML --> -<xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> - - <!-- This tells the XSLT processor to emit HTML --> - <xsl:output method='html' - doctype-public='-//W3C//DTD HTML 4.01//EN' - doctype-system='http://www.w3.org/TR/html4/strict.dtd' - omit-xml-declaration='yes'/> - - <!-- Match the checkstyle root element --> - <xsl:template match='checkstyle'> - <html> - <head> - <title>Checkstyle results</title> - <link rel='stylesheet' type='text/css' href='checkstyle.css' /> - </head> - <body> - <h1>Checkstyle results</h1> - <div>The following document contains the results of - <a href='http://checkstyle.sourceforge.net/'>Checkstyle</a>.</div> - - <h2>Summary</h2> - <table summary='Summary'> - <tr> - <th>Files</th><th>Infos</th><th>Warnings</th><th>Errors</th> - </tr> - <tr> - <td><xsl:value-of select='count(file)' /></td> - <td><xsl:value-of select='count(file/error[@severity="info"])' /></td> - <td><xsl:value-of select='count(file/error[@severity="warning"])' /></td> - <td><xsl:value-of select='count(file/error[@severity="error"])' /></td> - </tr> - </table> - - <h2>Files</h2> - <table summary='Files'> - <tr> - <th>File</th><th>I</th><th>W</th><th>E</th> - </tr> - <!-- Process file elements in file mode --> - <xsl:apply-templates select='file' mode='file'> - <xsl:sort select="@name"/> - </xsl:apply-templates> - </table> - - <!-- Process file elements in detail mode --> - <xsl:apply-templates select='file' mode='detail'> - <xsl:sort select="@name"/> - </xsl:apply-templates> - </body> - </html> - </xsl:template> - - <!-- Match a file element in file mode --> - <xsl:template match='file' mode='file'> - <xsl:if test='count(error) > 0'> - <tr> - <td> - <xsl:element name='a'> - <xsl:attribute name='href'> - #<xsl:value-of select='translate(string(@name),"/","__")' /> - </xsl:attribute> - <xsl:value-of select='@name' /> - </xsl:element> - </td> - <td><xsl:value-of select='count(error[@severity="info"])' /></td> - <td><xsl:value-of select='count(error[@severity="warning"])' /></td> - <td><xsl:value-of select='count(error[@severity="error"])' /></td> - </tr> - </xsl:if> - </xsl:template> - - <!-- Match a file element in detail mode--> - <xsl:template match='file' mode='detail'> - <xsl:if test='count(error) > 0'> - <h3> - <xsl:element name='a'> - <xsl:attribute name='name'> - <xsl:value-of select='translate(string(@name),"/","__")' /> - </xsl:attribute> - <xsl:value-of select='@name' /> - </xsl:element> - </h3> - <table summary='Errors'> - <tr> - <th>Error</th><th width="100px">Line</th> - </tr> - <xsl:apply-templates select='error' /> - </table> - </xsl:if> - </xsl:template> - - <!-- Match an error element --> - <xsl:template match='error'> - <tr> - <td><xsl:value-of select='@message'/></td> - <td><xsl:value-of select='@line' /></td> - </tr> - </xsl:template> - -</xsl:stylesheet> |