Skip to content

Commit 293f1a4

Browse files
committed
fixed some semicolons
1 parent 0f49738 commit 293f1a4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/src/main/resources/org/apache/spark/ui/static/log-view.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function disableMoreButton() {
4646
}
4747

4848
function noNewAlert() {
49-
var alert = $(".no-new-alert")
49+
var alert = $(".no-new-alert");
5050
alert.css("display", "block");
5151
window.setTimeout(function () {alert.css("display", "none");}, 4000);
5252
}
@@ -60,7 +60,7 @@ function loadMore() {
6060
url: "/log" + baseParams + "&offset=" + offset + "&byteLength=" + moreByteLength,
6161
success: function (data) {
6262
var oldHeight = $(".log-content")[0].scrollHeight;
63-
var newlineIndex = data.indexOf('\n')
63+
var newlineIndex = data.indexOf('\n');
6464
var dataInfo = data.substring(0, newlineIndex).match(/\d+/g);
6565
var retStartByte = dataInfo[0];
6666
var retLogLength = dataInfo[2];
@@ -92,7 +92,7 @@ function loadNew() {
9292
type: "GET",
9393
url: "/log" + baseParams + "&byteLength=" + newDataLen,
9494
success: function (data) {
95-
var newlineIndex = data.indexOf('\n')
95+
var newlineIndex = data.indexOf('\n');
9696
var dataInfo = data.substring(0, newlineIndex).match(/\d+/g);
9797
var retStartByte = dataInfo[0];
9898
var retEndByte = dataInfo[1];

core/src/main/scala/org/apache/spark/deploy/worker/ui/LogPage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ private[ui] class LogPage(parent: WorkerWebUI) extends WebUIPage("logPage") with
7474

7575
val (logText, startByte, endByte, logLength) = getLog(logDir, logType, offset, byteLength)
7676
val linkToMaster = <p><a href={worker.activeMasterWebUiUrl}>Back to Master</a></p>
77-
val curLogLength = endByte - startByte;
77+
val curLogLength = endByte - startByte
7878
val range =
7979
<span id="log-data">
8080
Showing {curLogLength} Bytes: {startByte.toString} - {endByte.toString} of {logLength}

0 commit comments

Comments
 (0)