[jira] [Resolved] (KAFKA-17416) Add a checkstyle rule to suppress all generated code

2024-08-26 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-17416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai resolved KAFKA-17416. Fix Version/s: 4.0.0 Resolution: Fixed > Add a checkstyle rule to suppress

[jira] [Created] (KAFKA-17416) Add a checkstyle rule to suppress all generated code

2024-08-24 Thread Chia-Ping Tsai (Jira)
Chia-Ping Tsai created KAFKA-17416: -- Summary: Add a checkstyle rule to suppress all generated code Key: KAFKA-17416 URL: https://issues.apache.org/jira/browse/KAFKA-17416 Project: Kafka

[jira] [Created] (KAFKA-17381) Reduce log output from checkstyle task

2024-08-20 Thread David Arthur (Jira)
David Arthur created KAFKA-17381: Summary: Reduce log output from checkstyle task Key: KAFKA-17381 URL: https://issues.apache.org/jira/browse/KAFKA-17381 Project: Kafka Issue Type: Task

[jira] [Resolved] (KAFKA-16643) Add ModifierOrder checkstyle rule

2024-06-13 Thread Chia-Ping Tsai (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-16643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chia-Ping Tsai resolved KAFKA-16643. Fix Version/s: 3.9.0 Resolution: Fixed > Add ModifierOrder checkstyle r

[jira] [Resolved] (KAFKA-12572) Add import ordering checkstyle rule and configure an automatic formatter

2024-06-02 Thread Chia-Ping Tsai (Jira)
/commit/342e69192f62b89b7d1ea824aeecc09c38899d72 > Add import ordering checkstyle rule and configure an automatic formatter > > > Key: KAFKA-12572 > URL: https://issues.apache.

[jira] [Created] (KAFKA-16643) Add ModifierOrder checkstyle rule

2024-04-29 Thread Greg Harris (Jira)
Greg Harris created KAFKA-16643: --- Summary: Add ModifierOrder checkstyle rule Key: KAFKA-16643 URL: https://issues.apache.org/jira/browse/KAFKA-16643 Project: Kafka Issue Type: Task

[jira] [Resolved] (KAFKA-15476) Improve checkstyle performance

2023-09-19 Thread Divij Vaidya (Jira)
[ https://issues.apache.org/jira/browse/KAFKA-15476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Divij Vaidya resolved KAFKA-15476. -- Resolution: Fixed > Improve checkstyle performa

[jira] [Created] (KAFKA-15476) Improve checkstyle performance

2023-09-19 Thread Divij Vaidya (Jira)
Divij Vaidya created KAFKA-15476: Summary: Improve checkstyle performance Key: KAFKA-15476 URL: https://issues.apache.org/jira/browse/KAFKA-15476 Project: Kafka Issue Type: Improvement

[jira] [Created] (KAFKA-14332) Split out checkstyle configs between test and main

2022-10-24 Thread Matthew de Detrich (Jira)
Matthew de Detrich created KAFKA-14332: -- Summary: Split out checkstyle configs between test and main Key: KAFKA-14332 URL: https://issues.apache.org/jira/browse/KAFKA-14332 Project: Kafka

[jira] [Created] (KAFKA-12771) CheckStyle attempted upgrade (8.36.2 -->> 8.41.1) summons a pack of 'Indentation' errors

2021-05-10 Thread Jira
Dejan Stojadinović created KAFKA-12771: -- Summary: CheckStyle attempted upgrade (8.36.2 -->> 8.41.1) summons a pack of 'Indentation' errors Key: KAFKA-12771 URL: https://issues.apache.org/j

[jira] [Created] (KAFKA-12770) Jenkins build: allow the CheckStyle version to be specified via parameter

2021-05-10 Thread Jira
Dejan Stojadinović created KAFKA-12770: -- Summary: Jenkins build: allow the CheckStyle version to be specified via parameter Key: KAFKA-12770 URL: https://issues.apache.org/jira/browse/KAFKA-12770

[jira] [Created] (KAFKA-12572) Add import ordering checkstyle rule and configure an automatic formatter

2021-03-29 Thread Dongjin Lee (Jira)
Dongjin Lee created KAFKA-12572: --- Summary: Add import ordering checkstyle rule and configure an automatic formatter Key: KAFKA-12572 URL: https://issues.apache.org/jira/browse/KAFKA-12572 Project

Re: [DISCUSS] Checkstyle Import Order

2020-10-25 Thread Dongjin Lee
le will raise an error if the import-order violating source file exists. If you have any proposals or ideas, don't hesitate to give me a reply. I will create a regular issue of it and update the PR. Regards, Dongjin [^1]: In my case, I am using CheckStyle-IDEA: https://plugins.jetbrains.com/p

Re: [DISCUSS] Checkstyle Import Order

2020-10-24 Thread Matthias J. Sax
y of them. >> >> I'm pretty sure I'm personally responsible for some of the wacky import >> ordering way back when, before I set my IDE configuration straight. It took >> me a while to notice because we never had a checkstyle rule for import >> order. >&g

Re: [DISCUSS] Checkstyle Import Order

2020-10-23 Thread John Roesler
ike :) > > I generally prefer option 2, but would definitely be happy with any of them. > > I'm pretty sure I'm personally responsible for some of the wacky import > ordering way back when, before I set my IDE configuration straight. It took > me a while to notice because

Re: [DISCUSS] Checkstyle Import Order

2020-10-23 Thread Sophie Blee-Goldman
ever had a checkstyle rule for import order. So thank you for proposing this. Sophie On Thu, Oct 22, 2020 at 11:17 PM Bruno Cadonna wrote: > Hi Dongjin, > > Thank you that you put me into the committer section, but I am actually > not a committer. > > Best, > Bruno >

Re: [DISCUSS] Checkstyle Import Order

2020-10-22 Thread Bruno Cadonna
Hi Dongjin, Thank you that you put me into the committer section, but I am actually not a committer. Best, Bruno On 23.10.20 07:46, Dongjin Lee wrote: As of Present: Committers: - Bruno: 2 and 3. - Gwen: (No Specific Preference) Non-Committers: - Brandon: 2. - Dongjin: 2 and 3. Let's h

Re: [DISCUSS] Checkstyle Import Order

2020-10-22 Thread Dongjin Lee
As of Present: Committers: - Bruno: 2 and 3. - Gwen: (No Specific Preference) Non-Committers: - Brandon: 2. - Dongjin: 2 and 3. Let's hold on for 2 or 3 committers. Best, Dongjin On Fri, Oct 23, 2020 at 10:09 AM Gwen Shapira wrote: > I don't have any specific preference on the style. But I

Re: [DISCUSS] Checkstyle Import Order

2020-10-22 Thread Gwen Shapira
I don't have any specific preference on the style. But I am glad you are bringing it up. Every other project I worked on had a specific import style, and the random import changes in PRs are pretty annoying. On Wed, Oct 14, 2020 at 10:36 PM Dongjin Lee wrote: > > Hello. I hope to open a discussio

Re: [DISCUSS] Checkstyle Import Order

2020-10-22 Thread Brandon Brown
I like option 2. Brandon Brown > On Oct 15, 2020, at 1:36 AM, Dongjin Lee wrote: > > Hello. I hope to open a discussion about the import order in Java code. > > As Nikolay stated recently[^1], Kafka uses a relatively strict code style > for Java code. However, it misses any rule on import or

Re: [DISCUSS] Checkstyle Import Order

2020-10-22 Thread Bruno Cadonna
Hi Dongjin, Thank you for bringing this up. I like options 2 and 3. Best, Bruno On 15.10.20 07:36, Dongjin Lee wrote: Hello. I hope to open a discussion about the import order in Java code. As Nikolay stated recently[^1], Kafka uses a relatively strict code style for Java code. However, it m

[DISCUSS] Checkstyle Import Order

2020-10-14 Thread Dongjin Lee
Hello. I hope to open a discussion about the import order in Java code. As Nikolay stated recently[^1], Kafka uses a relatively strict code style for Java code. However, it misses any rule on import order. For this reason, the code formatting settings of every local dev environment are different f

[jira] [Resolved] (KAFKA-7308) Fix rat and checkstyle plugins configuration for Java 11 support

2018-08-18 Thread Ismael Juma (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-7308?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ismael Juma resolved KAFKA-7308. Resolution: Fixed Fix Version/s: 2.1.0 > Fix rat and checkstyle plugins configuration

[jira] [Created] (KAFKA-7308) Fix rat and checkstyle plugins configuration for Java 11 support

2018-08-17 Thread Ismael Juma (JIRA)
Ismael Juma created KAFKA-7308: -- Summary: Fix rat and checkstyle plugins configuration for Java 11 support Key: KAFKA-7308 URL: https://issues.apache.org/jira/browse/KAFKA-7308 Project: Kafka

[jira] [Created] (KAFKA-6735) Document how to skip findbugs / checkstyle when running unit test

2018-04-01 Thread Ted Yu (JIRA)
Ted Yu created KAFKA-6735: - Summary: Document how to skip findbugs / checkstyle when running unit test Key: KAFKA-6735 URL: https://issues.apache.org/jira/browse/KAFKA-6735 Project: Kafka Issue

[GitHub] kafka-site pull request #106: MINOR: Fix typo in checkstyle command

2017-10-31 Thread makearl
GitHub user makearl opened a pull request: https://github.com/apache/kafka-site/pull/106 MINOR: Fix typo in checkstyle command Fix a typo in the [Coding Guidelines](http://kafka.apache.org/coding-guide.html) for Kafka Streams checkstyle commands You can merge this pull request

[GitHub] kafka pull request #3431: MINOR: Adjust checkstyle suppression paths to work...

2017-06-27 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/3431 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] kafka pull request #3431: MINOR: Adjust checkstyle suppression paths to work...

2017-06-26 Thread ijuma
GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/3431 MINOR: Adjust checkstyle suppression paths to work on Windows Use the file name whenever possible and replace / with [/\\] when it's not. Also remove unnecessary suppresions. Yo

[GitHub] kafka pull request: MINOR: Fix checkstyle failure in `StreamsConfi...

2016-05-12 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/1380 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] kafka pull request: MINOR: Fix checkstyle failure in `StreamsConfi...

2016-05-12 Thread ijuma
GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/1380 MINOR: Fix checkstyle failure in `StreamsConfigTest` I removed the hamcrest matcher to unbreak the build, but we probably want to tweak the `import-control.xml` as it currently only allows it for

[GitHub] kafka pull request: MINOR: Modify checkstyle to allow import class...

2016-05-04 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/1317 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] kafka pull request: MINOR: Modify checkstyle to allow import class...

2016-05-03 Thread guozhangwang
GitHub user guozhangwang opened a pull request: https://github.com/apache/kafka/pull/1317 MINOR: Modify checkstyle to allow import classes only used in javadoc You can merge this pull request into a Git repository by running: $ git pull https://github.com/guozhangwang/kafka

[GitHub] kafka pull request: KAFKA-3435: Follow up to fix checkstyle

2016-03-22 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/1116 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] kafka pull request: KAFKA-3435: Follow up to fix checkstyle

2016-03-22 Thread ewencp
GitHub user ewencp opened a pull request: https://github.com/apache/kafka/pull/1116 KAFKA-3435: Follow up to fix checkstyle You can merge this pull request into a Git repository by running: $ git pull https://github.com/ewencp/kafka kafka-3435-follow-up Alternatively you can

[GitHub] kafka pull request: HOTFIX: Fix checkstyle failure in KStreams by ...

2016-03-02 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/1000 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] kafka pull request: HOTFIX: Fix checkstyle failure in KStreams by ...

2016-03-02 Thread ewencp
GitHub user ewencp opened a pull request: https://github.com/apache/kafka/pull/1000 HOTFIX: Fix checkstyle failure in KStreams by providing fully qualified class names. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ewencp

[jira] [Updated] (KAFKA-3020) Ensure Checkstyle runs on all Java code

2015-12-21 Thread Ewen Cheslack-Postava (JIRA)
by pull request 703 [https://github.com/apache/kafka/pull/703] > Ensure Checkstyle runs on all Java code > --- > > Key: KAFKA-3020 > URL: https://issues.apache.org/jira/browse/KAFKA-3020 >

[jira] [Commented] (KAFKA-3020) Ensure Checkstyle runs on all Java code

2015-12-21 Thread ASF GitHub Bot (JIRA)
uest at: https://github.com/apache/kafka/pull/703 > Ensure Checkstyle runs on all Java code > --- > > Key: KAFKA-3020 > URL: https://issues.apache.org/jira/browse/KAFKA-3020 > Project: Kafka >

[GitHub] kafka pull request: KAFKA-3020: Ensure CheckStyle runs on all Java...

2015-12-21 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/703 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabl

[jira] [Commented] (KAFKA-3020) Ensure Checkstyle runs on all Java code

2015-12-21 Thread ASF GitHub Bot (JIRA)
pull request: https://github.com/apache/kafka/pull/703 KAFKA-3020: Ensure CheckStyle runs on all Java code - Adds CheckStyle to core and examples modules - Fixes any existing CheckStyle issues You can merge this pull request into a Git repository by running: $ git pull h

[jira] [Commented] (KAFKA-3020) Ensure Checkstyle runs on all Java code

2015-12-21 Thread ASF GitHub Bot (JIRA)
pull request at: https://github.com/apache/kafka/pull/703 > Ensure Checkstyle runs on all Java code > --- > > Key: KAFKA-3020 > URL: https://issues.apache.org/jira/browse/KAFKA-3020 > Project: Kafka

[GitHub] kafka pull request: KAFKA-3020: Ensure CheckStyle runs on all Java...

2015-12-21 Thread granthenke
Github user granthenke closed the pull request at: https://github.com/apache/kafka/pull/703 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is e

[GitHub] kafka pull request: KAFKA-3020: Ensure CheckStyle runs on all Java...

2015-12-21 Thread granthenke
GitHub user granthenke reopened a pull request: https://github.com/apache/kafka/pull/703 KAFKA-3020: Ensure CheckStyle runs on all Java code - Adds CheckStyle to core and examples modules - Fixes any existing CheckStyle issues You can merge this pull request into a Git

[jira] [Updated] (KAFKA-3020) Ensure Checkstyle runs on all Java code

2015-12-21 Thread Grant Henke (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Henke updated KAFKA-3020: --- Status: Patch Available (was: In Progress) > Ensure Checkstyle runs on all Java c

[jira] [Commented] (KAFKA-3020) Ensure Checkstyle runs on all Java code

2015-12-21 Thread ASF GitHub Bot (JIRA)
pull request: https://github.com/apache/kafka/pull/703 KAFKA-3020: Ensure CheckStyle runs on all Java code - Adds CheckStyle to core and examples modules - Fixes any existing CheckStyle issues You can merge this pull request into a Git repository by running: $ git pull h

[GitHub] kafka pull request: KAFKA-3020: Ensure CheckStyle runs on all Java...

2015-12-21 Thread granthenke
GitHub user granthenke opened a pull request: https://github.com/apache/kafka/pull/703 KAFKA-3020: Ensure CheckStyle runs on all Java code - Adds CheckStyle to core and examples modules - Fixes any existing CheckStyle issues You can merge this pull request into a Git repository

[jira] [Work started] (KAFKA-3020) Ensure Checkstyle runs on all Java code

2015-12-21 Thread Grant Henke (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-3020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on KAFKA-3020 started by Grant Henke. -- > Ensure Checkstyle runs on all Java c

[jira] [Created] (KAFKA-3020) Ensure Checkstyle runs on all Java code

2015-12-21 Thread Grant Henke (JIRA)
Grant Henke created KAFKA-3020: -- Summary: Ensure Checkstyle runs on all Java code Key: KAFKA-3020 URL: https://issues.apache.org/jira/browse/KAFKA-3020 Project: Kafka Issue Type: Sub-task

[GitHub] kafka pull request: MINOR: fix checkstyle failures

2015-10-21 Thread SinghAsDev
Github user SinghAsDev closed the pull request at: https://github.com/apache/kafka/pull/347 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is e

[GitHub] kafka pull request: MINOR: fix checkstyle failures

2015-10-21 Thread SinghAsDev
GitHub user SinghAsDev opened a pull request: https://github.com/apache/kafka/pull/347 MINOR: fix checkstyle failures @guozhangwang could you take a look at this. These failures are a bit annoying as it never leads to a successful build. You can merge this pull request into a Git

[GitHub] kafka pull request: HOTFIX: Checkstyle import fix

2015-09-29 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/261 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabl

[GitHub] kafka pull request: HOTFIX: Checkstyle import fix

2015-09-29 Thread ijuma
GitHub user ijuma opened a pull request: https://github.com/apache/kafka/pull/261 HOTFIX: Checkstyle import fix You can merge this pull request into a Git repository by running: $ git pull https://github.com/ijuma/kafka checkstyle-import-fix Alternatively you can review and

[jira] [Commented] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Ismael Juma (JIRA)
the original description led me to an incorrect conclusion regarding checkstyle. Thank both for the PRs. > Checkstyle reporting failure in trunk due to unused imports in Selector.java > > >

[jira] [Commented] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Jeff Holoman (JIRA)
-z'd the import deletion. Thanks for fixing. > Checkstyle reporting failure in trunk due to unused imports in Selector.java > > > Key: KAFKA-2549 > URL: https://issue

[jira] [Commented] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Ismael Juma (JIRA)
this problem was introduced is: https://github.com/apache/kafka/commit/d88b5bdfde0b6d020e687f6d59ad88d577910ae9 Not the one you mentioned. And that commit was merged today, not weeks ago. OK, I feel less bad about checkstyle and incremental builds. > Checkstyle reporting failure in trunk

[jira] [Commented] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Parth Brahmbhatt (JIRA)
ited the description. > Checkstyle reporting failure in trunk due to unused imports in Selector.java > > > Key: KAFKA-2549 > URL: https://issues.apache.org/jir

[jira] [Updated] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Parth Brahmbhatt (JIRA)
/d02ca36ca1cccdb6962191b97f54ce96b9d75abc#diff-db8f8be6ef2f1c81515d1ed83b3ab107 in which the Selector.java was modified with some unused imports so the trunk can not execute test targets as it fails in client section during checkstyle stage. (was: Again introduced in https://github.com/apache/kafka/commit

[jira] [Commented] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread ASF GitHub Bot (JIRA)
uest at: https://github.com/apache/kafka/pull/215 > Checkstyle reporting failure in trunk due to unused imports in Selector.java > > > Key: KAFKA-2549 > URL: https://iss

[jira] [Resolved] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Gwen Shapira (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-2549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gwen Shapira resolved KAFKA-2549. - Resolution: Fixed Reviewer: Gwen Shapira Thanks for the quick fix! > Checkstyle report

[GitHub] kafka pull request: KAFKA-2549: Fixing checkstyle failure resultin...

2015-09-14 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/kafka/pull/215 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabl

[jira] [Commented] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Ismael Juma (JIRA)
scription is a bit misleading because the compiler failure that you recently reported was due to a different commit. > Checkstyle reporting failure in trunk due to unused imports in Selector.java > > >

[jira] [Commented] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Ismael Juma (JIRA)
uild config or the Jenkins jobs because this was merged weeks ago and it has gone undetected since. I've been running `gradlew test` every day without errors. An easy workaround is to run clean as part of the Jenkins builds, but a better fix would be to make sure checkstyle works correctly withou

[GitHub] kafka pull request: KAFKA-2549: Fixing checkstyle failure resultin...

2015-09-14 Thread Parth-Brahmbhatt
GitHub user Parth-Brahmbhatt opened a pull request: https://github.com/apache/kafka/pull/215 KAFKA-2549: Fixing checkstyle failure resulting due to unused imports… … in Selector. You can merge this pull request into a Git repository by running: $ git pull https

[jira] [Commented] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread ASF GitHub Bot (JIRA)
pull request: https://github.com/apache/kafka/pull/215 KAFKA-2549: Fixing checkstyle failure resulting due to unused imports… … in Selector. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Parth-Brahmbhatt/kafka KAFKA-

[jira] [Created] (KAFKA-2549) Checkstyle reporting failure in trunk due to unused imports in Selector.java

2015-09-14 Thread Parth Brahmbhatt (JIRA)
Parth Brahmbhatt created KAFKA-2549: --- Summary: Checkstyle reporting failure in trunk due to unused imports in Selector.java Key: KAFKA-2549 URL: https://issues.apache.org/jira/browse/KAFKA-2549

[jira] [Commented] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-04 Thread Ismael Juma (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14731295#comment-14731295 ] Ismael Juma commented on KAFKA-2513: [~ewencp], by your argument, checks

[jira] [Resolved] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-04 Thread Ashish K Singh (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-2513?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish K Singh resolved KAFKA-2513. --- Resolution: Won't Fix > Checkstyle is not executed until gradle'

[jira] [Commented] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-04 Thread Ashish K Singh (JIRA)
have. However, if you have strong opinion against it, we can drop this. > Checkstyle is not executed until gradle's tests phase > - > > Key: KAFKA-2513 > URL: https://issues.apache.or

[jira] [Commented] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-03 Thread Ewen Cheslack-Postava (JIRA)
a space between "for" and the paranthesis 2. casts must have spaces after them as well 3. You're not allowed to put parentheses around ternary operators unless they are absolutely required. I actually think we should remove this one, it really hurts clarity in some cases.

[jira] [Commented] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-03 Thread Ashish K Singh (JIRA)
they can just choose to do {{compile}}. However, I think there is some value to have checkstyle execute as part of {{jar}}, but just my opinion. > Checkstyle is not executed until gradle's tests phase > - > >

[jira] [Commented] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-03 Thread Ismael Juma (JIRA)
that there's a separate command that depends on the compile task and people can choose what they want. Are you saying that you would not want it to run for the `jar` command either? > Checkstyle is not executed until gradle&#

[jira] [Commented] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-03 Thread Ewen Cheslack-Postava (JIRA)
delete anyway... > Checkstyle is not executed until gradle's tests phase > - > > Key: KAFKA-2513 > URL: https://issues.apache.org/jira/browse/KAFKA-2513 > Project: Kafka >

[jira] [Commented] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-03 Thread Ismael Juma (JIRA)
han tests. Depending on jar by itself is not too good though because it won't be run when one runs the tests. I'd have to look at the build to have an actual proposal though. > Checkstyle is not executed unti

[jira] [Commented] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-03 Thread Ashish K Singh (JIRA)
ghts? > Checkstyle is not executed until gradle's tests phase > - > > Key: KAFKA-2513 > URL: https://issues.apache.org/jira/browse/KAFKA-2513 > Project: Kafka > Issue Type: Bug &

[jira] [Created] (KAFKA-2513) Checkstyle is not executed until gradle's tests phase

2015-09-03 Thread Ashish K Singh (JIRA)
Ashish K Singh created KAFKA-2513: - Summary: Checkstyle is not executed until gradle's tests phase Key: KAFKA-2513 URL: https://issues.apache.org/jira/browse/KAFKA-2513 Project: Kafka

[jira] [Commented] (KAFKA-2141) Integrate checkstyle for Java code

2015-04-21 Thread Guozhang Wang (JIRA)
get messed up, closing it now. > Integrate checkstyle for Java code > -- > > Key: KAFKA-2141 > URL: https://issues.apache.org/jira/browse/KAFKA-2141 > Project: Kafka > Issue Type: Bug >

[jira] [Resolved] (KAFKA-2141) Integrate checkstyle for Java code

2015-04-21 Thread Guozhang Wang (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Guozhang Wang resolved KAFKA-2141. -- Resolution: Not A Problem > Integrate checkstyle for Java c

[jira] [Commented] (KAFKA-2141) Integrate checkstyle for Java code

2015-04-21 Thread Jay Kreps (JIRA)
sn't in the clients/ directory? I tried to set that up but somehow the mixture of scala and java caused confusion... > Integrate checkstyle for Java code > -- > > Key: KAFKA-2141 > URL: https://issues.apache.or

[jira] [Created] (KAFKA-2141) Integrate checkstyle for Java code

2015-04-21 Thread Guozhang Wang (JIRA)
Guozhang Wang created KAFKA-2141: Summary: Integrate checkstyle for Java code Key: KAFKA-2141 URL: https://issues.apache.org/jira/browse/KAFKA-2141 Project: Kafka Issue Type: Bug

[jira] [Updated] (KAFKA-1915) Integrate checkstyle for java code

2015-03-16 Thread Ewen Cheslack-Postava (JIRA)
Available) Committed in 1c6d5bbac67. > Integrate checkstyle for java code > -- > > Key: KAFKA-1915 > URL: https://issues.apache.org/jira/browse/KAFKA-1915 > Project: Kafka > Is

Re: checkstyle

2015-02-03 Thread Ashish Singh
After checkstyle is tuned, maybe we can add that as part of pre-commit testing, KAFKA-1856. On Tue, Feb 3, 2015 at 8:59 PM, Jay Kreps wrote: > I just committed the checkstyle patch (KAFKA-1915). This will do the > checkstyle evaluation when you run the unit tests and error on

checkstyle

2015-02-03 Thread Jay Kreps
I just committed the checkstyle patch (KAFKA-1915). This will do the checkstyle evaluation when you run the unit tests and error on style inconsistencies. It can be hard to say which checks are more trouble than they are worth or are two pedantic. Let's give this a try and see if it is annoyi

Re: Review Request 30547: Integrate checkstyle.

2015-02-03 Thread Joel Koshy
p.m.) > > > Review request for kafka. > > > Bugs: KAFKA-1915 > https://issues.apache.org/jira/browse/KAFKA-1915 > > > Repository: kafka > > > Description > --- > > KAFKA-1915: Add checkstyle for java code. > > > Diffs >

Re: Review Request 30547: Integrate checkstyle.

2015-02-03 Thread Joel Koshy
To reply, visit: > https://reviews.apache.org/r/30547/ > --- > > (Updated Feb. 3, 2015, 5:17 p.m.) > > > Review request for kafka. > > > Bugs: KAFKA-1915 > https://issues.apache.org/jira/browse/KAFKA-1915 > > > Repository: kafka > > > De

[jira] [Updated] (KAFKA-1915) Integrate checkstyle for java code

2015-02-03 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Kreps updated KAFKA-1915: - Attachment: KAFKA-1915_2015-02-03_09:17:34.patch > Integrate checkstyle for java c

[jira] [Commented] (KAFKA-1915) Integrate checkstyle for java code

2015-02-03 Thread Jay Kreps (JIRA)
rg/r/30547/diff/ against branch trunk > Integrate checkstyle for java code > -- > > Key: KAFKA-1915 > URL: https://issues.apache.org/jira/browse/KAFKA-1915 > Project: Kafka > Issue Type: Improvem

Re: Review Request 30547: Integrate checkstyle.

2015-02-03 Thread Jay Kreps
https://issues.apache.org/jira/browse/KAFKA-1915 Repository: kafka Description (updated) --- KAFKA-1915: Add checkstyle for java code. Diffs (updated) - README.md 9bdcf7052434d3025b816779afe1d00561969bb3 build.gradle 68443725868c438176e68b04c0642f0e9fa29e23 checkstyle

Re: Review Request 30547: Integrate checkstyle.

2015-02-03 Thread Jay Kreps
ither way is there a way to suppress it via an annotation or > > something like that? For example, in some cases "unnecessary" parantheses > > may actually make some code much easier to read. I'm guessing no, since > > checkstyle is completely outside of compilati

Re: Review Request 30547: Integrate checkstyle.

2015-02-02 Thread Guozhang Wang
; https://issues.apache.org/jira/browse/KAFKA-1915 > > > Repository: kafka > > > Description > --- > > Add checkstyle. > > > Diffs > - > > build.gradle 68443725868c438176e68b04c0642f0e9fa29e23 > checkstyle/checkstyle.xml PR

Re: Review Request 30547: Integrate checkstyle.

2015-02-02 Thread Joel Koshy
e much easier to read. I'm guessing no, since checkstyle is completely outside of compilation. checkstyle/checkstyle.xml <https://reviews.apache.org/r/30547/#comment116065> Speaking of which... we need an ASF license header on this xml file itself no? probably after th

[jira] [Updated] (KAFKA-1915) Integrate checkstyle for java code

2015-02-02 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Kreps updated KAFKA-1915: - Attachment: KAFKA-1915.patch > Integrate checkstyle for java c

[jira] [Updated] (KAFKA-1915) Integrate checkstyle for java code

2015-02-02 Thread Jay Kreps (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-1915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jay Kreps updated KAFKA-1915: - Status: Patch Available (was: Open) > Integrate checkstyle for java c

[jira] [Commented] (KAFKA-1915) Integrate checkstyle for java code

2015-02-02 Thread Jay Kreps (JIRA)
rg/r/30547/diff/ against branch trunk > Integrate checkstyle for java code > -- > > Key: KAFKA-1915 > URL: https://issues.apache.org/jira/browse/KAFKA-1915 > Project: Kafka > Issue Type: Improvem

Review Request 30547: Integrate checkstyle.

2015-02-02 Thread Jay Kreps
/browse/KAFKA-1915 Repository: kafka Description --- Add checkstyle. Diffs - build.gradle 68443725868c438176e68b04c0642f0e9fa29e23 checkstyle/checkstyle.xml PRE-CREATION checkstyle/import-control.xml PRE-CREATION clients/src/main/java/org/apache/kafka/clients

[jira] [Created] (KAFKA-1915) Integrate checkstyle for java code

2015-02-02 Thread Jay Kreps (JIRA)
Jay Kreps created KAFKA-1915: Summary: Integrate checkstyle for java code Key: KAFKA-1915 URL: https://issues.apache.org/jira/browse/KAFKA-1915 Project: Kafka Issue Type: Improvement