-
### Description
S3267
Some suggestions to simplify the code by rewriting it using LINQ cannot be applied when ref struct types are involved.
### Repro steps
```
ReadOnlySpan stringToCompare …
-
#### Bug Report Checklist
- [X] Have you provided a full/minimal spec to reproduce the issue? See
- [X] Have you validated the input using an OpenAPI validator ([example](https://apidevtools.org/…
vhbcm updated
2 weeks ago
-
-
Using `object.equals` can lead to NPE. For example :
```java
String a = null;
String b = "";
boolean equal = a.equals(b); // NPE
```
`Objects.equals` does not have this problem :
…
-
-
### Operating System and architecture (arm64, amd64, x86, etc.)
_No response_
### What is your Java version
_No response_
### Log and information
```
ERROR [2024-10-05 16:15:24,662] org.grobid.s…
-
https://github.com/raulgaar/NCTaskManager/blob/f9deabf3d250765782c6faf2e447a50cb97cd8de/src/main/java/mx/tc/j2se/tasks/TaskImpl.java#L242
What about repetitive and non-repetitive and activeness
-
The `equals` method is somewhat abused in various parts of the codebase. This should be rectified.
Wherever an `equals` method is used, make sure it is used sensibly* and that the corresponding `ha…
-
public class CircleTransformation extends BitmapTransformation {
@Override
public boolean equals(Object obj) {
if (obj instanceof BlurTransformation) {
…
-
Does an "Equals(uuid1,uuid2)" method actually exists? It's not so fast comparing uuid's by parsing two values in string and then comparing then by '=='.