Skip to content

Commit 1aab66c

Browse files
committed
binary operators should be surrounded by space
1 parent a4b0cad commit 1aab66c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

opengrok-web/src/main/webapp/diff.jsp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ action=download">download diff</a></span><%
283283
}
284284
} else {
285285
for (int j = ln2; j < ln2 + 8; j++) {
286-
%><span class="it"><%= j+1 %></span><%=
286+
%><span class="it"><%= j + 1 %></span><%=
287287
Util.htmlize(file2[j]) %><br/><%
288288
}
289289
%><br/>--- <strong><%= cn2 - ln2 - 16
@@ -347,7 +347,7 @@ action=download">download diff</a></span><%
347347
}
348348
} else {
349349
for (int j = ln1; j < ln1 + 8; j++) {
350-
%><span class="it"><%= j+1 %></span><%=
350+
%><span class="it"><%= j + 1 %></span><%=
351351
Util.htmlize(file1[j]) %><br/><%
352352
}
353353
%><br/>--- <strong><%= cn1 - ln1 - 16
@@ -364,7 +364,7 @@ action=download">download diff</a></span><%
364364
}
365365
%></td><td><%
366366
for (int j = ln2; j < ln2 + 8; j++) {
367-
%><span class="it"><%= j+1 %></span><%=
367+
%><span class="it"><%= j + 1 %></span><%=
368368
Util.htmlize(file2[j]) %><br/><%
369369
}
370370
%><br/>--- <strong><%= cn2 - ln2 - 16
@@ -406,7 +406,7 @@ action=download">download diff</a></span><%
406406
}
407407
} else {
408408
for (int j = ln1; j < ln1 + 8; j++) {
409-
%><span class="it"><%= j+1 %></span><%=
409+
%><span class="it"><%= j + 1 %></span><%=
410410
Util.htmlize(file1[j]) %><br/><%
411411
}
412412
%><br/>--- <strong><%= cn1 - ln1 - 16
@@ -438,7 +438,7 @@ action=download">download diff</a></span><%
438438
}
439439
} else {
440440
for (int j = ln2; j < ln2 + 8; j++) {
441-
%><span class="it"><%= j+1 %></span><%=
441+
%><span class="it"><%= j + 1 %></span><%=
442442
Util.htmlize(file2[j]) %><br/><%
443443
}
444444
%><br/>--- <strong><%= cn2 - ln2 - 16
@@ -470,11 +470,11 @@ action=download">download diff</a></span><%
470470
%>
471471
<tr><td><%
472472
for (int j = ln1; j < file1.length; j++) {
473-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file1[j]) %><br/><%
473+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file1[j]) %><br/><%
474474
}
475475
%></td><td><%
476476
for (int j = ln2; j < file2.length; j++) {
477-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file2[j]) %><br/><%
477+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file2[j]) %><br/><%
478478
}
479479
%></td>
480480
</tr>
@@ -484,12 +484,12 @@ action=download">download diff</a></span><%
484484
%>
485485
<tr><td><%
486486
for (int j = ln1; j < ln1 + 8; j++) {
487-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file1[j]) %><br/><%
487+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file1[j]) %><br/><%
488488
}
489489
%><br/> --- <strong><%= file1.length - ln1 - 8
490490
%> unchanged lines hidden</strong> --- </td><td><%
491491
for (int j = ln2; j < ln2 + 8; j++) {
492-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file2[j]) %><br/><%
492+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file2[j]) %><br/><%
493493
}
494494
%><br/>--- <strong><%= file1.length - ln1 - 8
495495
%> unchanged lines hidden</strong> ---</td>
@@ -502,7 +502,7 @@ action=download">download diff</a></span><%
502502
%>
503503
<tr><td><%
504504
for (int j = ln2; j < file2.length; j++) {
505-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file2[j]) %><br/><%
505+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file2[j]) %><br/><%
506506
}
507507
%></td>
508508
</tr>
@@ -512,7 +512,7 @@ action=download">download diff</a></span><%
512512
%>
513513
<tr><td><%
514514
for (int j = ln2; j < ln2 + 8; j++) {
515-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file2[j]) %><br/><%
515+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file2[j]) %><br/><%
516516
}
517517
%><br/>--- <strong><%= file2.length - ln2 - 8
518518
%> unchanged lines hidden</strong> ---</td>
@@ -523,23 +523,23 @@ action=download">download diff</a></span><%
523523
} else if (type == DiffType.OLD) {
524524
if (full || file1.length - ln1 < 20) {
525525
for (int j = ln1; j < file1.length; j++) {
526-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file1[j]) %><br/><%
526+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file1[j]) %><br/><%
527527
}
528528
} else {
529529
for (int j = ln1; j < ln1 + 8; j++) {
530-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file1[j]) %><br/><%
530+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file1[j]) %><br/><%
531531
}
532532
%><br/> --- <strong><%= file1.length - ln1 - 8
533533
%> unchanged lines hidden</strong> ---<br/><%
534534
}
535535
} else if (type == DiffType.NEW) {
536536
if (full || file2.length - ln2 < 20) {
537537
for (int j = ln2; j < file2.length; j++) {
538-
%><span class="it"><%= j+1 %></span><%=Util.htmlize(file2[j])%><br/><%
538+
%><span class="it"><%= j + 1 %></span><%=Util.htmlize(file2[j])%><br/><%
539539
}
540540
} else {
541541
for (int j = ln2; j < ln2 + 8; j++) {
542-
%><span class="it"><%= j+1 %></span><%= Util.htmlize(file2[j]) %><br/><%
542+
%><span class="it"><%= j + 1 %></span><%= Util.htmlize(file2[j]) %><br/><%
543543
}
544544
%><br/> --- <strong><%= file2.length - ln2 - 8
545545
%> unchanged lines hidden</strong> ---<br/><%

0 commit comments

Comments
 (0)