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

spelling correction

parent 5586d52f
No related branches found
No related tags found
No related merge requests found
...@@ -680,15 +680,15 @@ public class SnapExtractor { ...@@ -680,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