From eeaa0719b2947f61f4177a5fa2af6569ced8e8eb Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 08:38:47 -0400 Subject: [PATCH] spelling: beginning Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- .../flash/importers/svg/css/CssSelectorToXPath.java | 4 ++-- .../src/com/jpexs/decompiler/graph/GraphTargetItem.java | 2 +- libsrc/gnujpdf/src/gnu/jpdf/PDFOutput.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/svg/css/CssSelectorToXPath.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/svg/css/CssSelectorToXPath.java index cd061d960..64cbb2f8b 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/svg/css/CssSelectorToXPath.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/svg/css/CssSelectorToXPath.java @@ -448,7 +448,7 @@ public class CssSelectorToXPath { return buf.toString(); } - // Find the begining of the selector, starting at i and working backwards + // Find the beginning of the selector, starting at i and working backwards private int selectorStart(String s, int i) { int depth = 0; int offset = 0; @@ -707,7 +707,7 @@ public class CssSelectorToXPath { s = escapeChar(s, '[', ']', filter_char); s = s.replace(/(\x1D+)\]\[\1(.+?[^\x1D])\1\]/g, ' and ($2)$1]') */ - s = prependAxis(s, ".//"); // prepend ".//" axis to begining of CSS selector + s = prependAxis(s, ".//"); // prepend ".//" axis to beginning of CSS selector return s; } diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphTargetItem.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphTargetItem.java index 9a8afd9f8..23b137d33 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphTargetItem.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/graph/GraphTargetItem.java @@ -1065,7 +1065,7 @@ public abstract class GraphTargetItem implements Serializable, Cloneable { */ public GraphTextWriter appendCommands(GraphTargetItem prevLineItem, GraphTextWriter writer, LocalData localData, List commands, boolean asBlock) throws InterruptedException { - //This may be useful in the future, but we must handle obfuscated SWFs where there is only one debugline instruction on the beggining. + //This may be useful in the future, but we must handle obfuscated SWFs where there is only one debugline instruction on the beginning. final boolean useLineInfo = false; int prevLine = prevLineItem == null ? 0 : prevLineItem.getLine(); diff --git a/libsrc/gnujpdf/src/gnu/jpdf/PDFOutput.java b/libsrc/gnujpdf/src/gnu/jpdf/PDFOutput.java index e3346b5f3..036642596 100644 --- a/libsrc/gnujpdf/src/gnu/jpdf/PDFOutput.java +++ b/libsrc/gnujpdf/src/gnu/jpdf/PDFOutput.java @@ -126,7 +126,7 @@ public class PDFOutput { os.flush(); // we use baos to speed things up a little. - // Also, offset is preserved, and marks the begining of this block. + // Also, offset is preserved, and marks the beginning of this block. // This is required by PDF at the end of the PDF file. baos.reset(); baos.write("xref\n".getBytes("UTF-8"));