spelling: beginning

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2024-10-22 08:38:47 -04:00
committed by Jindra Petřík
parent 611c3cd85e
commit eeaa0719b2
3 changed files with 4 additions and 4 deletions

View File

@@ -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;
}

View File

@@ -1065,7 +1065,7 @@ public abstract class GraphTargetItem implements Serializable, Cloneable {
*/
public GraphTextWriter appendCommands(GraphTargetItem prevLineItem, GraphTextWriter writer, LocalData localData, List<GraphTargetItem> 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();