-
Notifications
You must be signed in to change notification settings - Fork 172
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
Replace deprecated constants and methods in the extension package #717
Replace deprecated constants and methods in the extension package #717
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me and I would merge this.
Just want to make sure that the * imports are intended.
asciidoctorj-core/src/main/java/org/asciidoctor/extension/Contexts.java
Outdated
Show resolved
Hide resolved
- @deprecated BlockProcessor context constants (replaced by Contexts) - should we remove Processor constants ?
@robertpanzer should we remove I think we should write a rule to define when
https://www.scala-lang.org/api/current/scala/deprecated.html We could also add a |
I would vote for removing it with 2.0.0. Scala is a special case, it is just normal that it is incompatible with dot-releases, and therefore you see libraries available for Scala 2.11 and 2.12. So much for semantic versioning 😂 |
My point was to define a rule regarding |
Sorry if the comment about Scala was too harsh :) Yes, that makes sense. |
These are the kinds of rules we're trying to establish right now to make it easier to manage the projects and so users know what to expect. I recommend starting by adding them to a version policy section in the README. We can then go through the repositories and collect these up to display somewhere on asciidoctor.org. |
Map<String, String> config = new HashMap<>()