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 5a69d7a38c305f1b5a5313e0059f92dfec9e4679..57f6d436867beb363edb12a302ec2678bce1c903 100644 --- a/snapextractor/src/main/java/org/tango/server/snapextractor/SnapExtractor.java +++ b/snapextractor/src/main/java/org/tango/server/snapextractor/SnapExtractor.java @@ -656,7 +656,6 @@ public class SnapExtractor { // devManager.triggerPolling(writeName); // } } - @Command(name = "GetAttributeListForContext", inTypeDesc = "Context ID", outTypeDesc = "The list of attributes contained in the given context") public String[] getAttributeListForContext(final int argin) throws DevFailed { logger.info("get attribute list for context {}", argin); @@ -680,15 +679,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();