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-crypto.git
The following commit(s) were added to refs/heads/master by this push:
new b605563 Missing console output line termination
b605563 is described below
commit b605563d3ed31496ea6977e80155ea7c72969068
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Dec 14 07:34:41 2022 -0500
Missing console output line termination
---
src/main/java/org/apache/commons/crypto/OsInfo.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/commons/crypto/OsInfo.java
b/src/main/java/org/apache/commons/crypto/OsInfo.java
index 5ec55a6..a692d82 100644
--- a/src/main/java/org/apache/commons/crypto/OsInfo.java
+++ b/src/main/java/org/apache/commons/crypto/OsInfo.java
@@ -27,6 +27,7 @@ import java.util.Locale;
* information from the build environment.
*/
final class OsInfo {
+
private final static HashMap<String, String> archMapping = new HashMap<>();
/**
@@ -163,11 +164,11 @@ final class OsInfo {
public static void main(final String[] args) {
if (args.length >= 1) {
if ("--os".equals(args[0])) {
- System.out.print(getOSName());
+ System.out.println(getOSName());
return;
}
if ("--arch".equals(args[0])) {
- System.out.print(getArchName());
+ System.out.println(getArchName());
return;
}
}