diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-09-16 15:14:54 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-09-16 15:27:52 +0200 |
commit | 7c41a19c2e13cd0e76af990f941ef64302eb400d (patch) | |
tree | 7ee6299228351ed620f1ce5953cc479e701fb5fc /sonar-plugin-api | |
parent | b06dde3fe95d61bd6c893947f7d5fba6263614e2 (diff) | |
download | sonarqube-7c41a19c2e13cd0e76af990f941ef64302eb400d.tar.gz sonarqube-7c41a19c2e13cd0e76af990f941ef64302eb400d.zip |
Fix Quality flaw
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/IntArrayList.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/IntArrayList.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/IntArrayList.java index 979c5188223..34fcc2a89a2 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/IntArrayList.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/internal/IntArrayList.java @@ -108,7 +108,8 @@ class IntArrayList { */ public boolean add(int e) { ensureCapacityInternal(size + 1); - elementData[size++] = e; + elementData[size] = e; + size++; return true; } |