mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 23:25:26 +02:00
[cleanup] fix compiler warnings
This commit is contained in:
parent
d4368f9628
commit
9720a193bd
2 changed files with 1 additions and 4 deletions
|
@ -41,8 +41,7 @@ public class FTPHostFile implements IHostFile
|
|||
private boolean _canWrite = true;
|
||||
private boolean _isRoot;
|
||||
private boolean _exists;
|
||||
private String _systemName;
|
||||
|
||||
|
||||
public FTPHostFile(String parentPath, String name, boolean isDirectory, boolean isRoot, long lastModified, long size, boolean exists)
|
||||
{
|
||||
_parentPath = parentPath;
|
||||
|
@ -59,7 +58,6 @@ public class FTPHostFile implements IHostFile
|
|||
|
||||
public FTPHostFile(String parentPath, FTPFile ftpFile, String systemName)
|
||||
{
|
||||
_systemName = systemName;
|
||||
_parentPath = parentPath;
|
||||
|
||||
if(systemName.equals(FTPClientConfig.SYST_VMS))
|
||||
|
|
|
@ -235,7 +235,6 @@ public class FTPService extends AbstractFileService implements IFileService, IFT
|
|||
//For VMS, normalize the home location
|
||||
if(_systemName.equals(FTPClientConfig.SYST_VMS))
|
||||
{
|
||||
String name = getName();
|
||||
_userHome = _userHome.replaceAll(":\\[", "/"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
_userHome = '/'+_userHome.substring(0,_userHome.lastIndexOf(']'));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue