diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-08-16 23:32:08 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-08-16 23:32:08 +0200 |
commit | a48f3652c54ac1b9444ff740ab020d035fba293d (patch) | |
tree | 21d1c9544934367b82e7f37f4ac7bff4e7ebe946 /sonar-markdown | |
parent | 39f367043ff3cb6eb7deaa0edd168073c83da0e7 (diff) | |
download | sonarqube-a48f3652c54ac1b9444ff740ab020d035fba293d.tar.gz sonarqube-a48f3652c54ac1b9444ff740ab020d035fba293d.zip |
Fix some quality flaws
Diffstat (limited to 'sonar-markdown')
-rw-r--r-- | sonar-markdown/src/main/java/org/sonar/markdown/HtmlListChannel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlListChannel.java b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlListChannel.java index 58fc67ea0fc..9e24ffa91e6 100644 --- a/sonar-markdown/src/main/java/org/sonar/markdown/HtmlListChannel.java +++ b/sonar-markdown/src/main/java/org/sonar/markdown/HtmlListChannel.java @@ -65,7 +65,7 @@ class HtmlListChannel extends Channel<MarkdownOutput> { private int searchIndexOfFirstCharacter(CharSequence token) { for (int index = 0; index < token.length(); index++) { if (token.charAt(index) == '*') { - for (index++; index < token.length(); index++) { + while (++index<token.length()) { if (token.charAt(index) != ' ') { return index; } |