Yeikel
Yeikel
I have the following parameter : ``` @Parameter(names = { "--roles"}, description = "List of roles separated by comma") private Set roles = new HashSet(Arrays.asList(Relationship.TypeEnum.values())); ``` And when I pass...
In a situation where I have two independent suites, is it possible to skip a suite on the first failure instead of skipping all the test suites?
According to the [generated build](http://spark-notebook.io/dl/docker/0.7.0/2.11/2.1.1/2.7.2/true/true) The commands to launch are the following : ``` docker pull andypetrella/spark-notebook:0.7.0-scala-2.11.8-spark-2.1.1-hadoop-2.7.2-with-hive docker run -p 9001:9001 andypetrella/spark-notebook:0.7.0-scala-2.11.8-spark-2.1.1-hadoop-2.7.2-with-hive ``` Using that image (and I think it...
> notify and notifyAll both wake up sleeping threads, but notify only rouses one, while notifyAll rouses all of them. Since notify might not wake up the right thread, notifyAll...
```java public String findUserStatus() { Optional status = Optional.empty(); if (status.isPresent()) { return status.get(); } else { return "UNKNOWN"; } } ``` ```java public String findUserStatus() { Optional status =...
```java public Optional fetchCart() { Optional status = null; Optional status2 = Optional.ofNullable(null); return status; } ``` ```java public Optional getStatus() { Optional status = Optional.empty() ; return status; }...
```java Optional longValue; Optional number; Optional doubleOtional; ``` ```java OptionalLong longValue; OptionalInt number; OptionalDouble doubleOtional; ``` Relevant : https://stackoverflow.com/questions/33190768/optionalint-vs-optionalinteger
See https://jira.sonarsource.com/browse/SONARJAVA-1018
Before : ```java incidents.stream().filter(e-> e.getIncidentID().equalsIgnoreCase("123").map(Results::getIncdntId) ``` After : ```java incidents.stream().map(Results::getIncdntId).filter(e-> e.equalsIgnoreCase("123")) ```
It would be nice to have recipes for 1. Add maven wrapper 2. Update maven wrapper to a specific version Note : - `distributionUrl` and `wrapperUrl` should be customizable for...