Skip to content

Commit 7f2ecc5

Browse files
committed
Fix Javadoc complaints about header ordering.
1 parent ce0b35b commit 7f2ecc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<body>
2929
<p>java-otp is a library for generating one-time passwords using the <a href="https://tools.ietf.org/html/rfc4226">HOTP (RFC 4226)</a> or <a href="https://tools.ietf.org/html/rfc6238">TOTP (RFC 6238)</a> passwords in Java.</p>
3030

31-
<h2>Usage</h2>
31+
<h1>Usage</h1>
3232

3333
<p>To demonstrate generating one-time passwords, we'll focus on the TOTP algorithm. To create a TOTP generator with a default password length, time step, and HMAC algorithm:</p>
3434

@@ -52,7 +52,7 @@ <h2>Usage</h2>
5252
System.out.format("Current password: %06d\n", totp.generateOneTimePassword(secretKey, now));
5353
System.out.format("Future password: %06d\n", totp.generateOneTimePassword(secretKey, later));</pre>
5454

55-
<h2>License and copyright</h2>
55+
<h1>License and copyright</h1>
5656

5757
<p>Copyright (c) 2016 Jon Chambers</p>
5858

0 commit comments

Comments
 (0)