You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Andy Pook (JIRA)" <ji...@apache.org> on 2010/03/10 10:43:27 UTC

[jira] Created: (LUCENENET-348) Avoidable compiler warning

Avoidable compiler warning
--------------------------

                 Key: LUCENENET-348
                 URL: https://issues.apache.org/jira/browse/LUCENENET-348
             Project: Lucene.Net
          Issue Type: Bug
            Reporter: Andy Pook


Compiler warning that can be easier avoided...

 Search\Function\CustomScoreQuery.cs(207,25): warning CS0108: 'Lucene.Net.Sear
ch.Function.CustomScoreQuery.AnonymousCustomScoreProvider.reader' hides inherit
ed member 'Lucene.Net.Search.Function.CustomScoreProvider.reader'. Use the new
keyword if hiding was intended.

Hopefully the patch makes the problem obvious.
In this particular case it doesn't cause a real problem, but I think
it's worth clearing up before you tag for 2.9.2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (LUCENENET-348) Avoidable compiler warning

Posted by "Andy Pook (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Pook updated LUCENENET-348:
--------------------------------

    Attachment: CustomScoreQuery.patch

remove reader member. So use inherited member from ancestor

> Avoidable compiler warning
> --------------------------
>
>                 Key: LUCENENET-348
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-348
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Andy Pook
>         Attachments: CustomScoreQuery.patch
>
>
> Compiler warning that can be easier avoided...
>  Search\Function\CustomScoreQuery.cs(207,25): warning CS0108: 'Lucene.Net.Sear
> ch.Function.CustomScoreQuery.AnonymousCustomScoreProvider.reader' hides inherit
> ed member 'Lucene.Net.Search.Function.CustomScoreProvider.reader'. Use the new
> keyword if hiding was intended.
> Hopefully the patch makes the problem obvious.
> In this particular case it doesn't cause a real problem, but I think
> it's worth clearing up before you tag for 2.9.2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (LUCENENET-348) Avoidable compiler warning

Posted by "Digy (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENENET-348?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Digy resolved LUCENENET-348.
----------------------------

    Resolution: Fixed

Thank Andy. I committed the patch.

DIGY

> Avoidable compiler warning
> --------------------------
>
>                 Key: LUCENENET-348
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-348
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Andy Pook
>         Attachments: CustomScoreQuery.patch
>
>
> Compiler warning that can be easier avoided...
>  Search\Function\CustomScoreQuery.cs(207,25): warning CS0108: 'Lucene.Net.Sear
> ch.Function.CustomScoreQuery.AnonymousCustomScoreProvider.reader' hides inherit
> ed member 'Lucene.Net.Search.Function.CustomScoreProvider.reader'. Use the new
> keyword if hiding was intended.
> Hopefully the patch makes the problem obvious.
> In this particular case it doesn't cause a real problem, but I think
> it's worth clearing up before you tag for 2.9.2.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.