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