Skip to content

Commit

Permalink
remove Jackson Afterburner completely
Browse files Browse the repository at this point in the history
This removes Jackson Afterburner completely.

Related to jhipster#10283 (comment)
  • Loading branch information
SudharakaP committed Apr 20, 2020
1 parent 137deb3 commit 8f5cb1a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion generators/server/templates/build.gradle.ejs
Expand Up @@ -300,7 +300,6 @@ dependencies {
<%_ } _%>
implementation "com.fasterxml.jackson.core:jackson-annotations"
implementation "com.fasterxml.jackson.core:jackson-databind"
implementation "com.fasterxml.jackson.module:jackson-module-afterburner"
<%_ if (applicationType === 'gateway' && authenticationType === 'uaa') { _%>
implementation "org.apache.httpcomponents:httpclient"
<%_ } _%>
Expand Down
4 changes: 0 additions & 4 deletions generators/server/templates/pom.xml.ejs
Expand Up @@ -236,10 +236,6 @@
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-afterburner</artifactId>
</dependency>
<%_ if (databaseType === 'sql') { _%>
<dependency>
<groupId>com.h2database</groupId>
Expand Down
Expand Up @@ -23,7 +23,6 @@ import com.fasterxml.jackson.datatype.hibernate5.Hibernate5Module;
<%_ } _%>
import com.fasterxml.jackson.datatype.jdk8.Jdk8Module;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import com.fasterxml.jackson.module.afterburner.AfterburnerModule;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down Expand Up @@ -57,14 +56,6 @@ public class JacksonConfiguration {
}
<%_ } _%>

/*
* Jackson Afterburner module to speed up serialization/deserialization.
*/
@Bean
public AfterburnerModule afterburnerModule() {
return new AfterburnerModule();
}

/*
* Module for serialization/deserialization of RFC7807 Problem.
*/
Expand Down

0 comments on commit 8f5cb1a

Please sign in to comment.