diff --git a/snapextractor/src/main/java/org/tango/server/snapextractor/SnapExtractor.java b/snapextractor/src/main/java/org/tango/server/snapextractor/SnapExtractor.java index ebb5ff884fe8d29c6a52db3d6f5efc073ca61f2e..5a69d7a38c305f1b5a5313e0059f92dfec9e4679 100644 --- a/snapextractor/src/main/java/org/tango/server/snapextractor/SnapExtractor.java +++ b/snapextractor/src/main/java/org/tango/server/snapextractor/SnapExtractor.java @@ -680,15 +680,15 @@ public class SnapExtractor { } - @Command(name = "GetSnapShotAttributeList", outTypeDesc = "The list of attributes contained in all context") - public String[] getSnapShotAttributeList() throws DevFailed { + @Command(name = "GetSnapshotAttributeList", outTypeDesc = "The list of attributes contained in all context") + public String[] getSnapshotAttributeList() throws DevFailed { logger.info("get snapshoted attribute list"); String[] arrayList = new String[] { "NO RESULT" }; try { - List<String> snapShotAttributeList = snapReader.getSnapShotAttributeList(); - if (snapShotAttributeList != null && !snapShotAttributeList.isEmpty()) { - arrayList = snapShotAttributeList.toArray(new String[snapShotAttributeList.size()]); + List<String> snapshotAttributeList = snapReader.getSnapshotAttributeList(); + if (snapshotAttributeList != null && !snapshotAttributeList.isEmpty()) { + arrayList = snapshotAttributeList.toArray(new String[snapshotAttributeList.size()]); } } catch (Exception e) { e.printStackTrace();