You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/14 09:58:00 UTC
[jira] [Commented] (IGNITE-9597) 'size() == 0' replaceable with
'isEmpty()' according inspections profile
[ https://issues.apache.org/jira/browse/IGNITE-9597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614611#comment-16614611 ]
ASF GitHub Bot commented on IGNITE-9597:
----------------------------------------
GitHub user Mmuzaf opened a pull request:
https://github.com/apache/ignite/pull/4758
IGNITE-9597: replace with isEmpty
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Mmuzaf/ignite ignite-9597
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4758.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4758
----
commit a180e18e0f2a898afeb076d771c9a642b2c6b2bd
Author: Maxim Muzafarov <ma...@...>
Date: 2018-09-14T09:56:47Z
IGNITE-9597: replace with isEmpty
----
> 'size() == 0' replaceable with 'isEmpty()' according inspections profile
> ------------------------------------------------------------------------
>
> Key: IGNITE-9597
> URL: https://issues.apache.org/jira/browse/IGNITE-9597
> Project: Ignite
> Issue Type: Bug
> Reporter: Maxim Muzafarov
> Assignee: Maxim Muzafarov
> Priority: Minor
> Labels: inspections
>
> New `Code Inspections` profile can be foundĀ {{<Project>\idea\ignite_inspections.xml}}.
> We need to fix rule `size() == 0' replaceable with 'isEmpty()` in {{ignite-core}} module.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)