Skip to content

Commit

Permalink
Merge pull request #9 from aheusingfeld/master
Browse files Browse the repository at this point in the history
fixed IndexOutOfBoundsException in RefreshSourceWorker.done
  • Loading branch information
gshakhn committed Jan 9, 2013
2 parents 5066d93 + 4d5e417 commit 40ad93c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ Usability Notes
Changelog
---------

Version 1.0.1
- fixed IndexOutOfBoundsException in RefreshSourceWorker.done()

Version 1.0
- added support for [IntelliJ IDEA] 12 (Leda 12.0.2)
- added handling of proxy configuration
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.codehaus.sonar-ide.intellij</groupId>
<artifactId>sonar-intellij-plugin</artifactId>
<version>1.0</version>
<version>1.0.1</version>
<packaging>jar</packaging>

<name>sonar-intellij-plugin</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected Query<Source> getQuery(String resourceKey) {
protected void done() {
try {
List<Source> sources = get();
Source source = sources == null ? null : sources.get(0);
Source source = (sources == null || sources.isEmpty()) ? null : sources.get(0);
for (RefreshSourceListener listener : this.listeners) {
listener.doneRefreshSource(this.virtualFile, source);
}
Expand Down

0 comments on commit 40ad93c

Please sign in to comment.