lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christine Poerschke (JIRA)" <>
Subject [jira] [Commented] (LUCENE-7586) fail precommit on varargsArgumentNeedCast
Date Fri, 09 Dec 2016 11:57:58 GMT


Christine Poerschke commented on LUCENE-7586:

bq. I don't fully understand the issue description. ... - so how does that relate to each

Apologies, I was trying to provide context for this small patch and caused confusion. The
logical sequence of things was that I
* saw the Java Warnings (listing and trend chart) on
* made [1 line change|;a=commit;h=cacabc9a]
to fix one really easy (varargsArgumentNeedCast) warning listed
* was curious about other varargsArgumentNeedCast warnings in the codebase (Jenkins hadn't
listed any but I didn't know if all the codebase was covered)
* made change to and tested ecj.javadocs.prefs + org.eclipse.jdt.core.prefs (no further varargsArgumentNeedCast
warnings found in the codebase)
* created this ticket with attached patch (and wished to mention that Jenkins' listing had
led to this)

Yes, the extra check is only for Eclipse compiler and setup but still worth having?

On a related but separate note an IntelliJ equivalent for Eclipse's [org.eclipse.jdt.core.compiler.problem.???=error|]
might be a nice-to-have.

> fail precommit on varargsArgumentNeedCast
> -----------------------------------------
>                 Key: LUCENE-7586
>                 URL:
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Christine Poerschke
>            Assignee: Christine Poerschke
>            Priority: Minor
>         Attachments: LUCENE-7586.patch
> Why this, why now?
> I had noticed the Java Warnings (listing and trend chart) on [~thetaphi]'s
and after fixing one really easy warning got curious about others of the same category. There
aren't any and so it would seem obvious to update the precommit checks (and Eclipse settings)
to prevent future introductions.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message