mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
remove unused variable
This commit is contained in:
1 parent
b2b36ae9e9
commit
cdaaa96944
1 file changed
-13
@@ -1027,7 +1027,6 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
|
||||
public List<PomInfo> invoke(File ws, VirtualChannel channel) throws IOException {
|
||||
File pom;
|
||||
String rootPOMRelPrefix;
|
||||
|
||||
PrintStream logger = listener.getLogger();
|
||||
|
||||
@@ -1046,18 +1045,6 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
if(!pom.exists())
|
||||
throw new AbortException(Messages.MavenModuleSetBuild_NoSuchPOMFile(pom));
|
||||
|
||||
if (rootPOM.startsWith("../") || rootPOM.startsWith("..\\")) {
|
||||
File wsp = new File(workspaceProper);
|
||||
|
||||
if (!ws.equals(wsp)) {
|
||||
rootPOMRelPrefix = ws.getCanonicalPath().substring(wsp.getCanonicalPath().length()+1)+"/";
|
||||
} else {
|
||||
rootPOMRelPrefix = wsp.getName() + "/";
|
||||
}
|
||||
} else {
|
||||
rootPOMRelPrefix = "";
|
||||
}
|
||||
|
||||
if(verbose)
|
||||
logger.println("Parsing "
|
||||
+ (nonRecursive ? "non-recursively " : "recursively ")
|
||||
|
||||
Reference in new issue
Block a user