Skip to content
Snippets Groups Projects
Commit 44358f27 authored by Lyubomir Marinov's avatar Lyubomir Marinov
Browse files

Adds javadocs, fixes formatting.

parent 2378d280
No related branches found
No related tags found
No related merge requests found
......@@ -1459,11 +1459,10 @@ public void purgeStoredConfiguration()
*/
private void debugPrintSystemProperties()
{
if(logger.isInfoEnabled())
if (logger.isInfoEnabled())
{
for (Map.Entry<Object, Object> entry
: System.getProperties().entrySet())
logger.info(entry.getKey() + "=" + entry.getValue());
for (Map.Entry<Object,Object> e : System.getProperties().entrySet())
logger.info(e.getKey() + "=" + e.getValue());
}
}
......
......@@ -9,12 +9,14 @@
import org.jitsi.impl.neomedia.*;
/**
* Implements functions which calculate audio levels such as signal power and
* sound pressure.
*
* @author Damian Minkov
* @author Lyubomir Marinov
*/
public class AudioLevelCalculator
{
/**
* The decrease percentage. The decrease cannot be done with more than this
* value in percents.
......@@ -192,7 +194,7 @@ private static int ensureLevelRange(int level, int minLevel, int maxLevel)
{
if (level < minLevel)
return minLevel;
else if(level > maxLevel)
else if (level > maxLevel)
return maxLevel;
else
return level;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment