Skip to content

Commit e086c70

Browse files
committed
cleanup(sdk): auto format java
1 parent 72e73a3 commit e086c70

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

engine/modules/entities/src/main/java/com/codingame/gameengine/module/entities/ContainerBasedEntity.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@
88
/**
99
*
1010
*
11-
* @param <T> a subclass inheriting Entity, used in order to return <b>this</b> as a T instead of a <code>ContainerBasedEntity</code>.
11+
* @param <T>
12+
* a subclass inheriting Entity, used in order to return <b>this</b> as a T instead of a <code>ContainerBasedEntity</code>.
1213
*/
1314
public abstract class ContainerBasedEntity<T extends Entity<?>> extends Entity<T> {
1415

1516
private Set<Entity<?>> entities;
16-
17+
1718
ContainerBasedEntity() {
1819
super();
1920

2021
entities = new HashSet<>();
2122
}
23+
2224
/**
2325
* Separates the given entity from this <code>ContainerBasedEntity</code>.
2426
*
@@ -56,8 +58,8 @@ public void add(Entity<?>... entities) {
5658

5759
private String asString(Set<Entity<?>> entities) {
5860
return entities.stream()
59-
.map(e -> String.valueOf(e.getId()))
60-
.collect(Collectors.joining(","));
61+
.map(e -> String.valueOf(e.getId()))
62+
.collect(Collectors.joining(","));
6163
}
6264

6365
}

0 commit comments

Comments
 (0)