Repository: zeppelin Updated Branches: refs/heads/master ad91e8ea4 -> 483a89705
[HoxFix] Compile error after merge ZEPPELIN-1086. ### What is this PR for? This PR fixes compile error from https://github.com/apache/zeppelin/pull/1117. ### What type of PR is it? Hot Fix ### How should this be tested? CI pass. ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: astroshim <[email protected]> Closes #1217 from astroshim/fix/ZEPPELIN-1086 and squashes the following commits: d5be9eb [astroshim] fix error. Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/483a8970 Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/483a8970 Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/483a8970 Branch: refs/heads/master Commit: 483a89705b4b1231ce5db0b654b75453aa1bc30a Parents: ad91e8e Author: astroshim <[email protected]> Authored: Fri Jul 22 20:01:05 2016 +0900 Committer: Mina Lee <[email protected]> Committed: Fri Jul 22 20:39:08 2016 +0900 ---------------------------------------------------------------------- .../main/java/org/apache/zeppelin/notebook/Paragraph.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zeppelin/blob/483a8970/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java ---------------------------------------------------------------------- diff --git a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java index 561d84b..308cbb0 100644 --- a/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java +++ b/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Paragraph.java @@ -211,14 +211,14 @@ public class Paragraph extends Job implements Serializable, Cloneable { public List<InterpreterCompletion> getInterpreterCompletion() { List<InterpreterCompletion> completion = new LinkedList(); for (InterpreterSetting intp: factory.getInterpreterSettings(note.getId())){ - List<InterpreterSetting.InterpreterInfo> intInfo = intp.getInterpreterInfos(); + List<InterpreterInfo> intInfo = intp.getInterpreterInfos(); if (intInfo.size() > 1) { - for (InterpreterSetting.InterpreterInfo info : intInfo){ - String name = intp.getGroup() + "." + info.getName(); + for (InterpreterInfo info : intInfo){ + String name = intp.getName() + "." + info.getName(); completion.add(new InterpreterCompletion(name, name)); } } else { - completion.add(new InterpreterCompletion(intp.getGroup(), intp.getGroup())); + completion.add(new InterpreterCompletion(intp.getName(), intp.getName())); } } return completion;
