You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@asterixdb.apache.org by "KuiLIU (JIRA)" <ji...@apache.org> on 2018/04/22 09:53:00 UTC
[jira] [Created] (ASTERIXDB-2370) Inconsistent method name
KuiLIU created ASTERIXDB-2370:
---------------------------------
Summary: Inconsistent method name
Key: ASTERIXDB-2370
URL: https://issues.apache.org/jira/browse/ASTERIXDB-2370
Project: Apache AsterixDB
Issue Type: Improvement
Reporter: KuiLIU
The following method is named as "isFull".
However, the method does set the boolean-variable full.
Thus, rename the method as "setFull" should be more intuitive than "isFull" since "isFull" is a query asking whether the object is full or not.
{code:java}
public synchronized void isFull(boolean full) {
this.full.set(full);
this.notify();
}
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)