Skip to content
Snippets Groups Projects
Commit 68b4c6e5 authored by Raphael GIRARDOT's avatar Raphael GIRARDOT
Browse files

spelling correction

parent b7e0e6cd
No related branches found
No related tags found
No related merge requests found
...@@ -656,6 +656,7 @@ public class SnapExtractor { ...@@ -656,6 +656,7 @@ public class SnapExtractor {
// devManager.triggerPolling(writeName); // devManager.triggerPolling(writeName);
// } // }
} }
@Command(name = "GetAttributeListForContext", inTypeDesc = "Context ID", outTypeDesc = "The list of attributes contained in the given context") @Command(name = "GetAttributeListForContext", inTypeDesc = "Context ID", outTypeDesc = "The list of attributes contained in the given context")
public String[] getAttributeListForContext(final int argin) throws DevFailed { public String[] getAttributeListForContext(final int argin) throws DevFailed {
logger.info("get attribute list for context {}", argin); logger.info("get attribute list for context {}", argin);
...@@ -679,15 +680,15 @@ public class SnapExtractor { ...@@ -679,15 +680,15 @@ public class SnapExtractor {
} }
@Command(name = "GetSnapShotAttributeList", outTypeDesc = "The list of attributes contained in all context") @Command(name = "GetSnapshotAttributeList", outTypeDesc = "The list of attributes contained in all context")
public String[] getSnapShotAttributeList() throws DevFailed { public String[] getSnapshotAttributeList() throws DevFailed {
logger.info("get snapshoted attribute list"); logger.info("get snapshoted attribute list");
String[] arrayList = new String[] { "NO RESULT" }; String[] arrayList = new String[] { "NO RESULT" };
try { try {
List<String> snapShotAttributeList = snapReader.getSnapShotAttributeList(); List<String> snapshotAttributeList = snapReader.getSnapshotAttributeList();
if (snapShotAttributeList != null && !snapShotAttributeList.isEmpty()) { if (snapshotAttributeList != null && !snapshotAttributeList.isEmpty()) {
arrayList = snapShotAttributeList.toArray(new String[snapShotAttributeList.size()]); arrayList = snapshotAttributeList.toArray(new String[snapshotAttributeList.size()]);
} }
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment