Yeikel

Results 183 issues of Yeikel

Is there any way to ignore specific recipes from a line or class? For example, when I faced https://github.com/openrewrite/rewrite/issues/1478 and https://github.com/openrewrite/rewrite/issues/1536, I had to disable the individual recipes from my...

enhancement

https://rules.sonarsource.com/java/RSPEC-2063

recipe

```java Map map = new HashMap(); map.put("hello","world"); for (String key : map.keySet()){ String value = map.get(key); System.out.println("Key " + key + " value " + value); } ``` ```java Map...

uses-dataflow
recipe

> Programmers should not comment out code as it bloats programs and reduces readability. > > Unused code should be deleted and can be retrieved from source control history if...

recipe

See https://wiki.sei.cmu.edu/confluence/display/java/STR02-J.+Specify+an+appropriate+locale+when+comparing+locale-dependent+data This recipe should probably have a configuration parameter to specify the `Locale` and to default to `Locale.ROOT` when not provided Relevant article : https://garygregory.wordpress.com/2015/11/03/java-lowercase-conversion-turkey/

good first issue
recipe

Given the following : ````java class A { @Deprecated void method(int param1) void method(int param1,int param2) } ```` Is there any recipe that could help me to replace the usages...

recipe

Example : ```java package pgnio; import com.github.jasync.sql.db.pool.PooledObject; import pgnio.QueryReadyConnection.AutoCommit; public class TestClass implements PooledObject { private AutoCommit autoCommit; private long creation = System.currentTimeMillis(); public TestClass(AutoCommit ac) { autoCommit = ac;...

bug

Importing `io.micrometer.core.instrument.util.StringUtils` instead of `org.apache.commons.lang3.StringUtils` is likely an user error when both of them are in the classpath Both of them define the methods `isBlank` `isNotBlank` `truncate` and others See...

recipe

https://rules.sonarsource.com/java/RSPEC-3078

uses-dataflow
recipe