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 2019/11/24 13:55:29 UTC

[zeppelin] branch master updated: [ZEPPELIN-4448] delete unused variable in ZeppelinServer.java

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 9bdcae2  [ZEPPELIN-4448] delete unused variable in ZeppelinServer.java
9bdcae2 is described below

commit 9bdcae2697dc3dd2f0a33eebdc86d2d22c79696a
Author: iamabug <xi...@gmail.com>
AuthorDate: Fri Nov 15 08:50:58 2019 +0800

    [ZEPPELIN-4448] delete unused variable in ZeppelinServer.java
    
    ### What is this PR for?
    delete an unused variable in ZeppelinServer.java
    
    ### What type of PR is it?
    Improvement
    
    ### Todos
    
    ### What is the Jira issue?
    [ZEPPELIN-4448] https://issues.apache.org/jira/browse/ZEPPELIN-4448
    
    ### How should this be tested?
    Travis CI
    
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Does the licenses files need update?
    no
    * Is there breaking changes for older versions?
    no
    * Does this needs documentation?
    no
    
    Author: iamabug <xi...@gmail.com>
    
    Closes #3522 from iamabug/JIRA-4448 and squashes the following commits:
    
    88aa6892e [iamabug] delete unused variable in ZeppelinServer.java
---
 .../src/main/java/org/apache/zeppelin/server/ZeppelinServer.java        | 2 --
 1 file changed, 2 deletions(-)

diff --git a/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java b/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java
index 1a2a040..ed3048f 100644
--- a/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java
+++ b/zeppelin-server/src/main/java/org/apache/zeppelin/server/ZeppelinServer.java
@@ -361,8 +361,6 @@ public class ZeppelinServer extends ResourceConfig {
         new ServletHolder(serviceLocator.getService(NotebookServer.class));
     servletHolder.setInitParameter("maxTextMessageSize", maxTextMessageSize);
 
-    final ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
-
     webapp.addServlet(servletHolder, "/ws/*");
   }