use the same amount of whitespace everywhere, no functional change

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150501 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2004-09-08 20:43:43 +00:00
parent d31c31a84f
commit 54bfbc30de
1 changed files with 6 additions and 6 deletions

View File

@ -55,16 +55,16 @@ public abstract class PriorityQueue {
*/
public boolean insert(Object element){
if(size < maxSize){
put(element);
return true;
put(element);
return true;
}
else if(size > 0 && !lessThan(element, top())){
heap[1] = element;
adjustTop();
return true;
heap[1] = element;
adjustTop();
return true;
}
else
return false;
return false;
}
/** Returns the least element of the PriorityQueue in constant time. */