fix javadoc

Signed-off-by: olivier lamy <olamy@webtide.com>
This commit is contained in:
olivier lamy 2018-03-07 22:07:49 +10:00
parent 7004aaa538
commit 8dffd7e476
2 changed files with 6 additions and 1 deletions

View File

@ -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)
{

View File

@ -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 <code>JETTY_AVAILABLE_PROCESSORS</code>
*/
public class ProcessorUtils
@ -42,6 +42,10 @@ public class ProcessorUtils
}
}
/**
*
* @return the number of processors
*/
public static int availableProcessors()
{
return AVAILABLE_PROCESSORS;