Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dvayanu committed Mar 8, 2019
1 parent 556476f commit 1f4236c
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -83,7 +83,13 @@ public class Constants {
* Average time value.
*/
public static final long AVERAGE_TIME_DEFAULT = -1;


/**
* Returns currently configured intervals. Although this is not a constant anymore, since the intervals can be
* configured since 2.9.1 we still leave this method here, because it is used at far too many locations.
* However, the intervals are looked up in the configuration now.
* @return currently configured intervals.
*/
public static final Interval[] getDefaultIntervals(){
return MoskitoConfigurationHolder.getConfiguration().getConfiguredIntervals();
}
Expand Down

0 comments on commit 1f4236c

Please sign in to comment.