Skip to content

Commit

Permalink
Bug 424331: [quick assist] Quick assists available at location with e…
Browse files Browse the repository at this point in the history
…rror
  • Loading branch information
noopur2507 authored and mkeller committed May 13, 2014
1 parent 7453368 commit 8aeda7a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2012 IBM Corporation and others.
* Copyright (c) 2000, 2014 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -238,7 +238,7 @@ public static int collectQuickFixableAnnotations(ITextEditor editor, int invocat
}
}
if (bestOffset == Integer.MAX_VALUE) {
return invocationLocation;
bestOffset= invocationLocation;
}
for (int i= 0; i < allPositions.size(); i++) {
Position pos= allPositions.get(i);
Expand Down

0 comments on commit 8aeda7a

Please sign in to comment.