From 3677bceeb6cb339160d7af76080edb849a657451 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:46:42 -0400 Subject: [PATCH] spelling: occurrence Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libsrc/avi/src/org/monte/media/riff/RIFFParser.java | 2 +- libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java | 2 +- .../src/com/jpexs/decompiler/flash/xfl/XFLConverter.java | 2 +- libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/avi/src/org/monte/media/riff/RIFFParser.java b/libsrc/avi/src/org/monte/media/riff/RIFFParser.java index d0b95a1fd..fdda2c8ef 100644 --- a/libsrc/avi/src/org/monte/media/riff/RIFFParser.java +++ b/libsrc/avi/src/org/monte/media/riff/RIFFParser.java @@ -133,7 +133,7 @@ import javax.imageio.stream.ImageInputStream; * before starting the interpreter. *
* Once at least one chunk has been declared, the interpreter will only call the
- * visitor for occurences of the declared group chunks and data chunks. The property
+ * visitor for occurrences of the declared group chunks and data chunks. The property
* chunks and the collection chunks can be obtained from the current group chunk
* by calling #getProperty or #getCollection.
*
Note: All information the visitor can obtain during interpretation is only
diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java
index 41de3188e..dca81aab6 100644
--- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java
+++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java
@@ -5261,7 +5261,7 @@ public final class SWF implements SWFContainerItem, Timelined, Openable {
/**
* Sorts character ids. Order of character ids will match the first
- * occurence of the characters.
+ * occurrence of the characters.
*/
public void sortCharacterIds() {
int maxId = Math.max(tags.size(), getNextCharacterId());
diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java
index 1b70dfbeb..60511a3ea 100644
--- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java
+++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java
@@ -1491,7 +1491,7 @@ public class XFLConverter {
for (CharacterTag symbol : characters) {
if ((symbol instanceof ShapeTag) && nonLibraryShapes.contains(symbol)) {
- continue; //shapes with 1 ocurrence and single layer are not added to library
+ continue; //shapes with 1 occurrence and single layer are not added to library
}
if ((symbol instanceof ShapeTag) || (symbol instanceof DefineSpriteTag) || (symbol instanceof ButtonTag)) {
diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java
index 72f11c366..d0f17df3c 100644
--- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java
+++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/Graph.java
@@ -177,7 +177,7 @@ public class Graph {
* input edges are already visited (not counting back edges), then all its
* output edges are processed.
*
- * This time is useful when sorting nodes according their occurence in + * This time is useful when sorting nodes according their occurrence in * getMostCommonPart method - used for switch detection * * @param loops Already calculated loops to get backedges from.