You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "gongyining (Jira)" <ji...@apache.org> on 2023/03/31 09:51:00 UTC

[jira] [Created] (ZEPPELIN-5891) Method contains useless variables

gongyining created ZEPPELIN-5891:
------------------------------------

             Summary: Method contains useless variables
                 Key: ZEPPELIN-5891
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-5891
             Project: Zeppelin
          Issue Type: Improvement
          Components: zeppelin-zengine
    Affects Versions: 0.10.1, 0.10.0, 0.9.0
            Reporter: gongyining
            Assignee: gongyining
             Fix For: 0.10.2


Method contains useless variables. The sourceNoteId is useless.
{code:java}
//AuthorizationService.java
public void cloneNoteMeta(String noteId, String sourceNoteId, AuthenticationInfo subject) {    NoteAuth noteAuth = new NoteAuth(noteId, subject, conf);    this.notesAuth.put(noteId, noteAuth);  }{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)