1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 03:55:22 +02:00

[cleanup] fix compiler warnings

This commit is contained in:
Kushal Munir 2006-12-05 02:57:38 +00:00
parent 8e54965e02
commit 4189c96f68

View file

@ -380,13 +380,13 @@ public class SystemSelectRemoteFileOrFolderForm
*/ */
public void setPreSelection(IRemoteFile selection) public void setPreSelection(IRemoteFile selection)
{ {
SystemBasePlugin.logInfo("given: '" + selection.getAbsolutePath()+"'"); SystemBasePlugin.logInfo("given: '" + selection.getAbsolutePath()+"'"); //$NON-NLS-1$ //$NON-NLS-2$
IRemoteFile parentFolder = selection.getParentRemoteFile(); IRemoteFile parentFolder = selection.getParentRemoteFile();
/**/ /**/
if (parentFolder != null) if (parentFolder != null)
SystemBasePlugin.logInfo("parent of given: '" + parentFolder.getAbsolutePath() + "'"); SystemBasePlugin.logInfo("parent of given: '" + parentFolder.getAbsolutePath() + "'"); //$NON-NLS-1$ //$NON-NLS-2$
else else
SystemBasePlugin.logInfo("parent of given is null"); SystemBasePlugin.logInfo("parent of given is null"); //$NON-NLS-1$
/**/ /**/
// it might be a bug, bug when asking for the parent of '/', I get back '/'!!! // it might be a bug, bug when asking for the parent of '/', I get back '/'!!!
if ((parentFolder != null) && if ((parentFolder != null) &&
@ -406,7 +406,7 @@ public class SystemSelectRemoteFileOrFolderForm
} }
else else
{ {
SystemBasePlugin.logInfo("preSelectRoot is true"); SystemBasePlugin.logInfo("preSelectRoot is true"); //$NON-NLS-1$
preSelectRoot = true; preSelectRoot = true;
setRestrictFolders(false); setRestrictFolders(false);
setRootFolder(selection); setRootFolder(selection);