-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Spotless] Applying Google Code Format for common #7 #326
[Spotless] Applying Google Code Format for common #7 #326
Conversation
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
"%\\{" | ||
+ "(?<name>" | ||
+ "(?<pattern>[A-z0-9]+)" | ||
+ "(?::(?<subname>[A-z0-9_:;,\\-\\/\\s\\.']+))?" | ||
+ ")" | ||
+ "(?:=(?<definition>" | ||
+ "(?:" | ||
+ "(?:[^{}]+|\\.+)+" | ||
+ ")+" | ||
+ ")" | ||
+ ")?" | ||
+ "\\}"); |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: There appears to be no changes to the regular expression, so likely this warning existed when the regular expression was pushed. If it needs to be fixed, should be fixed in separate PR.
"%\\{" | ||
+ "(?<name>" | ||
+ "(?<pattern>[A-z0-9]+)" | ||
+ "(?::(?<subname>[A-z0-9_:;,\\-\\/\\s\\.']+))?" | ||
+ ")" | ||
+ "(?:=(?<definition>" | ||
+ "(?:" | ||
+ "(?:[^{}]+|\\.+)+" | ||
+ ")+" | ||
+ ")" | ||
+ ")?" | ||
+ "\\}"); |
Check failure
Code scanning / CodeQL
Inefficient regular expression High
"%\\{" | ||
+ "(?<name>" | ||
+ "(?<pattern>[A-z0-9]+)" | ||
+ "(?::(?<subname>[A-z0-9_:;,\\-\\/\\s\\.']+))?" | ||
+ ")" | ||
+ "(?:=(?<definition>" | ||
+ "(?:" | ||
+ "(?:[^{}]+|\\.+)+" | ||
+ ")+" | ||
+ ")" | ||
+ ")?" | ||
+ "\\}"); |
Check warning
Code scanning / CodeQL
Overly permissive regular expression range Medium
"%\\{" | ||
+ "(?<name>" | ||
+ "(?<pattern>[A-z0-9]+)" | ||
+ "(?::(?<subname>[A-z0-9_:;,\\-\\/\\s\\.']+))?" | ||
+ ")" | ||
+ "(?:=(?<definition>" | ||
+ "(?:" | ||
+ "(?:[^{}]+|\\.+)+" | ||
+ ")+" | ||
+ ")" | ||
+ ")?" | ||
+ "\\}"); |
Check warning
Code scanning / CodeQL
Overly permissive regular expression range Medium
Codecov Report
@@ Coverage Diff @@
## integ/sl_GoogleJavaFormat7 #326 +/- ##
=============================================================
Coverage 97.42% 97.42%
Complexity 4647 4647
=============================================================
Files 408 408
Lines 11526 11526
Branches 839 839
=============================================================
Hits 11229 11229
Misses 290 290
Partials 7 7
Flags with carried forward coverage won't be shown. Click here to find out more. 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
875c3eb
into
integ/sl_GoogleJavaFormat7
Description
Applies spotless for Google Java Code Format for the common directory.
Issues Resolved
opensearch-project#1101
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.