You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by bo...@apache.org on 2019/08/23 15:13:17 UTC

[commons-compress] 03/05: Sonar now does HTML linting

This is an automated email from the ASF dual-hosted git repository.

bodewig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-compress.git

commit 34590ca9ccda7b63e5f57906f1b9b12bf6efd56c
Author: Stefan Bodewig <bo...@apache.org>
AuthorDate: Fri Aug 23 17:08:05 2019 +0200

    Sonar now does HTML linting
    
    even for package.html where the HTML head gets ignored anyway
---
 src/main/java/org/apache/commons/compress/archivers/ar/package.html | 6 +++++-
 .../java/org/apache/commons/compress/archivers/arj/package.html     | 6 +++++-
 .../java/org/apache/commons/compress/archivers/cpio/package.html    | 6 +++++-
 .../java/org/apache/commons/compress/archivers/dump/package.html    | 6 +++++-
 .../org/apache/commons/compress/archivers/examples/package.html     | 6 +++++-
 .../java/org/apache/commons/compress/archivers/jar/package.html     | 6 +++++-
 src/main/java/org/apache/commons/compress/archivers/package.html    | 6 +++++-
 .../java/org/apache/commons/compress/archivers/sevenz/package.html  | 6 +++++-
 .../java/org/apache/commons/compress/archivers/tar/package.html     | 6 +++++-
 .../java/org/apache/commons/compress/archivers/zip/package.html     | 6 +++++-
 src/main/java/org/apache/commons/compress/changes/package.html      | 6 +++++-
 .../org/apache/commons/compress/compressors/brotli/package.html     | 6 +++++-
 .../java/org/apache/commons/compress/compressors/bzip2/package.html | 6 +++++-
 .../org/apache/commons/compress/compressors/deflate/package.html    | 6 +++++-
 .../org/apache/commons/compress/compressors/deflate64/package.html  | 6 +++++-
 .../java/org/apache/commons/compress/compressors/gzip/package.html  | 6 +++++-
 .../java/org/apache/commons/compress/compressors/lz4/package.html   | 6 +++++-
 .../apache/commons/compress/compressors/lz77support/package.html    | 6 +++++-
 .../java/org/apache/commons/compress/compressors/lzma/package.html  | 6 +++++-
 .../java/org/apache/commons/compress/compressors/lzw/package.html   | 6 +++++-
 .../org/apache/commons/compress/compressors/pack200/package.html    | 6 +++++-
 src/main/java/org/apache/commons/compress/compressors/package.html  | 6 +++++-
 .../org/apache/commons/compress/compressors/snappy/package.html     | 6 +++++-
 .../java/org/apache/commons/compress/compressors/xz/package.html    | 6 +++++-
 .../java/org/apache/commons/compress/compressors/z/package.html     | 6 +++++-
 .../org/apache/commons/compress/compressors/zstandard/package.html  | 6 +++++-
 src/main/java/org/apache/commons/compress/parallel/package.html     | 6 +++++-
 src/main/java/org/apache/commons/compress/utils/package.html        | 6 +++++-
 28 files changed, 140 insertions(+), 28 deletions(-)

diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/package.html b/src/main/java/org/apache/commons/compress/archivers/ar/package.html
index 9c80f96..4cee6b6 100644
--- a/src/main/java/org/apache/commons/compress/archivers/ar/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/ar/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>ar package</title>
+  </head>
   <body>
     <p>Provides stream classes for reading and writing archives using
       the AR format.</p>
diff --git a/src/main/java/org/apache/commons/compress/archivers/arj/package.html b/src/main/java/org/apache/commons/compress/archivers/arj/package.html
index de18f61..3e3abd2 100644
--- a/src/main/java/org/apache/commons/compress/archivers/arj/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/arj/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>arj package</title>
+  </head>
   <body>
     <p>Provides stream classes for reading archives using
       the ARJ format.</p>
diff --git a/src/main/java/org/apache/commons/compress/archivers/cpio/package.html b/src/main/java/org/apache/commons/compress/archivers/cpio/package.html
index 9858287..e52904e 100644
--- a/src/main/java/org/apache/commons/compress/archivers/cpio/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/cpio/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>cpio package</title>
+  </head>
   <body>
     <p>Provides stream classes for reading and writing archives using
       the CPIO format.</p>
diff --git a/src/main/java/org/apache/commons/compress/archivers/dump/package.html b/src/main/java/org/apache/commons/compress/archivers/dump/package.html
index 72f3c68..e1fed41 100644
--- a/src/main/java/org/apache/commons/compress/archivers/dump/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/dump/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>dump package</title>
+  </head>
   <body>
     <p>This package provides stream classes for reading archives
       using the Unix DUMP format. This format is similar to (and 
diff --git a/src/main/java/org/apache/commons/compress/archivers/examples/package.html b/src/main/java/org/apache/commons/compress/archivers/examples/package.html
index 443d5fc..0858960 100644
--- a/src/main/java/org/apache/commons/compress/archivers/examples/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/examples/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>examples package</title>
+  </head>
   <body>
     <p>Contains example code that is not guaranteed to provide a
       stable API across releases of Commons Compress.</p>
diff --git a/src/main/java/org/apache/commons/compress/archivers/jar/package.html b/src/main/java/org/apache/commons/compress/archivers/jar/package.html
index 09829ae..ab06f02 100644
--- a/src/main/java/org/apache/commons/compress/archivers/jar/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/jar/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>jar package</title>
+  </head>
   <body>
     <p>Provides stream classes for reading and writing archives using
       the ZIP format with some extensions for the special case of JAR
diff --git a/src/main/java/org/apache/commons/compress/archivers/package.html b/src/main/java/org/apache/commons/compress/archivers/package.html
index df1922b..065592b 100644
--- a/src/main/java/org/apache/commons/compress/archivers/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>archivers package</title>
+  </head>
   <body>
     <p>Provides a unified API and factories for dealing with archives
       in different formats.</p>
diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/package.html b/src/main/java/org/apache/commons/compress/archivers/sevenz/package.html
index 975703b..c5756f2 100644
--- a/src/main/java/org/apache/commons/compress/archivers/sevenz/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/sevenz/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>7z package</title>
+  </head>
   <body>
     <p>Provides classes for reading and writing archives using
       the 7z format.</p>
diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/package.html b/src/main/java/org/apache/commons/compress/archivers/tar/package.html
index 141f33b..32f2dfd 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/tar/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>tar package</title>
+  </head>
   <body>
     <p>Provides stream classes for reading and writing archives using
       the TAR format.</p>
diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/package.html b/src/main/java/org/apache/commons/compress/archivers/zip/package.html
index 521687b..e8bd18f 100644
--- a/src/main/java/org/apache/commons/compress/archivers/zip/package.html
+++ b/src/main/java/org/apache/commons/compress/archivers/zip/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>zip package</title>
+  </head>
   <body>
     <p>Provides stream classes for reading and writing archives using
       the ZIP format.</p>
diff --git a/src/main/java/org/apache/commons/compress/changes/package.html b/src/main/java/org/apache/commons/compress/changes/package.html
index 4ba3e87..548f990 100644
--- a/src/main/java/org/apache/commons/compress/changes/package.html
+++ b/src/main/java/org/apache/commons/compress/changes/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>Changeset package</title>
+  </head>
   <body>
     <p><b>EXPERIMENTAL</b> support for changesets that are applied to
       archives.</p>
diff --git a/src/main/java/org/apache/commons/compress/compressors/brotli/package.html b/src/main/java/org/apache/commons/compress/compressors/brotli/package.html
index 7654cf6..45a1c39 100644
--- a/src/main/java/org/apache/commons/compress/compressors/brotli/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/brotli/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>brotli package</title>
+  </head>
   <body>
     <p>Provides stream class for decompressing streams using the
       Brotli algorithm based
diff --git a/src/main/java/org/apache/commons/compress/compressors/bzip2/package.html b/src/main/java/org/apache/commons/compress/compressors/bzip2/package.html
index fe27e6e..c3f189e 100644
--- a/src/main/java/org/apache/commons/compress/compressors/bzip2/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/bzip2/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>bzip2 package</title>
+  </head>
   <body>
     <p>Provides stream classes for compressing and decompressing
       streams using the BZip2 algorithm.</p>
diff --git a/src/main/java/org/apache/commons/compress/compressors/deflate/package.html b/src/main/java/org/apache/commons/compress/compressors/deflate/package.html
index 4ddeb74..c79fb68 100644
--- a/src/main/java/org/apache/commons/compress/compressors/deflate/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/deflate/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>deflate package</title>
+  </head>
   <body>
     <p>Provides a stream classes that allow (de)compressing streams
       using the DEFLATE algorithm.</p>
diff --git a/src/main/java/org/apache/commons/compress/compressors/deflate64/package.html b/src/main/java/org/apache/commons/compress/compressors/deflate64/package.html
index 4a0cdd0..2cf8a73 100644
--- a/src/main/java/org/apache/commons/compress/compressors/deflate64/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/deflate64/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>deflate64 package</title>
+  </head>
   <body>
     <p>Provides a stream that allows decompressing streams using the
       DEFLATE64(tm) algorithm. DEFLATE64 is a trademark of PKWARE,
diff --git a/src/main/java/org/apache/commons/compress/compressors/gzip/package.html b/src/main/java/org/apache/commons/compress/compressors/gzip/package.html
index e18b50f..05ffc33 100644
--- a/src/main/java/org/apache/commons/compress/compressors/gzip/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/gzip/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>gzip package</title>
+  </head>
   <body>
     <p>Provides stream classes for compressing and decompressing
       streams using the GZip algorithm.</p>
diff --git a/src/main/java/org/apache/commons/compress/compressors/lz4/package.html b/src/main/java/org/apache/commons/compress/compressors/lz4/package.html
index 54de62b..0c8d7b7 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lz4/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/lz4/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>lz4 package</title>
+  </head>
   <body>
     <p>Provides stream classes for the
       <a href="http://lz4.github.io/lz4/">LZ4</a>
diff --git a/src/main/java/org/apache/commons/compress/compressors/lz77support/package.html b/src/main/java/org/apache/commons/compress/compressors/lz77support/package.html
index 951b146..11ba335 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lz77support/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/lz77support/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>LZ77 support package</title>
+  </head>
   <body>
     <p>Provides utility classes for LZ77 based algorithms.</p>
 
diff --git a/src/main/java/org/apache/commons/compress/compressors/lzma/package.html b/src/main/java/org/apache/commons/compress/compressors/lzma/package.html
index f3b5473..c03a849 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lzma/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/lzma/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>lzma package</title>
+  </head>
   <body>
     <p>Provides stream classes using the "stand-alone" LZMA
       algorithm.</p>
diff --git a/src/main/java/org/apache/commons/compress/compressors/lzw/package.html b/src/main/java/org/apache/commons/compress/compressors/lzw/package.html
index 3c45ca6..c0fe7cf 100644
--- a/src/main/java/org/apache/commons/compress/compressors/lzw/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/lzw/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>lzw package</title>
+  </head>
   <body>
     <p>Generic LZW implementation.</p>
   </body>
diff --git a/src/main/java/org/apache/commons/compress/compressors/pack200/package.html b/src/main/java/org/apache/commons/compress/compressors/pack200/package.html
index 9dbf2a0..8c1cc81 100644
--- a/src/main/java/org/apache/commons/compress/compressors/pack200/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/pack200/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>pack200 package</title>
+  </head>
   <body>
     <p>Provides stream classes for compressing and decompressing
       streams using the Pack200 algorithm used to compress Java
diff --git a/src/main/java/org/apache/commons/compress/compressors/package.html b/src/main/java/org/apache/commons/compress/compressors/package.html
index 7b7d504..d67758d 100644
--- a/src/main/java/org/apache/commons/compress/compressors/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>compressors package</title>
+  </head>
   <body>
     <p>Provides a unified API and factories for dealing with
       compressed streams.</p>
diff --git a/src/main/java/org/apache/commons/compress/compressors/snappy/package.html b/src/main/java/org/apache/commons/compress/compressors/snappy/package.html
index efef071..74e5178 100644
--- a/src/main/java/org/apache/commons/compress/compressors/snappy/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/snappy/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>snappy package</title>
+  </head>
   <body>
     <p>Provides stream classes for the
       <a href="https://github.com/google/snappy">Snappy</a>
diff --git a/src/main/java/org/apache/commons/compress/compressors/xz/package.html b/src/main/java/org/apache/commons/compress/compressors/xz/package.html
index 48eca25..e138e50 100644
--- a/src/main/java/org/apache/commons/compress/compressors/xz/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/xz/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>xz package</title>
+  </head>
   <body>
     <p>Provides stream classes for compressing and decompressing
       streams using the XZ algorithm.</p>
diff --git a/src/main/java/org/apache/commons/compress/compressors/z/package.html b/src/main/java/org/apache/commons/compress/compressors/z/package.html
index ca9924b..e04f319 100644
--- a/src/main/java/org/apache/commons/compress/compressors/z/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/z/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>compress package</title>
+  </head>
   <body>
     <p>Provides stream classes for decompressing
       streams using the "compress" algorithm used to write .Z files.</p>
diff --git a/src/main/java/org/apache/commons/compress/compressors/zstandard/package.html b/src/main/java/org/apache/commons/compress/compressors/zstandard/package.html
index 6deb74f..f432991 100644
--- a/src/main/java/org/apache/commons/compress/compressors/zstandard/package.html
+++ b/src/main/java/org/apache/commons/compress/compressors/zstandard/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>Zstandard package</title>
+  </head>
   <body>
     <p>Provides stream class for (de)compressing streams using the
       Zstandard algorithm based
diff --git a/src/main/java/org/apache/commons/compress/parallel/package.html b/src/main/java/org/apache/commons/compress/parallel/package.html
index 3517bc5..9977aa3 100644
--- a/src/main/java/org/apache/commons/compress/parallel/package.html
+++ b/src/main/java/org/apache/commons/compress/parallel/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>parallel package</title>
+  </head>
   <body>
     <p>Provides common API classes for parallel compression features.</p>
   </body>
diff --git a/src/main/java/org/apache/commons/compress/utils/package.html b/src/main/java/org/apache/commons/compress/utils/package.html
index 0409d12..985999d 100644
--- a/src/main/java/org/apache/commons/compress/utils/package.html
+++ b/src/main/java/org/apache/commons/compress/utils/package.html
@@ -1,4 +1,5 @@
-<html>
+<!DOCTYPE html>
+<html lang="en">
 <!--
 
    Licensed to the Apache Software Foundation (ASF) under one or more
@@ -17,6 +18,9 @@
    limitations under the License.
 
 -->
+  <head>
+    <title>Utility package</title>
+  </head>
   <body>
     <p>Contains utilities used internally by the compress library.</p>
   </body>