From 50269cabe440acf27804bc52b0820dbdcc1957d9 Mon Sep 17 00:00:00 2001 From: Smith Chang <164195759+veryyet@users.noreply.github.com> Date: Fri, 22 Mar 2024 00:03:13 +0800 Subject: [PATCH] Remove duplicated words in Javadoc comments (#9056) chore: remove repetitive words Signed-off-by: veryyet --- .../src/main/java/jenkins/slaves/RemotingWorkDirSettings.java | 2 +- war/src/main/webapp/scripts/yui/dragdrop/dragdrop-debug.js | 2 +- war/src/main/webapp/scripts/yui/editor/editor-debug.js | 2 +- war/src/main/webapp/scripts/yui/editor/simpleeditor-debug.js | 2 +- war/src/main/webapp/scripts/yui/menu/menu-debug.js | 4 ++-- war/src/main/webapp/scripts/yui/yahoo/yahoo-debug.js | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/src/main/java/jenkins/slaves/RemotingWorkDirSettings.java b/core/src/main/java/jenkins/slaves/RemotingWorkDirSettings.java index 37b6454775b7..ab5086e7f685 100644 --- a/core/src/main/java/jenkins/slaves/RemotingWorkDirSettings.java +++ b/core/src/main/java/jenkins/slaves/RemotingWorkDirSettings.java @@ -102,7 +102,7 @@ public boolean isUseAgentRootDir() { /** * Check if startup should fail if the workdir is missing. * - * @return {@code true} if Remoting should fail if the the work directory is missing instead of creating it + * @return {@code true} if Remoting should fail if the work directory is missing instead of creating it */ public boolean isFailIfWorkDirIsMissing() { return failIfWorkDirIsMissing; diff --git a/war/src/main/webapp/scripts/yui/dragdrop/dragdrop-debug.js b/war/src/main/webapp/scripts/yui/dragdrop/dragdrop-debug.js index 14ac7f2598f5..150ce558431d 100644 --- a/war/src/main/webapp/scripts/yui/dragdrop/dragdrop-debug.js +++ b/war/src/main/webapp/scripts/yui/dragdrop/dragdrop-debug.js @@ -245,7 +245,7 @@ YAHOO.util.DragDropMgr = function() { locked: false, /** - * Provides additional information about the the current set of + * Provides additional information about the current set of * interactions. Can be accessed from the event handlers. It * contains the following properties: * diff --git a/war/src/main/webapp/scripts/yui/editor/editor-debug.js b/war/src/main/webapp/scripts/yui/editor/editor-debug.js index ea6b68c5ae0b..de3b8c3b0972 100644 --- a/war/src/main/webapp/scripts/yui/editor/editor-debug.js +++ b/war/src/main/webapp/scripts/yui/editor/editor-debug.js @@ -955,7 +955,7 @@ var Dom = YAHOO.util.Dom, /** * @attribute collapse - * @description Boolean indicating if the the titlebar should have a collapse button. + * @description Boolean indicating if the titlebar should have a collapse button. * The collapse button will not remove the toolbar, it will minimize it to the titlebar * @default false * @type Boolean diff --git a/war/src/main/webapp/scripts/yui/editor/simpleeditor-debug.js b/war/src/main/webapp/scripts/yui/editor/simpleeditor-debug.js index 59a9d7c6e4f2..f9b0c906286d 100644 --- a/war/src/main/webapp/scripts/yui/editor/simpleeditor-debug.js +++ b/war/src/main/webapp/scripts/yui/editor/simpleeditor-debug.js @@ -955,7 +955,7 @@ var Dom = YAHOO.util.Dom, /** * @attribute collapse - * @description Boolean indicating if the the titlebar should have a collapse button. + * @description Boolean indicating if the titlebar should have a collapse button. * The collapse button will not remove the toolbar, it will minimize it to the titlebar * @default false * @type Boolean diff --git a/war/src/main/webapp/scripts/yui/menu/menu-debug.js b/war/src/main/webapp/scripts/yui/menu/menu-debug.js index eb3a4d2a1972..0d5a78f57018 100644 --- a/war/src/main/webapp/scripts/yui/menu/menu-debug.js +++ b/war/src/main/webapp/scripts/yui/menu/menu-debug.js @@ -2365,7 +2365,7 @@ _subscribeToItemEvents: function (p_oItem) { /** * @method _onVisibleChange -* @description Change event handler for the the menu's "visible" configuration +* @description Change event handler for the menu's "visible" configuration * property. * @private * @param {String} p_sType String representing the name of the event that @@ -4818,7 +4818,7 @@ _setScrollHeight: function (p_nScrollHeight) { /* - Only clear the the "width" configuration property if it was set the + Only clear the "width" configuration property if it was set the "_setScrollHeight" method and wasn't changed by some other means after it was set. */ diff --git a/war/src/main/webapp/scripts/yui/yahoo/yahoo-debug.js b/war/src/main/webapp/scripts/yui/yahoo/yahoo-debug.js index 82990bd5b46d..8bf19672b3f9 100644 --- a/war/src/main/webapp/scripts/yui/yahoo/yahoo-debug.js +++ b/war/src/main/webapp/scripts/yui/yahoo/yahoo-debug.js @@ -129,7 +129,7 @@ YAHOO.namespace = function() { * @param {HTML} cat The log category for the message. Default * categories are "info", "warn", "error", time". * Custom categories can be used as well. (opt) - * @param {HTML} src The source of the the message (opt) + * @param {HTML} src The source of the message (opt) * @return {Boolean} True if the log operation was successful. */ YAHOO.log = function(msg, cat, src) {