Polish "Add vendor version to JavaInfo"

See gh-29090
This commit is contained in:
Stephane Nicoll 2022-01-04 16:10:02 +01:00
parent c6e6d109ad
commit 605ec2fb0e
2 changed files with 7 additions and 5 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -57,10 +57,13 @@ public class JavaInfo {
}
/**
* Information about the Java Vendor of the used Java Runtime.
* Information about the Java Vendor of the Java Runtime the application is running
* in.
*
* @since 2.7.0
*/
public static class JavaVendorInfo {
private final String name;
private final String version;
@ -77,11 +80,11 @@ public class JavaInfo {
public String getVersion() {
return this.version;
}
}
/**
* Information about the Java Runtime Environment the application is running in.
* @since 2.6.0
*/
public static class JavaRuntimeEnvironmentInfo {
@ -106,7 +109,6 @@ public class JavaInfo {
/**
* Information about the Java Virtual Machine the application is running in.
* @since 2.6.0
*/
public static class JavaVirtualMachineInfo {

View File

@ -1,5 +1,5 @@
/*
* Copyright 2012-2021 the original author or authors.
* Copyright 2012-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.