fix #2283 - 'persistent' spelling error

This commit is contained in:
Nick Fox 2020-10-01 10:58:55 -04:00
parent 415fcc2cf7
commit ca1047cd97
No known key found for this signature in database
GPG key ID: 82719985805A7CA8
7 changed files with 15 additions and 15 deletions

View file

@ -56,7 +56,7 @@ import ghidra.util.timer.GTimer;
*
* Refactor fileInfo -> needs dialog to show properties
* Refactor GFile.getInfo() to return Map<> instead of String.
* Persistant filesystem - when reopen tool, filesystems should auto-reopen.
* Persistent filesystem - when reopen tool, filesystems should auto-reopen.
* Unify GhidraFileChooser with GFileSystem.
* Add "Mounted Filesystems" button to show currently opened GFilesystems?
* Dockable filesystem browser in FrontEnd.

View file

@ -170,7 +170,7 @@ public class VarnodeOperation extends Varnode {
}
@Override
public boolean isPersistant() {
public boolean isPersistent() {
return false;
}

View file

@ -128,7 +128,7 @@ public class GraphAST extends GhidraScript {
else if (vn.isUnique()) {
colorattrib = "Black";
}
else if (vn.isPersistant()) {
else if (vn.isPersistent()) {
colorattrib = "DarkOrange";
}
else if (vn.isAddrTied()) {

View file

@ -61,7 +61,7 @@ public interface PcodeFactory {
public HighSymbol getSymbol(long symbolId);
public Varnode setInput(Varnode vn,boolean val);
public void setAddrTied(Varnode vn,boolean val);
public void setPersistant(Varnode vn,boolean val);
public void setPersistent(Varnode vn, boolean val);
public void setUnaffected(Varnode vn,boolean val);
public void setMergeGroup(Varnode vn,short val);
public void setDataType(Varnode vn,DataType type);

View file

@ -392,9 +392,9 @@ public class PcodeSyntaxTree implements PcodeFactory {
}
@Override
public void setPersistant(Varnode vn, boolean val) {
public void setPersistent(Varnode vn, boolean val) {
VarnodeAST vnast = (VarnodeAST) vn;
vnast.setPersistant(val);
vnast.setPersistent(val);
}
@Override

View file

@ -255,9 +255,9 @@ public class Varnode {
}
/**
* @return is persistant
* @return is persistent
*/
public boolean isPersistant() {
public boolean isPersistent() {
return false; // Not a valid query with a free varnode
}
@ -476,7 +476,7 @@ public class Varnode {
}
attrstring = el.getAttribute("persists");
if ((attrstring != null) && (SpecXmlUtils.decodeBoolean(attrstring))) {
factory.setPersistant(vn, true);
factory.setPersistent(vn, true);
}
attrstring = el.getAttribute("addrtied");
if ((attrstring != null) && (SpecXmlUtils.decodeBoolean(attrstring))) {

View file

@ -37,7 +37,7 @@ public class VarnodeAST extends Varnode {
private boolean bInput;
private boolean bAddrTied;
private boolean bPersistant;
private boolean bPersistent;
private boolean bUnaffected;
private boolean bFree;
private int uniqId; // Unique Id for distinguishing otherwise identical varnodes
@ -50,7 +50,7 @@ public class VarnodeAST extends Varnode {
super(a, sz);
bInput = false;
bAddrTied = false;
bPersistant = false;
bPersistent = false;
bUnaffected = false;
bFree = true;
uniqId = id;
@ -70,8 +70,8 @@ public class VarnodeAST extends Varnode {
}
@Override
public boolean isPersistant() {
return bPersistant;
public boolean isPersistent() {
return bPersistent;
}
@Override
@ -132,8 +132,8 @@ public class VarnodeAST extends Varnode {
def = null;
}
public void setPersistant(boolean val) {
bPersistant = val;
public void setPersistent(boolean val) {
bPersistent = val;
}
public void setUnaffected(boolean val) {