-
```
Say I have a
@Captor ArgumentCaptor fooCaptor;
I'd like to have it capture primitive double arguments, but the annotation
gives me an Object captor.
Unfortunately this also fails in a non-obviou…
-
```
Using Hamcrest with primitive types often requires auto boxing/unboxing to the
corresponding reference types. Hidden NullPointerExceptions are just one of
quite a few concerns regardings automat…
-
```
I'm using the SQL Visualizer to check which classes are most often
instanciated to determine what causes GC pressure. To do this, I'm looking
for calls of functions ending with ".ctor". However,…
-
```
Currently the following Java 8 call does not get detected as forbidden call:
Arrays.sort(someArray, Float::compare);
if the forbidden API signatures contains:
java.lang.Float#compare(float,…
-
```
It would be useful to have the behaviour for computing hashcodes as recommended in Effective
Java Item 8 included as a library function. See
http://java.sun.com/developer/Books/effectivejava/C…
-
```
I am sure there is a valid reason but I dont know it. In the java bean code
generation you use this to map primitives to integers:
map_primitive_wrapper ::= [
"int": "Integer",
"long": "…
-
```
An operation like this:
2.1 + 1 should result in 3.1
In h2 the result is 3.
The workaround is to use an expression like:
2.1 + 1.0.
In this case the result is 3.1
Here is a sample program to…
-
```
According to the documentation:
http://code.google.com/p/json-simpl/wiki/MappingBetweenJSONAndJavaEntities
JSON arrays are only serialised from java.util.List. When it comes to
serialisation, I …
-
```
According to the documentation:
http://code.google.com/p/json-simpl/wiki/MappingBetweenJSONAndJavaEntities
JSON arrays are only serialised from java.util.List. When it comes to
serialisation, I …
-
2.0 Spec states that required may be missing and hence the use of unwrapped primitive Boolean as return value of `io.swagger.models.apideclaration.Parameter#getParameter`. Problem is that com.wordnik.…