This is an automated email from the ASF dual-hosted git repository.
ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git
The following commit(s) were added to refs/heads/main by this push:
new 8f3724472b Remove JSLint comment blocks from the JavaScript code
(#6327)
8f3724472b is described below
commit 8f3724472b2e99abb0dc296b5ae0f0905c4a10aa
Author: Dom G. <[email protected]>
AuthorDate: Tue Apr 21 16:43:45 2026 -0400
Remove JSLint comment blocks from the JavaScript code (#6327)
---
.../org/apache/accumulo/monitor/resources/js/compactors.js | 4 ----
.../org/apache/accumulo/monitor/resources/js/functions.js | 4 ----
.../resources/org/apache/accumulo/monitor/resources/js/gc.js | 5 -----
.../org/apache/accumulo/monitor/resources/js/manager.js | 12 ------------
.../org/apache/accumulo/monitor/resources/js/navbar.js | 1 -
.../accumulo/monitor/resources/js/server_process_common.js | 5 -----
.../org/apache/accumulo/monitor/resources/js/sservers.js | 4 ----
.../org/apache/accumulo/monitor/resources/js/tservers.js | 5 -----
8 files changed, 40 deletions(-)
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/compactors.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/compactors.js
index 907f7935a4..8ce45315b4 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/compactors.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/compactors.js
@@ -16,10 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/* JSLint global definitions */
-/*global
- $, COMPACTOR_SERVER_PROCESS_VIEW, getCompactorsView,
refreshServerInformation
-*/
"use strict";
const htmlBanner = '#compactorsStatusBanner'
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
index 9b41856849..50fb150ed5 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/functions.js
@@ -16,10 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/* JSLint global definitions */
-/*global
- $, sessionStorage, TIMER:true, NAMESPACES:true, refreshNavBar
-*/
"use strict";
// Suffixes for quantity
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/gc.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/gc.js
index caf70d956f..95c515bdac 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/gc.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/gc.js
@@ -16,11 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/* JSLint global definitions */
-/*global
- $, GC_SERVER_PROCESS_VIEW, GC_FILE_SERVER_PROCESS_VIEW,
GC_WAL_SERVER_PROCESS_VIEW,
- getGcView, getGcFileView, getGcWalView, refreshServerInformation
-*/
"use strict";
const htmlBanner = '#gcStatusBanner'
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/manager.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/manager.js
index 18c2cc0f06..58ddbb2f88 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/manager.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/manager.js
@@ -16,13 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/* JSLint global definitions */
-/*global
- $, sessionStorage, MANAGER_SERVER_PROCESS_VIEW, getManagersView,
getStoredRows, getStoredStatus,
- MANAGER_FATE_SERVER_PROCESS_VIEW, MANAGER_COMPACTION_SERVER_PROCESS_VIEW,
getManagersFateView,
- getManagersCompactionView, refreshTable, refreshBanner, showBannerError,
- getManagerGoalStateFromSession
-*/
"use strict";
const runningBanner = '#managerRunningBanner'
@@ -126,11 +119,6 @@ $(function () {
// TODO: 6106 - left code commented for the recovery list table to be re-added
-/* JSLint global definitions */
-/*global
- $, document, sessionStorage, getManager, bigNumberForQuantity,
- timeDuration, dateFormat, getStatus, ajaxReloadTable,
getManagerGoalStateFromSession
-*/
/*
"use strict";
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/navbar.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/navbar.js
index 413262a247..aa4a0d8a5b 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/navbar.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/navbar.js
@@ -16,7 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/*global getSserversView */
"use strict";
/**
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/server_process_common.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/server_process_common.js
index 000f7a8a02..256ccc7382 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/server_process_common.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/server_process_common.js
@@ -16,11 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/* JSLint global definitions */
-/*global
- $, sessionStorage, timeDuration, bigNumberForQuantity, bigNumberForSize,
ajaxReloadTable,
- renderActivityState, renderMemoryState, dateFormat
-*/
"use strict";
/**
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/sservers.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/sservers.js
index 7491874e6f..5107b01e97 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/sservers.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/sservers.js
@@ -16,10 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/* JSLint global definitions */
-/*global
- $, SCAN_SERVER_PROCESS_VIEW, getSserversView, refreshServerInformation
-*/
"use strict";
const htmlBanner = '#sserversStatusBanner'
diff --git
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/tservers.js
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/tservers.js
index d659a97f3c..b222870c1b 100644
---
a/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/tservers.js
+++
b/server/monitor/src/main/resources/org/apache/accumulo/monitor/resources/js/tservers.js
@@ -16,11 +16,6 @@
* specific language governing permissions and limitations
* under the License.
*/
-/* JSLint global definitions */
-/*global
- $, sessionStorage, getTServers, getRecoveryList, getStatus,
bigNumberForQuantity, timeDuration,
- ajaxReloadTable
-*/
"use strict";
const htmlBanner = '#tserversStatusBanner'