Skip to content

Commit d56749e

Browse files
proskijakub-bochenski
authored andcommitted
StashBuildTrigger: Remove all references to projectPath, it's not used
1 parent c82ffb6 commit d56749e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/java/stashpullrequestbuilder/stashpullrequestbuilder/StashBuildTrigger.java

-7
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
public class StashBuildTrigger extends Trigger<Job<?, ?>> {
3535
private static final Logger logger =
3636
Logger.getLogger(MethodHandles.lookup().lookupClass().getName());
37-
private final String projectPath;
3837
private final String cron;
3938
private final String stashHost;
4039
private final String credentialsId;
@@ -61,7 +60,6 @@ public class StashBuildTrigger extends Trigger<Job<?, ?>> {
6160

6261
@DataBoundConstructor
6362
public StashBuildTrigger(
64-
String projectPath,
6563
String cron,
6664
String stashHost,
6765
String credentialsId,
@@ -80,7 +78,6 @@ public StashBuildTrigger(
8078
boolean cancelOutdatedJobsEnabled)
8179
throws ANTLRException {
8280
super(cron);
83-
this.projectPath = projectPath;
8481
this.cron = cron;
8582
this.stashHost = stashHost;
8683
this.credentialsId = credentialsId;
@@ -108,10 +105,6 @@ public String getStashHost() {
108105
return stashHost;
109106
}
110107

111-
public String getProjectPath() {
112-
return this.projectPath;
113-
}
114-
115108
public String getCron() {
116109
return this.cron;
117110
}

0 commit comments

Comments
 (0)