diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 97ab94c64..9401c506f 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -1927,6 +1927,7 @@ linkreport linmax listconfigs Listswf +livedocs lix ljcb ljrb diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/fastavm2/FastAVM2List.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/fastavm2/FastAVM2List.java index 643b82dd1..2c137b16d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/fastavm2/FastAVM2List.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/fastavm2/FastAVM2List.java @@ -700,7 +700,7 @@ public class FastAVM2List implements Collection { /** * 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 Type @@ -708,19 +708,19 @@ public class FastAVM2List implements Collection { */ @Override @SuppressWarnings("unchecked") - public T[] toArray(T[] a) { - if (a.length != size) { - a = (T[]) new AVM2InstructionItem[size]; + public 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); diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionList.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionList.java index 918bf7ccb..e665064e4 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionList.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/action/fastactionlist/FastActionList.java @@ -880,7 +880,7 @@ public class FastActionList implements Collection { /** * 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 Type @@ -888,19 +888,19 @@ public class FastActionList implements Collection { */ @Override @SuppressWarnings("unchecked") - public T[] toArray(T[] a) { - if (a.length != size) { - a = (T[]) new ActionItem[size]; + public 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); diff --git a/src/com/jpexs/decompiler/flash/gui/colordialog/MySwatchChooserPanel.java b/src/com/jpexs/decompiler/flash/gui/colordialog/MySwatchChooserPanel.java index df840e88d..7323f898c 100644 --- a/src/com/jpexs/decompiler/flash/gui/colordialog/MySwatchChooserPanel.java +++ b/src/com/jpexs/decompiler/flash/gui/colordialog/MySwatchChooserPanel.java @@ -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 { * UIManager.get("ColorChooser.swatchesMnemonic");. * * @return KeyEvent.VK constant identifying the mnemonic; <= 0 for no - * mnemonic @see #getDisplayedMnemonicI - * ndex + * mnemonic @see #getDisplayedMnemonicIndex + * * @since 1.4 */ public int getMnemonic() {