Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1253 EnableRepoIssues implemented and used #1256

Merged
merged 4 commits into from
Oct 16, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#1253 fix javadoc
  • Loading branch information
amihaiemil committed Oct 16, 2021
commit e192156ecc127cbbd1077f603f26806bf266c58f
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@
import org.slf4j.LoggerFactory;

/**
* Enable Issues in the Project's Repo. We will move on to the next Step even
* if the operation fails, because most Repos have the Issues enabled anyway.
* Enable Issues in the Project's Repo.
* @author Mihai Andronache ([email protected])
* @version $Id$
* @since 0.0.95
Expand All @@ -53,6 +52,12 @@ public EnableRepoIssues(final Step next) {
super(next);
}

/**
* {@inheritDoc}
*
* We will move on to the next Step even if the operation fails,
* because most Repos have the Issues enabled anyway.
*/
@Override
public void perform(final Event event) {
final Project project = event.project();
Expand All @@ -61,6 +66,8 @@ public void perform(final Event event) {
LOG.debug(
"Enabling Issues for Repo " + repoFullName
+ " at " + provider + "... "


);
try {
project.repo().enableIssues();
Expand Down