diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/AtomicBiInteger.java b/jetty-util/src/main/java/org/eclipse/jetty/util/AtomicBiInteger.java index 34f89170786..948262836e6 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/AtomicBiInteger.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/AtomicBiInteger.java @@ -46,6 +46,7 @@ public class AtomicBiInteger extends AtomicLong * Atomically set the hi integer value without changing * the lo value. * @param hi the new hi value + * @return the hi int value */ public int setHi(int hi) { diff --git a/jetty-util/src/main/java/org/eclipse/jetty/util/ProcessorUtils.java b/jetty-util/src/main/java/org/eclipse/jetty/util/ProcessorUtils.java index 18c43e98b52..30491b9aaa6 100644 --- a/jetty-util/src/main/java/org/eclipse/jetty/util/ProcessorUtils.java +++ b/jetty-util/src/main/java/org/eclipse/jetty/util/ProcessorUtils.java @@ -19,7 +19,7 @@ package org.eclipse.jetty.util; /** - * ProcessorUtils return the default value for processor number fron {@link Runtime#getRuntime()#availableProcessors()} + * ProcessorUtils return the default value for processor number from {@link Runtime} * but in a virtual environment you can override it using env var JETTY_AVAILABLE_PROCESSORS */ public class ProcessorUtils @@ -42,6 +42,10 @@ public class ProcessorUtils } } + /** + * + * @return the number of processors + */ public static int availableProcessors() { return AVAILABLE_PROCESSORS;