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

[AVRO-2228] Bump Apache Velocity to 2.0 #332

Merged
merged 1 commit into from Nov 8, 2018
Merged

Conversation

Fokko
Copy link
Contributor

@Fokko Fokko commented Sep 24, 2018

@Fokko Fokko force-pushed the AVRO-2228 branch 2 times, most recently from 63add06 to 641fb9c Compare September 24, 2018 17:33
@@ -929,75 +919,6 @@ public static void main(String[] args) throws Exception {
compileProtocol(new File(args[0]), new File(args[1]));
}

public static final class Slf4jLogChute implements LogChute {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing this class would break the API. Despite it is unlikely that any Avro client used this class (and very unfortunate that it is public, it seems that it isn't used anywhere else apart from this class), would it be possible to keep this, and mark as deprecated?

@Fokko Fokko force-pushed the AVRO-2228 branch 2 times, most recently from 17ed126 to 668f761 Compare November 7, 2018 14:45
- Remove Slf4jLogChute since 2.0 uses SLF4J itself
- Update $velocityHasNext to $foreach.hasNext because of deprecation
- Update $velocityCount to $foreach.count because of deprecation
- 2.0 does not depend on apache-common collections anymore which
  used to be an old version with security issues
@dkulp dkulp merged commit c4386ad into apache:master Nov 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants