spelling: cannot

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2024-10-29 16:55:43 +01:00
committed by Jindra Petřík
parent eacadf7cea
commit 34ae22d837
5 changed files with 14 additions and 14 deletions
@@ -101,7 +101,7 @@ public class BreadcrumbTreeAdapterSelector extends JBreadcrumbBar<Object> {
protected TreeModel treeModel;
/**
* The corresponding tree adapter. Can not be <code>null</code>.
* The corresponding tree adapter. Cannot be <code>null</code>.
*/
protected TreeAdapter treeAdapter;
@@ -118,7 +118,7 @@ public class BreadcrumbTreeAdapterSelector extends JBreadcrumbBar<Object> {
* @param treeModel
* The corresponding tree model.
* @param treeAdapter
* The corresponding tree adapter. Can not be
* The corresponding tree adapter. Cannot be
* <code>null</code>.
* @param isRootVisible
* If <code>true</code>, the first selector shows the tree
@@ -225,7 +225,7 @@ public class BreadcrumbTreeAdapterSelector extends JBreadcrumbBar<Object> {
* @param treeModel
* Tree model.
* @param treeAdapter
* Tree adapter. Can not be <code>null</code>.
* Tree adapter. Cannot be <code>null</code>.
* @param isRootVisible
* If <code>true</code>, the first selector shows the tree root
* node. If <code>false</code>, the first selector shows the tree
@@ -259,7 +259,7 @@ public class BreadcrumbTreeAdapterSelector extends JBreadcrumbBar<Object> {
* @param tree
* Tree.
* @param treeAdapter
* Tree adapter. Can not be <code>null</code>.
* Tree adapter. Cannot be <code>null</code>.
*/
public BreadcrumbTreeAdapterSelector(JTree tree, TreeAdapter treeAdapter) {
this(tree.getModel(), treeAdapter, tree.isRootVisible());
@@ -340,7 +340,7 @@ public class JRibbon extends JComponent {
*/
public void removeTask(RibbonTask task) {
if (task == null) {
throw new IllegalArgumentException("RibbonTask can not be null");
throw new IllegalArgumentException("RibbonTask cannot be null");
}
int posOfTask = this.tasks.indexOf(task);
@@ -108,7 +108,7 @@ public class JRibbonComponent extends RichToolTipManager.JTrackableComponent {
* Creates a simple wrapper with no icon and no caption.
*
* @param mainComponent
* Wrapped component. Can not be <code>null</code>.
* Wrapped component. Cannot be <code>null</code>.
* @throws IllegalArgumentException
* if <code>mainComponent</code> is <code>null</code>.
*/
@@ -131,9 +131,9 @@ public class JRibbonComponent extends RichToolTipManager.JTrackableComponent {
* @param icon
* Wrapper icon. Can be <code>null</code>.
* @param caption
* Wrapper caption. Can not be <code>null</code>.
* Wrapper caption. Cannot be <code>null</code>.
* @param mainComponent
* Wrapped component. Can not be <code>null</code>.
* Wrapped component. Cannot be <code>null</code>.
* @throws IllegalArgumentException
* if <code>caption</code> or <code>mainComponent</code> is
* <code>null</code>.