Mercurial Hosting > luan
comparison src/goodjava/lucene/backup/Backup.java @ 1673:1b9f9fdb3b41
remove backup password
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 28 May 2022 21:00:30 -0600 |
parents | 8dd8c556c449 |
children | af18eacf187c |
comparison
equal
deleted
inserted
replaced
1672:8dd8c556c449 | 1673:1b9f9fdb3b41 |
---|---|
28 private final File index; | 28 private final File index; |
29 | 29 |
30 Backup(File dir) { | 30 Backup(File dir) { |
31 this.dir = dir; | 31 this.dir = dir; |
32 this.index = new File(dir,"index"); | 32 this.index = new File(dir,"index"); |
33 dir.setLastModified(System.currentTimeMillis()); | |
33 } | 34 } |
34 | 35 |
35 void handle(RpcServer rpc,RpcCall call) { | 36 void handle(RpcServer rpc,RpcCall call) { |
36 try { | 37 try { |
37 IoUtils.mkdirs(dir); | 38 IoUtils.mkdirs(dir); |