Skip to content

Commit 029bbbf

Browse files
Anusienchingor13
authored andcommitted
docs: fix various paragraph issues in javadoc (#867)
1 parent 0f8db39 commit 029bbbf

File tree

6 files changed

+6
-12
lines changed

6 files changed

+6
-12
lines changed

google-http-client/src/main/java/com/google/api/client/http/AbstractInputStreamContent.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
* amount of content read from the input stream, you may use {@link ByteStreams#limit(InputStream,
3030
* long)}.
3131
*
32-
* <p>
33-
*
3432
* <p>Implementations don't need to be thread-safe.
3533
*
3634
* @since 1.4

google-http-client/src/main/java/com/google/api/client/http/ExponentialBackOffPolicy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* retry_interval * (random value in range [1 - randomization_factor, 1 + randomization_factor])
3232
* </pre>
3333
*
34-
* In other words {@link #getNextBackOffMillis()} will range between the randomization factor
34+
* <p>In other words {@link #getNextBackOffMillis()} will range between the randomization factor
3535
* percentage below and above the retry interval. For example, using 2 seconds as the base retry
3636
* interval and 0.5 as the randomization factor, the actual back off period used in the next retry
3737
* attempt will be between 1 and 3 seconds.

google-http-client/src/main/java/com/google/api/client/json/JsonParser.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@
5050
* <p>Implementation has no fields and therefore thread-safe, but sub-classes are not necessarily
5151
* thread-safe.
5252
*
53-
* <p>
54-
*
5553
* <p>If a JSON map is encountered while using a destination class of type Map, then an {@link
5654
* java.util.ArrayMap} is used by default for the parsed values.
5755
*

google-http-client/src/main/java/com/google/api/client/json/JsonString.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
* </code>
3333
* </pre>
3434
*
35-
* can be used for this JSON content:
35+
* <p>can be used for this JSON content:
3636
*
3737
* <pre>
3838
* <code>
3939
* {"value" : 12345768901234576890123457689012345768901234576890}
4040
* </code>
4141
* </pre>
4242
*
43-
* However, if instead the JSON content uses a JSON String to store the value, one needs to use the
43+
* <p>However, if instead the JSON content uses a JSON String to store the value, one needs to use the
4444
* {@link JsonString} annotation. For example:
4545
*
4646
* <pre>
@@ -51,7 +51,7 @@
5151
* </code>
5252
* </pre>
5353
*
54-
* can be used for this JSON content:
54+
* <p>can be used for this JSON content:
5555
*
5656
* <pre>
5757
* <code>

google-http-client/src/main/java/com/google/api/client/testing/json/webtoken/TestCertificates.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ public X509TrustManager getTrustManager() throws IOException, GeneralSecurityExc
240240
* {"foo":"bar"}
241241
* </pre>
242242
*
243-
* The message is signed using {@code FOO_BAR_COM_KEY}.
243+
* <p>The message is signed using {@code FOO_BAR_COM_KEY}.
244244
*/
245245
public static final String JWS_SIGNATURE =
246246
"eyJhbGciOiJSUzI1NiIsIng1YyI6WyJNSUlDNlRDQ0FkRUNBU293RFFZSktvWklo"

google-http-client/src/main/java/com/google/api/client/util/PemReader.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
*
3737
* <p>Limitations:
3838
*
39-
* <p>
40-
*
41-
* <ul>
39+
* <p><ul>
4240
* <li>Assumes the PEM file section content is not encrypted and cannot handle the case of any
4341
* headers inside the BEGIN and END tag.
4442
* <li>It also ignores any attributes associated with any PEM file section.

0 commit comments

Comments
 (0)