Fix spelling errors

This commit is contained in:
Benjamin Levy 2020-01-26 22:39:18 -05:00
parent 4361f39fe2
commit a5efecea84
78 changed files with 95 additions and 95 deletions

View file

@ -37,7 +37,7 @@ public class DBBuffer {
}
/**
* Split this DBBuffer object into two seperate DBBuffers. This DBBuffer remains
* Split this DBBuffer object into two separate DBBuffers. This DBBuffer remains
* valid but its new size is equal offset. The newly created DBBuffer is
* returned.
* @param offset the split point. The byte at this offset becomes the first

View file

@ -261,7 +261,7 @@ public abstract class Database {
protected void scanFiles(boolean repair) throws FileNotFoundException {
synchronized (syncObject) {
// TODO: May need to make repair an option (may not have write priviledge)
// TODO: May need to make repair an option (may not have write privilege)
ArrayList<String> bufFiles = new ArrayList<>();
ArrayList<String> verFiles = new ArrayList<>();

View file

@ -26,7 +26,7 @@ import db.buffers.DataBuffer;
/**
* The <code>NodeMgr</code> manages all database nodes associated with
* a table. Each table should use a seperate instance of a NodeMgr.
* a table. Each table should use a separate instance of a NodeMgr.
* The NodeMgr is resposible for interacting with the BufferMgr performing
* buffer allocations, retrievals and releases as required. The NodeMgr
* also performs hard caching of all buffers until the releaseNodes

View file

@ -357,7 +357,7 @@ class VarKeyInteriorNode extends VarKeyNode {
/**
* Update the child key associated with the specified key index.
* Other entries are shifted as necessary to accomodate the new key length for
* Other entries are shifted as necessary to accommodate the new key length for
* the updated entry.
* @param index child key index
* @param updateKey updated child node key
@ -741,7 +741,7 @@ class VarKeyInteriorNode extends VarKeyNode {
* @param leftNode
* @param rightNode
* @param count
* @return true if movement occured, else false
* @return true if movement occurred, else false
*/
private static boolean moveKeysRight(VarKeyInteriorNode leftNode, VarKeyInteriorNode rightNode,
int count) {

View file

@ -28,7 +28,7 @@ import db.ChainedBuffer;
/**
* <code>ChangeMapFile</code> tracks which buffers within a LocalBufferFile
* have been modified between an older and newer version. The older
* file is also refered to as the target file.
* file is also referred to as the target file.
*/
public class ChangeMapFile {

View file

@ -130,7 +130,7 @@ public class LocalManagedBufferFile extends LocalBufferFile implements ManagedBu
* <code>saveChangeFile</code> is a buffer file which contains application
* specific change-data associated with a new version of this file.
* <code>saveChangeFile</code> is instantiated when the getSaveFile method
* is successfully invoked. This file is commited when the saveCompleted
* is successfully invoked. This file is committed when the saveCompleted
* method is invoked.
*/
private LocalBufferFile saveChangeFile;