Skip to content

Commit

Permalink
(doc) - Require OS web page improvements
Browse files Browse the repository at this point in the history
Fixes multiple typos
  • Loading branch information
WilliamCollishaw authored and slachiewicz committed Nov 6, 2021
1 parent 826b9e2 commit cb3753d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions enforcer-rules/src/site/apt/requireOS.apt.vm
Expand Up @@ -64,12 +64,12 @@ Require OS Version

* {{{../apidocs/org/apache/maven/plugins/enforcer/RequireOS.html#version}version}} - the version of the OS.

* {{{../apidocs/org/apache/maven/plugins/enforcer/RequireOS.html#display}display}} - flag to display the detected OS informatin.
* {{{../apidocs/org/apache/maven/plugins/enforcer/RequireOS.html#display}display}} - flag to display the detected OS information.

[]


Family is calculated based on testing against the name string retreived from the JDK. The name, arch and version values are retreived from the JDK using the following code:
Family is calculated based on testing against the name string retrieved from the JDK. The name, arch and version values are retrieved from the JDK using the following code:

+---+
public static final String OS_NAME = System.getProperty( "os.name" ).toLowerCase( Locale.US );
Expand Down

0 comments on commit cb3753d

Please sign in to comment.