On 12/1/10, Ian Lea wrote:
> It's probably this line:
>
> Directory.copy(ramDir, FSDirectory.open(indexDir), false); // 3
>
> the javadocs say
>
> Copy contents of a directory src to a directory dest. If a file in src
> already exists in dest then the one in dest will be blindly
> overwritten.
>
>
It's probably this line:
Directory.copy(ramDir, FSDirectory.open(indexDir), false); // 3
the javadocs say
Copy contents of a directory src to a directory dest. If a file in src
already exists in dest then the one in dest will be blindly
overwritten.
I don't think you gain anything by using an i