From: incastrix Date: Sun, 20 Sep 2009 00:32:00 +0000 (+0000) Subject: Unused class. X-Git-Url: http://git.phpeclipse.com?hp=4cab40d887e8f6c3877a17da432ce98e22d2cb88 Unused class. --- diff --git a/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/variable/FileExpander.java b/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/variable/FileExpander.java deleted file mode 100644 index 2313ea4..0000000 --- a/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/variable/FileExpander.java +++ /dev/null @@ -1,37 +0,0 @@ -package net.sourceforge.phpdt.externaltools.variable; - -import org.eclipse.core.runtime.IPath; - -/** - * Expands a variable into the last opened PHP file - *

- * This class is not intended to be extended by clients. - *

- */ -public class FileExpander extends ResourceExpander { // implements - // IVariableTextExpander - // { - - /** - * Create an instance - */ - public FileExpander() { - super(); - } - - /** - * Returns a string representation of the path to a file or directory for - * the given variable tag and value or null. - * - * @see IVariableTextExpander#getText(String, String, ExpandVariableContext) - */ - public String getText(String varTag, String varValue, - ExpandVariableContext context) { - IPath path = getPath(varTag, varValue, context); - if (path != null) { - return path.toString(); - } - return ""; - } - -}