提交 c9e82af6 编写于 作者: Y youyong205

fix code format

上级 6017c1cf
......@@ -270,8 +270,9 @@ public abstract class BaseGraphCreator implements LogEnabled {
Map<String, double[]> newCurrentValues = new LinkedHashMap<String, double[]>();
int step = m_dataExtractor.getStep();
if (step <= 0)
if (step <= 0){
return allCurrentValues;
}
int minute = Calendar.getInstance().get(Calendar.MINUTE);
int removeLength = 60 / step - (minute / step);
......
......@@ -55,7 +55,7 @@ public class DefaultUserMonitGraphCreator extends BaseGraphCreator implements Us
@Override
protected Map<String, double[]> buildGraphData(MetricReport metricReport, List<MetricItemConfig> metricConfigs) {
return null;
throw new RuntimeException("unsupport in user monitor graph!");
}
private Map<String, LineChart> buildInfoChartData(final Map<String, double[]> datas, Date startDate, Date endDate,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册