Halil İbrahim Şener

Results 10 issues of Halil İbrahim Şener

👋 Not a Mockito bug per se, but a tiny debug logging suggestion. Consider the following code: ##### MockitoSpyCompletableFuture.java ```java import java.util.concurrent.CompletableFuture; import java.util.concurrent.CountDownLatch; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; import org.mockito.Mockito;...

The `WKBWriter` constructor expects output dimension (e.g. `new WKBWriter(dimension, ByteOrderValues.LITTLE_ENDIAN, true)`) and it has to be either 2 or 3. However, `Geometry#getDimension` is not appropriate to use here. Is there...

type-question

Immutables reports warnings even though the javac `-nowarn` flag is set. The same for when maven-compiler-plugin's `showWarning` configuration is set to `false`. Is there a way to configure Immutables to...

After upgrading Jongo 1.5.0, we started seeing `JsonParseException` in a couple of places where we use all positional operator `$[]`. Our usages are the same as the example in [MongoDB...

bug-report
stale

We have a couple of private static nested classes and enums with `@JsonValue` methods, mostly in tests. The `UnusedMethod` bug pattern flags those as unused, unlike the `@JsonCreator` methods. ###...

Consider the following code: ```java public final class RedundantOverrideHashCode { @Override public int hashCode() { return super.hashCode(); } } ``` The `RedundantOverride` bug checker doesn't suggest dropping the redundant `#hashCode`...

As mentioned in https://github.com/google/error-prone/issues/2786#issuecomment-1003368760, we are planning to move away from forking `javac`. However, after disabling the `fork` option, we noticed that the metaspace (off-heap) usage increased significantly (220 MiB...

If I understand correctly, image label value _may_ be an empty string. However, in that case, I got "index out of range" errors in two places. This PR uses `startswith`...

Error Prone 2.14.0 introduces [NullableOnContainingClass bug pattern](https://errorprone.info/bugpattern/NullableOnContainingClass), which flags incorrect `@Nullable` annotation usages on the enclosing instance types. However, applying the fix on Immutables types is problematic since it seems...

bug

**Describe the bug** The `client-java-parent` POM has a few "optional" dependencies; however, they are no-ops. For example, the dependency tree of a module that uses `io.kubernetes:client-java:jar:19.0.1`: ``` $ mvn dependency:tree...