This is an automated email from the ASF dual-hosted git repository. zjffdu pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new e4e7caf [ZEPPELIN-5363] Delete useless variables. e4e7caf is described below commit e4e7caf4545ddd67a66b1c584729e93dca6cceb1 Author: YiningGong <nicolasgon...@gmail.com> AuthorDate: Thu May 6 16:00:19 2021 +0800 [ZEPPELIN-5363] Delete useless variables. ### What is this PR for? “REPL_PATTREN” the variable is private and not used. ### What type of PR is it? [Improvement] ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-5363 Author: YiningGong <nicolasgon...@gmail.com> Closes #4112 from NicolasGong/gong-0.1 and squashes the following commits: ce5b8964ac [YiningGong] This variable has not been used. Should be deleted. --- .../src/main/java/org/apache/zeppelin/notebook/Paragraph.java | 2 -- 1 file changed, 2 deletions(-) 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 e3ed7ae..9135802 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 @@ -72,8 +72,6 @@ public class Paragraph extends JobWithProgressPoller<InterpreterResult> implemen JsonSerializable { private static final Logger LOGGER = LoggerFactory.getLogger(Paragraph.class); - private static final Pattern REPL_PATTERN = - Pattern.compile("(\\s*)%([\\w\\.]+)(\\(.*?\\))?.*", Pattern.DOTALL); private String title; // text is composed of intpText and scriptText.