Skip to content
Snippets Groups Projects
Commit e2119450 authored by hwchiu's avatar hwchiu
Browse files

replace the tab with 4-space

parent b14c22f7
No related branches found
No related tags found
No related merge requests found
......@@ -38,9 +38,9 @@ public class SwitchStatisticsResource extends SwitchResourceBase {
LoggerFactory.getLogger(SwitchStatisticsResource.class);
@Get("json")
public StatsReply retrieve(){
StatsReply result = new StatsReply();
Object values = null;
public StatsReply retrieve(){
StatsReply result = new StatsReply();
Object values = null;
String switchId = (String) getRequestAttributes().get("switchId");
String statType = (String) getRequestAttributes().get("statType");
......@@ -59,10 +59,10 @@ public class SwitchStatisticsResource extends SwitchResourceBase {
} else if (statType.equals("features")) {
values = getSwitchFeaturesReply(switchId);
}
result.setDatapathId(switchId);
result.setValues(values);
result.setStatType(statType);
result.setDatapathId(switchId);
result.setValues(values);
result.setStatType(statType);
return result;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment