X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/variable/ProjectNameExpander.java b/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/variable/ProjectNameExpander.java index 11fe671..df87812 100644 --- a/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/variable/ProjectNameExpander.java +++ b/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/variable/ProjectNameExpander.java @@ -8,11 +8,12 @@ import org.eclipse.core.resources.IProject; public class ProjectNameExpander implements IVariableTextExpander { /** - * Returns the name of the project in the given context or - * null if there is no project in the context. + * Returns the name of the project in the given context or null + * if there is no project in the context. */ - public String getText(String varTag, String varValue, ExpandVariableContext context) { - IProject project= context.getProject(); + public String getText(String varTag, String varValue, + ExpandVariableContext context) { + IProject project = context.getProject(); if (project != null) { return project.getName(); }