Skip to content

Commit 08d28f5

Browse files
committed
2 parents 8c9195b + 2a51314 commit 08d28f5

29 files changed

+121
-123
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
5858
# Initializes the CodeQL tools for scanning.
5959
- name: Initialize CodeQL
60-
uses: github/codeql-action/init@662472033e021d55d94146f66f6058822b0b39fd # 3.27.0
60+
uses: github/codeql-action/init@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # 3.27.4
6161
with:
6262
languages: ${{ matrix.language }}
6363
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -68,7 +68,7 @@ jobs:
6868
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
6969
# If this step fails, then you should remove it and run the build manually (see below)
7070
- name: Autobuild
71-
uses: github/codeql-action/autobuild@662472033e021d55d94146f66f6058822b0b39fd # 3.27.0
71+
uses: github/codeql-action/autobuild@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # 3.27.4
7272

7373
# ℹ️ Command-line programs to run using the OS shell.
7474
# 📚 https://git.io/JvXDl
@@ -82,4 +82,4 @@ jobs:
8282
# make release
8383

8484
- name: Perform CodeQL Analysis
85-
uses: github/codeql-action/analyze@662472033e021d55d94146f66f6058822b0b39fd # 3.27.0
85+
uses: github/codeql-action/analyze@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # 3.27.4

.github/workflows/scorecards-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,6 @@ jobs:
6464
retention-days: 5
6565

6666
- name: "Upload to code-scanning"
67-
uses: github/codeql-action/upload-sarif@662472033e021d55d94146f66f6058822b0b39fd # 3.27.0
67+
uses: github/codeql-action/upload-sarif@ea9e4e37992a54ee68a9622e985e60c8e8f12d9f # 3.27.4
6868
with:
6969
sarif_file: results.sarif

pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
<system>jira</system>
4949
<url>https://issues.apache.org/jira/browse/LANG</url>
5050
</issueManagement>
51-
5251
<scm>
5352
<connection>scm:git:http://gitbox.apache.org/repos/asf/commons-lang.git</connection>
5453
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/commons-lang.git</developerConnection>

src/main/java/org/apache/commons/lang3/ClassUtils.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1576,7 +1576,7 @@ private static boolean useFull(final int runAheadTarget, final int source, final
15761576
* </p>
15771577
*
15781578
* @param classes the class array to convert, may be null or empty
1579-
* @return an array which contains for each given class, the primitive class or <b>null</b> if the original class is not
1579+
* @return an array which contains for each given class, the primitive class or <strong>null</strong> if the original class is not
15801580
* a wrapper class. {@code null} if null input. Empty array if an empty array passed in.
15811581
* @see #wrapperToPrimitive(Class)
15821582
* @since 2.4
@@ -1601,11 +1601,11 @@ public static Class<?>[] wrappersToPrimitives(final Class<?>... classes) {
16011601
* <p>
16021602
* This method is the counter part of {@code primitiveToWrapper()}. If the passed in class is a wrapper class for a
16031603
* primitive type, this primitive type will be returned (e.g. {@code Integer.TYPE} for {@code Integer.class}). For other
1604-
* classes, or if the parameter is <b>null</b>, the return value is <b>null</b>.
1604+
* classes, or if the parameter is <strong>null</strong>, the return value is <strong>null</strong>.
16051605
* </p>
16061606
*
1607-
* @param cls the class to convert, may be <b>null</b>
1608-
* @return the corresponding primitive type if {@code cls} is a wrapper class, <b>null</b> otherwise
1607+
* @param cls the class to convert, may be <strong>null</strong>
1608+
* @return the corresponding primitive type if {@code cls} is a wrapper class, <strong>null</strong> otherwise
16091609
* @see #primitiveToWrapper(Class)
16101610
* @since 2.4
16111611
*/

src/main/java/org/apache/commons/lang3/JavaVersion.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public enum JavaVersion {
201201
* internally.
202202
*
203203
* @param versionStr the Java version as string
204-
* @return the corresponding enumeration constant or <b>null</b> if the
204+
* @return the corresponding enumeration constant or <strong>null</strong> if the
205205
* version is unknown
206206
*/
207207
static JavaVersion get(final String versionStr) {
@@ -278,7 +278,7 @@ static JavaVersion get(final String versionStr) {
278278
* internally.
279279
*
280280
* @param versionStr the Java version as string
281-
* @return the corresponding enumeration constant or <b>null</b> if the
281+
* @return the corresponding enumeration constant or <strong>null</strong> if the
282282
* version is unknown
283283
*/
284284
static JavaVersion getJavaVersion(final String versionStr) {

src/main/java/org/apache/commons/lang3/RandomStringUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
* the algorithms/providers specified in the {@code securerandom.strongAlgorithms} {@link Security} property.
3434
* </p>
3535
* <p>
36-
* Use {@link #insecure()} to get the singleton instance based on {@link ThreadLocalRandom#current()} <b>which is not cryptographically secure</b>. In addition,
36+
* Use {@link #insecure()} to get the singleton instance based on {@link ThreadLocalRandom#current()} <strong>which is not cryptographically secure</strong>. In addition,
3737
* instances do not use a cryptographically random seed unless the {@linkplain System#getProperty system property} {@code java.util.secureRandomSeed} is set to
3838
* {@code true}.
3939
* </p>

src/main/java/org/apache/commons/lang3/RandomUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
* the algorithms/providers specified in the {@code securerandom.strongAlgorithms} {@link Security} property.
3737
* </p>
3838
* <p>
39-
* Use {@link #insecure()} to get the singleton instance based on {@link ThreadLocalRandom#current()} <b>which is not cryptographically secure</b>. In addition,
39+
* Use {@link #insecure()} to get the singleton instance based on {@link ThreadLocalRandom#current()} <strong>which is not cryptographically secure</strong>. In addition,
4040
* instances do not use a cryptographically random seed unless the {@linkplain System#getProperty system property} {@code java.util.secureRandomSeed} is set to
4141
* {@code true}.
4242
* </p>

src/main/java/org/apache/commons/lang3/StringUtils.java

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -37,57 +37,57 @@
3737
* {@code null} safe.
3838
*
3939
* <ul>
40-
* <li><b>IsEmpty/IsBlank</b>
40+
* <li><strong>IsEmpty/IsBlank</strong>
4141
* - checks if a String contains text</li>
42-
* <li><b>Trim/Strip</b>
42+
* <li><strong>Trim/Strip</strong>
4343
* - removes leading and trailing whitespace</li>
44-
* <li><b>Equals/Compare</b>
44+
* <li><strong>Equals/Compare</strong>
4545
* - compares two strings in a null-safe manner</li>
46-
* <li><b>startsWith</b>
46+
* <li><strong>startsWith</strong>
4747
* - check if a String starts with a prefix in a null-safe manner</li>
48-
* <li><b>endsWith</b>
48+
* <li><strong>endsWith</strong>
4949
* - check if a String ends with a suffix in a null-safe manner</li>
50-
* <li><b>IndexOf/LastIndexOf/Contains</b>
50+
* <li><strong>IndexOf/LastIndexOf/Contains</strong>
5151
* - null-safe index-of checks
52-
* <li><b>IndexOfAny/LastIndexOfAny/IndexOfAnyBut/LastIndexOfAnyBut</b>
52+
* <li><strong>IndexOfAny/LastIndexOfAny/IndexOfAnyBut/LastIndexOfAnyBut</strong>
5353
* - index-of any of a set of Strings</li>
54-
* <li><b>ContainsOnly/ContainsNone/ContainsAny</b>
54+
* <li><strong>ContainsOnly/ContainsNone/ContainsAny</strong>
5555
* - checks if String contains only/none/any of these characters</li>
56-
* <li><b>Substring/Left/Right/Mid</b>
56+
* <li><strong>Substring/Left/Right/Mid</strong>
5757
* - null-safe substring extractions</li>
58-
* <li><b>SubstringBefore/SubstringAfter/SubstringBetween</b>
58+
* <li><strong>SubstringBefore/SubstringAfter/SubstringBetween</strong>
5959
* - substring extraction relative to other strings</li>
60-
* <li><b>Split/Join</b>
60+
* <li><strong>Split/Join</strong>
6161
* - splits a String into an array of substrings and vice versa</li>
62-
* <li><b>Remove/Delete</b>
62+
* <li><strong>Remove/Delete</strong>
6363
* - removes part of a String</li>
64-
* <li><b>Replace/Overlay</b>
64+
* <li><strong>Replace/Overlay</strong>
6565
* - Searches a String and replaces one String with another</li>
66-
* <li><b>Chomp/Chop</b>
66+
* <li><strong>Chomp/Chop</strong>
6767
* - removes the last part of a String</li>
68-
* <li><b>AppendIfMissing</b>
68+
* <li><strong>AppendIfMissing</strong>
6969
* - appends a suffix to the end of the String if not present</li>
70-
* <li><b>PrependIfMissing</b>
70+
* <li><strong>PrependIfMissing</strong>
7171
* - prepends a prefix to the start of the String if not present</li>
72-
* <li><b>LeftPad/RightPad/Center/Repeat</b>
72+
* <li><strong>LeftPad/RightPad/Center/Repeat</strong>
7373
* - pads a String</li>
74-
* <li><b>UpperCase/LowerCase/SwapCase/Capitalize/Uncapitalize</b>
74+
* <li><strong>UpperCase/LowerCase/SwapCase/Capitalize/Uncapitalize</strong>
7575
* - changes the case of a String</li>
76-
* <li><b>CountMatches</b>
76+
* <li><strong>CountMatches</strong>
7777
* - counts the number of occurrences of one String in another</li>
78-
* <li><b>IsAlpha/IsNumeric/IsWhitespace/IsAsciiPrintable</b>
78+
* <li><strong>IsAlpha/IsNumeric/IsWhitespace/IsAsciiPrintable</strong>
7979
* - checks the characters in a String</li>
80-
* <li><b>DefaultString</b>
80+
* <li><strong>DefaultString</strong>
8181
* - protects against a null input String</li>
82-
* <li><b>Rotate</b>
82+
* <li><strong>Rotate</strong>
8383
* - rotate (circular shift) a String</li>
84-
* <li><b>Reverse/ReverseDelimited</b>
84+
* <li><strong>Reverse/ReverseDelimited</strong>
8585
* - reverses a String</li>
86-
* <li><b>Abbreviate</b>
86+
* <li><strong>Abbreviate</strong>
8787
* - abbreviates a string using ellipses or another given String</li>
88-
* <li><b>Difference</b>
88+
* <li><strong>Difference</strong>
8989
* - compares Strings and reports on their differences</li>
90-
* <li><b>LevenshteinDistance</b>
90+
* <li><strong>LevenshteinDistance</strong>
9191
* - the number of changes needed to change one String into another</li>
9292
* </ul>
9393
*
@@ -5418,7 +5418,7 @@ public static String normalizeSpace(final String str) {
54185418
/**
54195419
* Finds the n-th index within a CharSequence, handling {@code null}.
54205420
* This method uses {@link String#indexOf(String)} if possible.
5421-
* <p><b>Note:</b> The code starts looking for a match at the start of the target,
5421+
* <p><strong>Note:</strong> The code starts looking for a match at the start of the target,
54225422
* incrementing the starting index by one after each successful match
54235423
* (unless {@code searchStr} is an empty string in which case the position
54245424
* is never incremented and {@code 0} is returned immediately).

src/main/java/org/apache/commons/lang3/Strings.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,12 @@ public int lastIndexOf(final CharSequence seq, final CharSequence searchSeq, fin
263263
}
264264

265265
/**
266-
* The <b>C</b>ase-<b>I</b>nsensitive singleton instance.
266+
* The <strong>C</strong>ase-<strong>I</strong>nsensitive singleton instance.
267267
*/
268268
public static final Strings CI = new CiStrings(true);
269269

270270
/**
271-
* The <b>C</b>ase-<b>S</b>nsensitive singleton instance.
271+
* The <strong>C</strong>ase-<strong>S</strong>nsensitive singleton instance.
272272
*/
273273
public static final Strings CS = new CsStrings(true);
274274

src/main/java/org/apache/commons/lang3/SystemUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1911,7 +1911,7 @@ public class SystemUtils {
19111911
* Holds a class name, on Windows XP this is {@code sun.awt.windows.WToolkit}.
19121912
* </p>
19131913
* <p>
1914-
* <b>On platforms without a GUI, this value is {@code null}.</b>
1914+
* <strong>On platforms without a GUI, this value is {@code null}.</strong>
19151915
* </p>
19161916
* <p>
19171917
* Defaults to {@code null} if the runtime does not have security access to read this property or the property does

0 commit comments

Comments
 (0)