Skip to content

Commit c8680e7

Browse files
committed
Fix styles
1 parent 58b7362 commit c8680e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/esmf-aspect-model-document-generators/src/main/java/org/eclipse/esmf/aspectmodel/generator/sql/databricks/AspectModelDatabricksDenormalizedSqlVisitor.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public String visitProperty( final Property property, final Context context ) {
196196
}
197197

198198
return property.getCharacteristic().get().accept( this, context.copy()
199-
.prefix( ( context.prefix().isEmpty() ? "" : context.prefix() + LEVEL_DELIMITER ) + columnName( property ) )
199+
.prefix( (context.prefix().isEmpty() ? "" : context.prefix() + LEVEL_DELIMITER) + columnName( property ) )
200200
.currentProperty( property )
201201
.build() );
202202
}
@@ -220,7 +220,6 @@ public String visitEither( final Either either, final Context context ) {
220220
public String visitCharacteristic( final Characteristic characteristic, final Context context ) {
221221
final Property property = context.currentProperty();
222222
final Type type = characteristic.getDataType().orElseThrow();
223-
System.out.println("TEST Complex Type Collection or not: " + type.isComplexType() + " : " + characteristic.getName());
224223
if ( type.isComplexType() ) {
225224
// Break endless recursion
226225
if ( context.recursionDepth().getOrDefault( property, 0 ) >= MAX_RECURSION_DEPTH ) {
@@ -277,9 +276,10 @@ public String visitCollection( final Collection collection, final Context contex
277276
}
278277
}
279278

280-
private String processComplexType( final ComplexType entity, final Context context, final String parentPrefix, final boolean isCollection ) {
279+
private String processComplexType( final ComplexType entity, final Context context, final String parentPrefix,
280+
final boolean isCollection ) {
281281
StringBuilder columns = new StringBuilder();
282-
final String lineDelimiter = ",\n ";
282+
final String lineDelimiter = ",\n ";
283283

284284
entity.getAllProperties().forEach( property -> {
285285
if ( property.getDataType().isEmpty() || property.isNotInPayload() ) {

0 commit comments

Comments
 (0)