You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/07/06 17:25:45 UTC

[commons-lang] branch master updated: Javadoc & format tweaks

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 38f55010f Javadoc & format tweaks
38f55010f is described below

commit 38f55010fbacdf666da84b1f3c995f4943c10ba7
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Jul 6 13:25:40 2023 -0400

    Javadoc & format tweaks
---
 src/main/java/org/apache/commons/lang3/ArchUtils.java | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/main/java/org/apache/commons/lang3/ArchUtils.java b/src/main/java/org/apache/commons/lang3/ArchUtils.java
index 52422faa9..efc5b0a18 100644
--- a/src/main/java/org/apache/commons/lang3/ArchUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ArchUtils.java
@@ -23,12 +23,11 @@ import org.apache.commons.lang3.arch.Processor;
 import org.apache.commons.lang3.stream.Streams;
 
 /**
- * A utility class for the {@code os.arch} System Property. The class defines methods for
- * identifying the architecture of the current JVM.
+ * Provides methods for identifying the architecture of the current JVM based on the {@code "os.arch"} system property.
  * <p>
- * Important: The {@code os.arch} System Property returns the architecture used by the JVM
- * not of the operating system.
+ * Important: The {@code "os.arch"} system property returns the architecture used by the JVM not of the operating system.
  * </p>
+ *
  * @since 3.6
  */
 public class ArchUtils {
@@ -81,7 +80,7 @@ public class ArchUtils {
     /**
      * Adds the given {@link Processor} with the given key {@link String} to the map.
      *
-     * @param key The key as {@link String}.
+     * @param key       The key as {@link String}.
      * @param processor The {@link Processor} to add.
      * @throws IllegalStateException If the key already exists.
      */
@@ -95,7 +94,7 @@ public class ArchUtils {
     /**
      * Adds the given {@link Processor} with the given keys to the map.
      *
-     * @param keys The keys.
+     * @param keys      The keys.
      * @param processor The {@link Processor} to add.
      * @throws IllegalStateException If the key already exists.
      */
@@ -107,8 +106,7 @@ public class ArchUtils {
      * Gets a {@link Processor} object of the current JVM.
      *
      * <p>
-     * Important: The os.arch System Property returns the architecture used by the JVM
-     * not of the operating system.
+     * Important: The {@code "os.arch"} system property returns the architecture used by the JVM not of the operating system.
      * </p>
      *
      * @return A {@link Processor} when supported, else {@code null}.
@@ -118,8 +116,8 @@ public class ArchUtils {
     }
 
     /**
-     * Gets a {@link Processor} object the given value {@link String}. The {@link String} must be
-     * like a value returned by the {@code os.arch} System Property.
+     * Gets a {@link Processor} object the given value {@link String}. The {@link String} must be like a value returned by the {@code "os.arch"} system
+     * property.
      *
      * @param value A {@link String} like a value returned by the {@code os.arch} System Property.
      * @return A {@link Processor} when it exists, else {@code null}.