Mohit-Attry

Results 28 issues of Mohit-Attry

Part of #14814 : ```findMatch``` method in RegexpCheck.java

#17162 Update the content of existing [javaguide.html](https://github.com/checkstyle/checkstyle/blob/master/src/site/resources/styleguides/google-java-style-20220203/javaguide.html) to latest content. The latest content is taken from: https://github.com/google/styleguide/blob/gh-pages/javaguide.html example of diff in 2024 year: https://github.com/checkstyle/checkstyle/pull/14901

From: https://google.github.io/styleguide/javaguide.html#s4.6.2-horizontal-whitespace >the arrow in a lambda expression: (String str) -> str.length() or switch rule: case "FOO" -> bar();

fixes #8965 Diff Regression config: https://gist.githubusercontent.com/mohitsatr/60d8725143067033c0ee8c8b8c6902c0/raw/e585f76bf1fe45a3eab04329b4f3ae01766aa394/google_checks_codeblock.xml Diff Regression projects: https://gist.githubusercontent.com/mohitsatr/68b0817ac52ff7773d35585ee12fc1cc/raw/f9c7774ca78df1f48f34bf30799bd3952abd9e2a/list-of-projects.properties

fixes #17193 Diff Regression config: https://gist.githubusercontent.com/mohitsatr/60d8725143067033c0ee8c8b8c6902c0/raw/5602ddde688ca91a52de786a01aca70d74f912dd/google_checks_codeblock.xml Diff Regression patch config: https://gist.githubusercontent.com/mohitsatr/95cef1a3c86402e641628e7b31984a46/raw/4d9ef3dc3298059f26599742a8dec6ccf549eb30/whitespaceafterdoubleslashs.xml Diff Regression projects: https://raw.githubusercontent.com/checkstyle/test-configs/refs/heads/main/JavadocTagContinuationIndentation/all-examples-in-one/list-of-projects.properties

#17122 Diff Regression config: https://gist.githubusercontent.com/mohitsatr/d55485b980e5c7ae9c883ba8f79dcbd6/raw/fff88288dced4eb5d4e9cbe021576fd92d62678d/master_google_style.xml Diff Regression projects: https://gist.githubusercontent.com/mohitsatr/68b0817ac52ff7773d35585ee12fc1cc/raw/f9c7774ca78df1f48f34bf30799bd3952abd9e2a/list-of-projects.properties

from #17122 The following code is not compliant with google-syle: ``` package com.google.checkstyle.test.chapter4formatting.rule4841indentation; /** some annotation. */ @InputAnnotationArrayInitMultiline.AnnotList({ @InputAnnotationArrayInitMultiline.Annot( "hello-Goodbye world in one very long and lengthy string in annoation...

From: https://google.github.io/styleguide/javaguide.html#s4.5.1-line-wrapping-where-to-break > A method, constructor, or record-class name stays attached to the open parenthesis (() that follows it. record-class name is newly added to this section. ``` $ cat...

From #17159 `TextBlockFormattingCheck` should validate if the Opening and closing quotes of java text-blocks are on new lines. Google-style demands opening and closing (""") should always be on new lines....