From b7e0e6cd7dfa72c7792c978d86803fd73bd82b15 Mon Sep 17 00:00:00 2001 From: Kentin Rodrigues <kentin.rodrigues@synchrotron-soleil.fr> Date: Fri, 19 Feb 2016 07:52:14 +0000 Subject: [PATCH] --- .../org/tango/server/snapextractor/SnapExtractor.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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 5a69d7a..57f6d43 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(); -- GitLab