Skip to content

Commit

Permalink
javadoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mvysny committed Feb 14, 2024
1 parent 795b2cb commit ca97307
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static Resource findWebRoot(ResourceFactory resourceFactory) throws MalformedURL

/**
* Returns the JVM major version.
* @return 17 or 21.
* @return JVM major version, such as 17 or 21.
*/
static int getJavaVersion() {
return Runtime.version().version().get(0);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,12 @@ public class VaadinBoot {
*/
private boolean useVirtualThreadsIfAvailable = true;

/**
* Creates new boot instance.
*/
public VaadinBoot() {
}

/**
* Sets the port to listen on. Listens on {@value #DEFAULT_PORT} by default.
* @param port the new port, 1..65535
Expand Down

0 comments on commit ca97307

Please sign in to comment.