Skip to content

Commit abe64ad

Browse files
committed
Fix HTML warnings
- Fix spelling - Use paragraph - Use a list instead of line breaks
1 parent 4bb08ab commit abe64ad

File tree

3 files changed

+22
-20
lines changed

3 files changed

+22
-20
lines changed

DEVELOPERS-GUIDE.html

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,19 @@
2020
</head>
2121
<body>
2222

23-
24-
<div align="center">
23+
<div>
2524
<h1>The Apache Commons <em>Collections</em> Package</h1>
26-
<h2>Developers Guide</h2>
27-
<a href="#Introduction">[Introduction]</a>
28-
<a href="#CollectionInterfaces">[Collection Interfaces]</a>
29-
<a href="#CollectionImplementations">[Collection Implementations]</a>
30-
<a href="#UtilityClasses">[Utility Classes]</a>
31-
<a href="#CodingStandards">[Coding Standards]</a>
32-
<br />
33-
<br />
25+
<h2>Developer's Guide</h2>
26+
<ol>
27+
<li><a href="#Introduction">Introduction</a></li>
28+
<li><a href="#CollectionInterfaces">Collection Interfaces</a></li>
29+
<li><a href="#CollectionImplementations">Collection Implementations</a></li>
30+
<li><a href="#UtilityClasses">Utility Classes</a></li>
31+
<li><a href="#CodingStandards">Coding Standards</a></li>
32+
</ol>
3433
</div>
3534

36-
37-
<a name="Introduction"></a>
35+
<a id="Introduction"></a>
3836
<h3>1. INTRODUCTION</h3>
3937

4038
<p>The <em>Collections</em> package contains a set of Java classes that extend
@@ -47,7 +45,7 @@ <h3>1. INTRODUCTION</h3>
4745
java.util.Collections.</p>
4846

4947

50-
<a name="CollectionInterfaces"></a>
48+
<a id="CollectionInterfaces"></a>
5149
<h3>2. COLLECTION INTERFACES</h3>
5250

5351
<p>Collection interfaces are new types of collections not included in Java.
@@ -59,7 +57,7 @@ <h3>2. COLLECTION INTERFACES</h3>
5957
</ul>
6058

6159

62-
<a name="CollectionImplementations"></a>
60+
<a id="CollectionImplementations"></a>
6361
<h3>3. COLLECTION IMPLEMENTATIONS</h3>
6462

6563
<p>Collection implementation are new implementations of collection interfaces.
@@ -75,7 +73,7 @@ <h3>3. COLLECTION IMPLEMENTATIONS</h3>
7573
</ul>
7674

7775

78-
<a name="UtilityClasses"></a>
76+
<a id="UtilityClasses"></a>
7977
<h3>4. UTILITY CLASSES</h3>
8078

8179
<p>Utility classes provide additional functionality around an interface and
@@ -111,7 +109,7 @@ <h3>4. UTILITY CLASSES</h3>
111109
the constructors should be protected and a public static decorate() method
112110
provided on each class for construction.</p>
113111

114-
<a name="CodingStandards"></a>
112+
<a id="CodingStandards"></a>
115113
<h3>5. CODING STANDARDS</h3>
116114

117115
<p>Commons Collections follows similar style rules to many other Java open source

src/site/xdoc/index.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ The <a href="scm.html">source repository</a> can be
7474
<section name="Releases">
7575
<p>
7676
The latest version is available:
77-
<a href="https://commons.apache.org/collections/download_collections.cgi">Download now!</a><br />
78-
It is built for Java 8 and later, and the <a href="/changes.html">release notes</a> are also available.
77+
<a href="https://commons.apache.org/collections/download_collections.cgi">Download now!</a>
78+
</p>
79+
<p>
80+
This requires Java 8 or later, see also the <a href="/changes.html">release notes</a>.
7981
</p>
8082
<p>
8183
For previous releases, see the <a href="https://archive.apache.org/dist/commons/collections/">Apache Archive</a>

src/site/xdoc/release_3_2.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ This release is fully source and binary compatible with 3.1.
4747
Please check the bug fixes to ensure you weren't relying on the behavior of a bug.
4848
</p>
4949
<p>
50-
There are two new <i>deprecations</i>:<br />
51-
BeanMap is now deprecated and will be removed in 4.0.
50+
There are two new <i>deprecations</i>:
51+
</p>
52+
<p>
53+
BeanMap is deprecated and will be removed in 4.0.
5254
The class is now available in commons-beanutils (full jar version).
5355
This change was made to ensure that all bean related collections were in one place (i.e. beanutils).
5456
If this causes major headaches to anyone please contact commons-dev at jakarta.apache.org.

0 commit comments

Comments
 (0)