GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Move the multi-page generate method into MavenReport by slachiewicz · Pull Request #87 · apache/maven-reporting-api Conversation
Member
Adds `generate(Sink, SinkFactory, Locale)` to `MavenReport` as a default method and deprecates `MavenMultiPageReport` and the two-argument `generate(Sink, Locale)`, as the `MavenMultiPageReport` Javadoc always intended. The two methods delegate to each other, the same way `getOutputPath()` and `getOutputName()` do, so existing reports keep working and new ones can implement only the multi-page method. This PR does not change callers: the site plugin's `instanceof MavenMultiPageReport` branch and `AbstractMavenReport` can drop the interface once this is released. Verified: `maven-reporting-impl` `mvn verify` against this snapshot → BUILD SUCCESS; the only new warning is the `MavenMultiPageReport` deprecation.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe two generate methods are defaults that call each other, like getOutputPath and getOutputName: an implementation overrides at least one. Removing either default reintroduces the MavenMultiPageReport split.
slachiewicz
marked this pull request as ready for review
Uh oh!
There was an error while loading. Please reload this page.
This was referenced
Bump org.apache.maven.reporting:maven-reporting-api from 4.0.0 to 4.1.0
apache/maven-help-plugin#450
Merged
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesLabelsProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |