You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zeppelin.apache.org by zj...@apache.org on 2021/05/15 03:10:37 UTC

[zeppelin] branch branch-0.9 updated: [ZEPPELIN-5363] Delete useless variables.

This is an automated email from the ASF dual-hosted git repository.

zjffdu pushed a commit to branch branch-0.9
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/branch-0.9 by this push:
     new caa97c8  [ZEPPELIN-5363] Delete useless variables.
caa97c8 is described below

commit caa97c827296d79e34a96c7a429cd0050fde36df
Author: YiningGong <ni...@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 <ni...@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.
    
    (cherry picked from commit e4e7caf4545ddd67a66b1c584729e93dca6cceb1)
    Signed-off-by: Jeff Zhang <zj...@apache.org>
---
 .../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.