From 9e643f1f2babb69d44c119e5cd8a6ca7ec570c3a Mon Sep 17 00:00:00 2001 From: Javier Montalvo Orus Date: Tue, 7 Nov 2006 12:35:39 +0000 Subject: [PATCH] Added //$NON-NLS-1$ tags to FTPHostFile.java to avoid warnings --- .../src/org/eclipse/rse/services/files/ftp/FTPHostFile.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rse/plugins/org.eclipse.rse.services.files.ftp/src/org/eclipse/rse/services/files/ftp/FTPHostFile.java b/rse/plugins/org.eclipse.rse.services.files.ftp/src/org/eclipse/rse/services/files/ftp/FTPHostFile.java index 4b519f411be..4c7de3cb4b0 100644 --- a/rse/plugins/org.eclipse.rse.services.files.ftp/src/org/eclipse/rse/services/files/ftp/FTPHostFile.java +++ b/rse/plugins/org.eclipse.rse.services.files.ftp/src/org/eclipse/rse/services/files/ftp/FTPHostFile.java @@ -63,7 +63,7 @@ public class FTPHostFile implements IHostFile _size = ftpFile.getSize(); _isArchive = internalIsArchive(); - if(!systemName.toUpperCase().startsWith("WINDOWS")) + if(!systemName.toUpperCase().startsWith("WINDOWS")) //$NON-NLS-1$ { _canRead = ftpFile.hasPermission(FTPFile.USER_ACCESS, FTPFile.READ_PERMISSION); _canWrite = ftpFile.hasPermission(FTPFile.USER_ACCESS, FTPFile.WRITE_PERMISSION); @@ -111,7 +111,7 @@ public class FTPHostFile implements IHostFile return getName(); } else { StringBuffer path = new StringBuffer(getParentPath()); - if (!_parentPath.endsWith("/")) + if (!_parentPath.endsWith("/")) //$NON-NLS-1$ { path.append('/'); } @@ -148,7 +148,7 @@ public class FTPHostFile implements IHostFile public void renameTo(String newAbsolutePath) { - int i = newAbsolutePath.lastIndexOf("/"); + int i = newAbsolutePath.lastIndexOf("/"); //$NON-NLS-1$ if (i == -1) { _name = newAbsolutePath;