Cleaned up documentation, added lacking Java annotations.
This commit is contained in:
@@ -39,8 +39,7 @@ public class Snapshot {
|
||||
/**
|
||||
* Construct a snapshot restoration operation.
|
||||
*
|
||||
* @param editSession
|
||||
* @param dir
|
||||
* @param repo
|
||||
* @param snapshot
|
||||
*/
|
||||
public Snapshot(SnapshotRepository repo, String snapshot) {
|
||||
@@ -53,6 +52,7 @@ public class Snapshot {
|
||||
*
|
||||
* @return
|
||||
* @throws IOException
|
||||
* @throws DataException
|
||||
*/
|
||||
public ChunkStore getChunkStore() throws IOException, DataException {
|
||||
if (file.getName().toLowerCase().endsWith(".zip")) {
|
||||
|
||||
@@ -102,7 +102,7 @@ public class SnapshotRepository {
|
||||
/**
|
||||
* Check to see if a snapshot is valid.
|
||||
*
|
||||
* @param dir
|
||||
* @param snapshot
|
||||
* @return whether it is a valid snapshot
|
||||
*/
|
||||
public boolean isValidSnapshotName(String snapshot) {
|
||||
|
||||
@@ -58,6 +58,7 @@ public class SnapshotRestore {
|
||||
/**
|
||||
* Construct the snapshot restore operation.
|
||||
*
|
||||
* @param chunkStore
|
||||
* @param region
|
||||
*/
|
||||
public SnapshotRestore(ChunkStore chunkStore, Region region) {
|
||||
@@ -131,7 +132,7 @@ public class SnapshotRestore {
|
||||
* Restores to world.
|
||||
*
|
||||
* @param editSession
|
||||
* @param region
|
||||
* @throws MaxChangedBlocksException
|
||||
*/
|
||||
public void restore(EditSession editSession)
|
||||
throws MaxChangedBlocksException {
|
||||
|
||||
Reference in New Issue
Block a user