Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed IndexOutOfBoundsException in RefreshSourceWorker.done #9

Merged
merged 3 commits into from
Jan 9, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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