Мелкое исправление в автоматическом удалении файлов
This commit is contained in:
		
							parent
							
								
									f14990082a
								
							
						
					
					
						commit
						21b24c4d15
					
				
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							|  | @ -24,7 +24,7 @@ public class DhaverdLogs { | ||||||
|         assert fileList != null; |         assert fileList != null; | ||||||
|         for (File file : fileList){ |         for (File file : fileList){ | ||||||
|             String fileName = file.getName(); |             String fileName = file.getName(); | ||||||
|             if (!fileName.contains("gitignore")){ |             if (!fileName.contains("gitignore") && file.getName() != getLogFile().getName()){ | ||||||
|                 if (deleteBySevenDays){ |                 if (deleteBySevenDays){ | ||||||
|                     String[] params = fileName.split("_"); |                     String[] params = fileName.split("_"); | ||||||
|                     String date = params[0]; |                     String date = params[0]; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue