Skip to content

Commit 3a8a874

Browse files
committed
feat: remove extra code
Signed-off-by: Otavio Santana <[email protected]>
1 parent 9e48074 commit 3a8a874

File tree

1 file changed

+0
-14
lines changed
  • src/main/java/org/soujava/demos/mongodb/document

1 file changed

+0
-14
lines changed

src/main/java/org/soujava/demos/mongodb/document/App.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -29,20 +29,6 @@ public static void main(String[] args) {
2929
var faker = new Faker();
3030
LOGGER.info("Starting the application");
3131
try (SeContainer container = SeContainerInitializer.newInstance().initialize()) {
32-
var template = container.select(DocumentTemplate.class).get();
33-
LOGGER.info("Creating 10 documents");
34-
for (int index = 0; index < 5; index++) {
35-
template.insert(List.of(AWSCloudProvider.of(faker), AzureCloudProvider.of(faker)));
36-
}
37-
38-
System.out.println("The cloud providers here");
39-
template.select(CloudProvider.class).stream().forEach(System.out::println);
40-
41-
System.out.println("The AWS cloud providers here");
42-
template.select(AWSCloudProvider.class).stream().forEach(System.out::println);
43-
44-
System.out.println("The Azure cloud providers here");
45-
template.select(AzureCloudProvider.class).stream().forEach(System.out::println);
4632
}
4733
}
4834

0 commit comments

Comments
 (0)