Changeset 197
- Timestamp:
- 11/04/02 15:38:57 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/j/src/org/armedbear/j/Utilities.java
r196 r197 3 3 * 4 4 * Copyright (C) 1998-2002 Peter Graves 5 * $Id: Utilities.java,v 1. 3 2002-11-04 15:32:22piso Exp $5 * $Id: Utilities.java,v 1.4 2002-11-04 15:38:57 piso Exp $ 6 6 * 7 7 * This program is free software; you can redistribute it and/or … … 829 829 { 830 830 if (!source.isFile()) { 831 Log.error("copyFile error - source is not a file ");831 Log.error("copyFile error - source is not a file: " + source); 832 832 return false; 833 833 } 834 834 if (destination.isDirectory()) { 835 Log.error("copyFile error - destination is a directory ");835 Log.error("copyFile error - destination is a directory: " + destination); 836 836 return false; 837 837 } 838 838 if (destination.isFile() && !destination.canWrite()) { 839 Log.error("copyFile error - destination is read only ");839 Log.error("copyFile error - destination is read only: " + destination); 840 840 return false; 841 841 } … … 890 890 if (destination.exists()) { 891 891 // Unable to delete existing destination file. 892 Log.error("copyFile error - unable to delete existing destination file ");892 Log.error("copyFile error - unable to delete existing destination file: " + destination); 893 893 tempFile.delete(); 894 894 return false;
Note: See TracChangeset
for help on using the changeset viewer.