Skip to content

Commit

Permalink
modify the code style to make compile successfully.
Browse files Browse the repository at this point in the history
compile command: mvn -DskipTests -Pspark-2.1 -Pdist -Pprovided -Phadoop-2.7.2 clean install
  • Loading branch information
bill1208 authored and jackylk committed Feb 27, 2017
1 parent 565bc9b commit 9e932d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -438,8 +438,8 @@ private void pushRun(int runBase, int runLen) {
private void mergeCollapse() {
while (stackSize > 1) {
int n = stackSize - 2;
if ((n >= 1 && runLen[n-1] <= runLen[n] + runLen[n+1])
|| (n >= 2 && runLen[n-2] <= runLen[n] + runLen[n-1])) {
if ((n >= 1 && runLen[n - 1] <= runLen[n] + runLen[n + 1])
|| (n >= 2 && runLen[n - 2] <= runLen[n] + runLen[n - 1])) {
if (runLen[n - 1] < runLen[n + 1]) {
n--;
}
Expand Down

0 comments on commit 9e932d1

Please sign in to comment.