Skip to content

Commit

Permalink
Merge pull request #24515 from Tcharl/comment_cleanup
Browse files Browse the repository at this point in the history
use /**/ for template comments
  • Loading branch information
DanielFran authored Dec 9, 2023
2 parents c9188b7 + 1d84b4e commit 4aa14df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
-%><%
let helpBlocks = 0; %>
{
<%_ // Male (default) variant
<%_ /* Male (default) variant */
let Um = 'Um';
let novo = 'novo';
let criado = 'criado';
Expand Down
2 changes: 1 addition & 1 deletion generators/server/templates/build.gradle.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ dependencies {
// to use a SNAPSHOT release instead of a stable release
implementation "tech.jhipster:jhipster-framework"
implementation "jakarta.annotation:jakarta.annotation-api"
<%_ // This is useful for major Spring Boot migration
<%_ /* This is useful for major Spring Boot migration */
if (addSpringMilestoneRepository) { _%>
runtimeOnly "org.springframework.boot:spring-boot-properties-migrator"
<%_ } _%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ import java.util.UUID;
@Mapper(componentModel = "spring")
public interface <%= entityClass %>Mapper extends EntityMapper<<%= dtoClass %>, <%= persistClass %>> {
<%_ if (!embedded) { _%>
<%_ var renMapAnotEnt = false; //Render Mapping Annotation during Entity to DTO conversion? _%>
<%_ var renMapAnotEnt = false; /*Render Mapping Annotation during Entity to DTO conversion?*/ _%>
<%_ for (relationship of dtoRelationships) { _%>
<%_
renMapAnotEnt = true;
Expand All @@ -80,7 +80,7 @@ public interface <%= entityClass %>Mapper extends EntityMapper<<%= dtoClass %>,
<%= dtoClass %> toDto(<%= persistClass %> s);
<%_ } _%>
<%_ var renMapAnotDto = false; //Render Mapping Annotation during DTO to Entity conversion? _%>
<%_ var renMapAnotDto = false; /*Render Mapping Annotation during DTO to Entity conversion?*/ _%>
<%_ if(primaryKey.ids.length > 1) { _%>
<%_ renMapAnotDto = true; _%>
<%_ for (const id of primaryKey.ids) { _%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

<%_ for (const relationship of relationships) { -%>
<&_ if (fragment.relationship<%- relationship.relationshipNameCapitalized %>AnnotationSection) { -&>
<% // just break the cycle // in the reactive area, we already have the annotation in place
<% /* just break the cycle in the reactive area, we already have the annotation in place */
if (!relationship.ownerSide && !reactive) { %>
@org.springframework.data.annotation.Transient
<% } %>
Expand Down

0 comments on commit 4aa14df

Please sign in to comment.