Skip to content
Snippets Groups Projects
Commit b7e0e6cd authored by Kentin Rodrigues's avatar Kentin Rodrigues
Browse files

No commit message

No commit message
parent 7f1f4689
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment