Skip to content

Commit

Permalink
Angular Core Migration: Fix Sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
wmarques committed Jul 9, 2022
1 parent 2e123d8 commit 99b1604
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package tech.jhipster.lite.generator.client.angular.core.domain;

import java.util.List;
import java.util.Map;

public class Angular {

public static final String APP_MODULE = "app.module.ts";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package tech.jhipster.lite.generator.client.angular.core.domain;

import static tech.jhipster.lite.generator.project.domain.DefaultConfig.BASE_NAME;
import static tech.jhipster.lite.module.domain.JHipsterModule.*;
import static tech.jhipster.lite.module.domain.packagejson.VersionSource.ANGULAR;

Expand Down Expand Up @@ -56,7 +55,6 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) {
.and()
.optionalReplacements()
.in("package.json")
// TODO put this in common
.add(justLineBefore(text(CACHE_NEEDLE)), jestSonar(properties.indentation()))
.and()
.and()
Expand Down Expand Up @@ -97,7 +95,6 @@ public JHipsterModule buildModule(JHipsterModuleProperties properties) {
//@formatter:on
}

// TODO check duplicate worth ?
private String jestSonar(Indentation indentation) {
return new StringBuilder()
.append(indentation.spaces())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import tech.jhipster.lite.generator.buildtool.maven.application.MavenApplicationService;
import tech.jhipster.lite.generator.client.angular.core.application.AngularApplicationService;
import tech.jhipster.lite.module.domain.properties.JHipsterModulePropertiesDefinition;
import tech.jhipster.lite.module.infrastructure.primary.JHipsterModuleApiDoc;
Expand Down

0 comments on commit 99b1604

Please sign in to comment.