mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-26 15:25:35 +00:00
Spelling fix
This commit is contained in:
1
.github/actions/spelling/expect.txt
vendored
1
.github/actions/spelling/expect.txt
vendored
@@ -1927,6 +1927,7 @@ linkreport
|
||||
linmax
|
||||
listconfigs
|
||||
Listswf
|
||||
livedocs
|
||||
lix
|
||||
ljcb
|
||||
ljrb
|
||||
|
||||
@@ -700,7 +700,7 @@ public class FastAVM2List implements Collection<AVM2InstructionItem> {
|
||||
/**
|
||||
* Converts to array.
|
||||
*
|
||||
* @param a the array into which the elements of this collection are to be
|
||||
* @param value the array into which the elements of this collection are to be
|
||||
* stored, if it is big enough; otherwise, a new array of the same runtime
|
||||
* type is allocated for this purpose.
|
||||
* @param <T> Type
|
||||
@@ -708,19 +708,19 @@ public class FastAVM2List implements Collection<AVM2InstructionItem> {
|
||||
*/
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T> T[] toArray(T[] a) {
|
||||
if (a.length != size) {
|
||||
a = (T[]) new AVM2InstructionItem[size];
|
||||
public <T> T[] toArray(T[] value) {
|
||||
if (value.length != size) {
|
||||
value = (T[]) new AVM2InstructionItem[size];
|
||||
}
|
||||
|
||||
AVM2InstructionItem item = firstItem;
|
||||
if (item == null) {
|
||||
return a;
|
||||
return value;
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
do {
|
||||
a[i] = (T) item;
|
||||
value[i] = (T) item;
|
||||
item = item.next;
|
||||
i++;
|
||||
} while (item != firstItem);
|
||||
|
||||
@@ -880,7 +880,7 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
/**
|
||||
* Converts the list to an array.
|
||||
*
|
||||
* @param a the array into which the elements of this collection are to be
|
||||
* @param value the array into which the elements of this collection are to be
|
||||
* stored, if it is big enough; otherwise, a new array of the same runtime
|
||||
* type is allocated for this purpose.
|
||||
* @param <T> Type
|
||||
@@ -888,19 +888,19 @@ public class FastActionList implements Collection<ActionItem> {
|
||||
*/
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public <T> T[] toArray(T[] a) {
|
||||
if (a.length != size) {
|
||||
a = (T[]) new ActionItem[size];
|
||||
public <T> T[] toArray(T[] value) {
|
||||
if (value.length != size) {
|
||||
value = (T[]) new ActionItem[size];
|
||||
}
|
||||
|
||||
ActionItem item = firstItem;
|
||||
if (item == null) {
|
||||
return a;
|
||||
return value;
|
||||
}
|
||||
|
||||
int i = 0;
|
||||
do {
|
||||
a[i] = (T) item;
|
||||
value[i] = (T) item;
|
||||
item = item.next;
|
||||
i++;
|
||||
} while (item != firstItem);
|
||||
|
||||
@@ -18,7 +18,6 @@ package com.jpexs.decompiler.flash.gui.colordialog;
|
||||
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.Color;
|
||||
import java.awt.Dimension;
|
||||
import java.awt.GridBagConstraints;
|
||||
import java.awt.GridBagLayout;
|
||||
import java.awt.Insets;
|
||||
@@ -98,8 +97,8 @@ public class MySwatchChooserPanel extends AbstractColorChooserPanel {
|
||||
* <code>UIManager.get("ColorChooser.swatchesMnemonic");</code>.
|
||||
*
|
||||
* @return KeyEvent.VK constant identifying the mnemonic; <= 0 for no
|
||||
* mnemonic @see #getDisplayedMnemonicI
|
||||
* ndex
|
||||
* mnemonic @see #getDisplayedMnemonicIndex
|
||||
*
|
||||
* @since 1.4
|
||||
*/
|
||||
public int getMnemonic() {
|
||||
|
||||
Reference in New Issue
Block a user