Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 22 20:18

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 18:22

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 16:47

    pbludov on issue-8018-operator-wrap

    Issue #8873: RequireThis: Incor… Issue #7609: Update doc for Fin… Issue #6915: InnerAssignment: f… and 2 more (compare)

  • Nov 22 15:00

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 14:59

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 14:59

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 13:05

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 12:56

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 12:22

    pbludov on issue-6722-missing-asterisk

    Issue #6722: new check MissingL… (compare)

  • Nov 22 12:19

    pbludov on issue-6722-missing-asterisk

    Issue #6722: new check MissingL… (compare)

  • Nov 22 12:07

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 11:49

    pbludov on issue-8018-operator-wrap

    Issue #8018: AST based operator… (compare)

  • Nov 22 07:27

    pbludov on issue-6722-missing-asterisk

    Issue #8537: update metadata fi… Issue #5148: Add MissingJavadoc… Issue #6722: new check MissingL… (compare)

  • Nov 21 12:03

    pbludov on issue-6722-missing-asterisk

    config: codeql-analysis.yml is … Issue #8951: Remove Buddy CI co… minor: fix check name in javadoc and 28 more (compare)

  • Nov 02 16:39

    pbludov on infra-semaphore

    (compare)

  • Nov 02 08:09

    pbludov on infra-semaphore

    config: make semaphore ci comma… (compare)

  • Nov 01 20:29

    pbludov on infra-semaphore

    config: make semaphore ci comma… (compare)

  • Nov 01 19:24

    pbludov on infra-semaphore

    config: codeql-analysis.yml is … Issue #8951: Remove Buddy CI co… config: make semaphore ci comma… (compare)

  • Nov 01 15:46

    pbludov on infra-semaphore

    config: make semaphore ci comma… (compare)

  • Nov 01 15:29

    pbludov on infra-semaphore

    config: make semaphore ci comma… (compare)

Mincong Huang
@mincong-h
Thank you @romani :raised_hands:
Mincong Huang
@mincong-h

Hi everyone, I would like to know if there is a check in Checkstyle which verifies the correctness of placeholders in String.formator any similar formatting method?

Here are 3 examples:

jshell> String.format("Hello, %s", "Checkstyle");
$1 ==> "Hello, Checkstyle"

jshell> String.format("Hello, %s", "check", "style");
$1 ==> "Hello, check"

jshell> String.format("Hello, %s");
|  Exception java.util.MissingFormatArgumentException: Format specifier 'Exception in thread "main" java.util.MissingFormatArgumentException: Format specifier '%s'
    at java.base/java.util.Formatter.format(Formatter.java:2672)
    at java.base/java.io.PrintStream.format(PrintStream.java:1053)
    at java.base/java.io.PrintStream.printf(PrintStream.java:949)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.error(JShellTool.java:728)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.errormsg(JShellTool.java:867)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.displayEvalException(JShellTool.java:3451)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.displayException(JShellTool.java:3425)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.displayException(JShellTool.java:3418)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.handleEvent(JShellTool.java:3582)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.processSource(JShellTool.java:3550)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.processSourceCatchingReset(JShellTool.java:1301)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.processInput(JShellTool.java:1203)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.run(JShellTool.java:1176)
    at jdk.jshell/jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:975)
    at jdk.jshell/jdk.internal.jshell.tool.JShellToolBuilder.start(JShellToolBuilder.java:254)
    at jdk.jshell/jdk.internal.jshell.tool.JShellToolProvider.main(JShellToolProvider.java:120)
Roman Ivanov
@romani
there is no such Check
Mincong Huang
@mincong-h
Thank you, Roman.
sreejith-sjrs
@sreejith-sjrs
Hello All,
Newbie here, so please go easy on me. I have some binary source files which I do not want to fingerprint. Obviously UTF-8 encoding is not correct. I was wondering if there was a way to avoid such error messages.
[CheckStyle] [-ERROR-] Can't create fingerprints for some files:
[CheckStyle] [-ERROR-] - 'C:/Jenkins/workspace/example_master/Add.vi', provided encoding 'UTF-8' seems to be wrong
My analysis step in my pipeline looks like this:
recordIssues(
enabledForFailure: true, forensicsDisabled: true, unstableTotalAll: 1, healthy: 1, unhealthy: 10,
tools: [checkStyle(pattern: 'build_temp\VIA_results.xml', reportEncoding: 'UTF-8')]
Please help.
Thanks in advance.
rnveach
@rnveach
Unfortunately that error is not coming from main Checkstyle jar, so I don't know how to help you. You would have to look more into jenkins
sreejith-sjrs
@sreejith-sjrs
OK. Thanks very much for getting back to me. I will try to reach out Jenkins folks
Roman Ivanov
@romani
Roman Ivanov
@romani
code freeze till release 8.26 completed
Roman Ivanov
@romani
https://checkstyle.org/releasenotes.html#Release_8.26 - done, thanks a lot to all contributors
Chethan Prakash
@chethan
Hi, Is there any easy way to add custom checkstyle rules, to fail build for using specific classes
Roman Ivanov
@romani
While checkstyle/checkstyle#6481 is not done, no very easy way, but you are welcome to contribute such implementation
Pavel Bludov
@pbludov
Pitest is broken because I messed up the System.err and System.out when migrating to Junit5. Soon there will be a PR with a fix.
rnveach
@rnveach
happy holidays
Roman Ivanov
@romani
Merry Christmas !
Suchet-Agg
@Suchet-Agg
Hi, I am Suchet Aggarwal and am new to this organization and would like to contribute to this organization, can someone help me get started...
rnveach
@rnveach
@Suchet-Agg Read over https://checkstyle.org/beginning_development.html . You can pick any issue from our repository of things needing fixing. If you want us to assign you an issue we think will be good for beginners, let us know. You just need to say "I am on it" in the issue you are working on to let others know.
Praveen Kumar
@pkpale
Hi, I am Praveen Kumar I am new to the Github and want to contribute to this organization, can anyone suggest me something
rnveach
@rnveach
@pkpale Please look over https://checkstyle.org/beginning_development.html to see how to setup your environment for checkstyle. You are free to work on any approved issues, just say you are working on it so someone else doesn't take it from you.
Roman Ivanov
@romani
Please read https://checkstyle.org/beginning_development.html, try to follow such instructions , ones you succeed to compile and debug any UT, please let us know and we can offer you very easy issues to resolve
Ashish Papanai
@ashishpapanai
Hello @romani sir, I would like to know if you have any core java issues or issues that require basic to intermediate level of coding skills.
amritk07
@amritk07
Hello, @romani sir, I would like to participate in GSoc 2020. I am looking foreword to contribute in checkstyle/checkstyle#6689 project. I have gone through https://checkstyle.sourceforge.io/beginning_development.html. And currently i am working on it. So please guide me how to proceed. Thanks
rnveach
@rnveach
@amritk07 and to any GSOC students. Please read over https://github.com/checkstyle/checkstyle/wiki/To-student-of-GSoC-2020 . As we were just accepted yesterday, we are working to identify issues to help get your "feet wet" when being introduced to the Checkstyle project. If you need an admin to assign you an issue, please each out to me or @romani . Questions or help on a specific issue should be asked inside the issue or PR.
HAIDER
@haider_aabbas_twitter
Hi! My name is Haider. I would like to contribute to checkstyle and become part of this awesome open source community.
@rnveach Please guide me through and assign an issue. I would love to work.
Ashish Papanai
@ashishpapanai
@rnveach @romani Sir, Please assign me an issue to work on.
Roman Ivanov
@romani
@ashishpapanai , please try checkstyle/checkstyle#5982 , if you agree please do comment " I am on it" to let others know that you are working on it
Haider , please share with us your GitHub account
HAIDER
@haider_aabbas_twitter
@romani That's my account https://github.com/haideratGitHub
amritk07
@amritk07
@romani @rnveach sir, i have gone through the https://checkstyle.sourceforge.io/beginning_development.html . Please assign me an issue. This is my GitHub Profile https://github.com/amritk07
Harshit Khetan
@promehul
Hello Everyone.
This is Harshit Khetan from IIT Roorkee. I am really proficient in Git version Control and have many full-scale projects running on the production level. I have gone through https://checkstyle.sourceforge.io/beginning_development.html. Really looking forward to contributing in checkstyle.
Rohan Saxena
@RhnSaxena
Hello Everyone.
I would like to participate in GSOC and want to contribute. Please guide me through and assign any of the existing issues @romani @rnveach .
amritk07
@amritk07
@romani @rnveach sir, i have successfully completed https://checkstyle.sourceforge.io/beginning_development.html. task . i have created my own development branch . This is the link of my branch https://github.com/amritk07/checkstyle/tree/my-new-check . Now, i am ready for handling issues. Please assign me an issues
Praveen Kumar
@pkpale
@rnveach @romani hello sir, I have done with https://checkstyle.sourceforge.io/beginning_development.html please guide me how to procees further.
Roman Ivanov
@romani
@haider_aabbas_twitter - checkstyle/checkstyle#7561
Roman Ivanov
@romani
For All, Please reply to github issue with comment "I am on it" to confirm assignment
Roman Ivanov
@romani
Whoever join this chat room and passed https://checkstyle.sourceforge.io/beginning_development.html , please choose issue from https://github.com/checkstyle/checkstyle/labels/gsoc%20first%20issue that is not pre-assigned yet
amritk07
@amritk07
Please review this checkstyle/checkstyle#7562

Please review this checkstyle/checkstyle#7562

@romani

Tushar Rohilla
@CapTen101
Hello everyone, myself Tushar Rohilla from Indian Institute of Technology Roorkee from India. I am an avid android developer and hence I'm quite well versed with java and I'm looking forward to contributing in CheckStyle! I have gone through https://checkstyle.sourceforge.io/beginning_development.html