aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-02-03 13:55:48 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-02-03 14:00:51 +0100
commit194ba7a4bdcf0e0164560a99612e98076180ab28 (patch)
tree2e815cb53355b0c3bfabb5aedb018becf1d371cc /sonar-core
parent9c20e9ec5ded65dbe2f63ae9e0eb93a61eb50cb0 (diff)
downloadsonarqube-194ba7a4bdcf0e0164560a99612e98076180ab28.tar.gz
sonarqube-194ba7a4bdcf0e0164560a99612e98076180ab28.zip
Fix quality flaws
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/util/stream/Collectors.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/util/stream/Collectors.java b/sonar-core/src/main/java/org/sonar/core/util/stream/Collectors.java
index 40990df3018..1e5d3650e36 100644
--- a/sonar-core/src/main/java/org/sonar/core/util/stream/Collectors.java
+++ b/sonar-core/src/main/java/org/sonar/core/util/stream/Collectors.java
@@ -262,6 +262,7 @@ public final class Collectors {
/**
* For stream of one expected element, return the element
+ *
* @throws IllegalArgumentException if stream has no element or more than 1 element
*/
public static <T> Collector<T, ?, T> toOneElement() {