You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2022/01/22 07:44:00 UTC

[jira] [Created] (RATIS-1500) Fix LogAppender NN_NAKED_NOTIFY

Tsz-wo Sze created RATIS-1500:
---------------------------------

             Summary: Fix LogAppender NN_NAKED_NOTIFY
                 Key: RATIS-1500
                 URL: https://issues.apache.org/jira/browse/RATIS-1500
             Project: Ratis
          Issue Type: Improvement
          Components: server
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


In LogAppender, we have suppressed the NN_NAKED_NOTIFY findbugs warning.
{code}
  @SuppressFBWarnings("NN_NAKED_NOTIFY")
  default void notifyLogAppender() {
    synchronized (this) {
      notify();
    }
  }
{code}
See http://findbugs.sourceforge.net/bugDescriptions.html#NN_NAKED_NOTIFY




--
This message was sent by Atlassian Jira
(v8.20.1#820001)