comparison src/goodjava/io/IoUtils.java @ 1499:22e15cf73040

lucene.backup
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 09 May 2020 23:14:13 -0600
parents f04bfbb08721
children e66e3d50b289
comparison
equal deleted inserted replaced
1498:1b809d2fdf03 1499:22e15cf73040
45 byte[] a = new byte[8192]; 45 byte[] a = new byte[8192];
46 int n; 46 int n;
47 while( (n=in.read(a)) != -1 ) { 47 while( (n=in.read(a)) != -1 ) {
48 out.write(a,0,n); 48 out.write(a,0,n);
49 } 49 }
50 in.close();
50 } 51 }
51 52
52 } 53 }