Typos + missing import
							parent
							
								
									7e2e399829
								
							
						
					
					
						commit
						d29b9049a4
					
				|  | @ -33,6 +33,7 @@ import net.szum123321.textile_backup.commands.permission.WhitelistCommand; | |||
| import net.szum123321.textile_backup.commands.restore.KillRestoreCommand; | ||||
| import net.szum123321.textile_backup.commands.restore.ListBackupsCommand; | ||||
| import net.szum123321.textile_backup.commands.restore.RestoreBackupCommand; | ||||
| import net.szum123321.textile_backup.core.ActionInitiator; | ||||
| import net.szum123321.textile_backup.core.Utilities; | ||||
| import net.szum123321.textile_backup.core.create.BackupContext; | ||||
| import net.szum123321.textile_backup.core.create.BackupHelper; | ||||
|  | @ -53,6 +54,7 @@ public class TextileBackup implements ModInitializer { | |||
|             System.exit(1); | ||||
|         } | ||||
| 
 | ||||
|         //TODO: finish writing wiki
 | ||||
|         if(Statics.CONFIG.format == ConfigHandler.ArchiveFormat.ZIP) { | ||||
|             Statics.tmpAvailable = Utilities.isTmpAvailable(); | ||||
|             if(!Statics.tmpAvailable) { | ||||
|  |  | |||
|  | @ -82,7 +82,7 @@ public class ParallelZipCompressor extends ZipCompressor { | |||
| 			try { | ||||
| 				return new FileInputStream(sourceFile); | ||||
| 			} catch (IOException e) { | ||||
| 				Statics.LOGGER.error("An exception occurred while trying to create input stream from file: {}!", sourceFile.getName(), e); | ||||
| 				Statics.LOGGER.error("An exception occurred while trying to create an input stream from file: {}!", sourceFile.getName(), e); | ||||
| 			} | ||||
| 
 | ||||
| 			return null; | ||||
|  |  | |||
|  | @ -41,7 +41,7 @@ public class ParallelGzipCompressor extends AbstractTarArchiver { | |||
| 
 | ||||
| 	@Override | ||||
| 	protected void close() { | ||||
| 		//it seems like ParallelGZIPOutputStream doesn't shut down its ExecutorService, so to not leave garbage I shutdown it
 | ||||
| 		//it seems like ParallelGZIPOutputStream doesn't shut down its ExecutorService, so to not leave garbage I shut it down
 | ||||
| 		executorService.shutdown(); | ||||
| 	} | ||||
| } | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue