1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-05 23:35:48 +02:00

Added //$NON-NLS-1$ tags to FTPHostFile.java to avoid warnings

This commit is contained in:
Javier Montalvo Orus 2006-11-07 12:35:39 +00:00
parent ac3fef760c
commit 9e643f1f2b

View file

@ -63,7 +63,7 @@ public class FTPHostFile implements IHostFile
_size = ftpFile.getSize(); _size = ftpFile.getSize();
_isArchive = internalIsArchive(); _isArchive = internalIsArchive();
if(!systemName.toUpperCase().startsWith("WINDOWS")) if(!systemName.toUpperCase().startsWith("WINDOWS")) //$NON-NLS-1$
{ {
_canRead = ftpFile.hasPermission(FTPFile.USER_ACCESS, FTPFile.READ_PERMISSION); _canRead = ftpFile.hasPermission(FTPFile.USER_ACCESS, FTPFile.READ_PERMISSION);
_canWrite = ftpFile.hasPermission(FTPFile.USER_ACCESS, FTPFile.WRITE_PERMISSION); _canWrite = ftpFile.hasPermission(FTPFile.USER_ACCESS, FTPFile.WRITE_PERMISSION);
@ -111,7 +111,7 @@ public class FTPHostFile implements IHostFile
return getName(); return getName();
} else { } else {
StringBuffer path = new StringBuffer(getParentPath()); StringBuffer path = new StringBuffer(getParentPath());
if (!_parentPath.endsWith("/")) if (!_parentPath.endsWith("/")) //$NON-NLS-1$
{ {
path.append('/'); path.append('/');
} }
@ -148,7 +148,7 @@ public class FTPHostFile implements IHostFile
public void renameTo(String newAbsolutePath) public void renameTo(String newAbsolutePath)
{ {
int i = newAbsolutePath.lastIndexOf("/"); int i = newAbsolutePath.lastIndexOf("/"); //$NON-NLS-1$
if (i == -1) if (i == -1)
{ {
_name = newAbsolutePath; _name = newAbsolutePath;