mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 05:22:22 +00:00
remove unused code
This commit is contained in:
1 parent
0049d2408b
commit
ccf006adb5
1 file changed
+1
-12
@@ -1017,18 +1017,7 @@ public class MavenModuleSetBuild extends AbstractMavenBuild<MavenModuleSet,Maven
|
||||
this.mavenVersion = mavenVersion;
|
||||
}
|
||||
|
||||
/**
|
||||
* Computes the path of {@link #rootPOM}.
|
||||
*
|
||||
* Returns "abc" if rootPOM="abc/pom.xml"
|
||||
* If rootPOM="pom.xml", this method returns "".
|
||||
*/
|
||||
private String getRootPath(String prefix) {
|
||||
int idx = Math.max(rootPOM.lastIndexOf('/'), rootPOM.lastIndexOf('\\'));
|
||||
if(idx==-1) return "";
|
||||
return prefix + rootPOM.substring(0,idx);
|
||||
}
|
||||
|
||||
|
||||
public List<PomInfo> invoke(File ws, VirtualChannel channel) throws IOException {
|
||||
File pom;
|
||||
|
||||
|
||||
Reference in new issue
Block a user