From bc446e25d40278683b7107ca4a9a9913aa325693 Mon Sep 17 00:00:00 2001 From: Amit Kumatr Date: Tue, 31 Jan 2023 18:31:35 +0530 Subject: [PATCH] removed unwanted code --- .../ListVsStreamQueryApplication.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/persistence-modules/spring-data-jpa-query-3/src/main/java/com/baeldung/spring/data/jpa/collectionsvsstream/ListVsStreamQueryApplication.java b/persistence-modules/spring-data-jpa-query-3/src/main/java/com/baeldung/spring/data/jpa/collectionsvsstream/ListVsStreamQueryApplication.java index 2585aa0497..58123afa6c 100644 --- a/persistence-modules/spring-data-jpa-query-3/src/main/java/com/baeldung/spring/data/jpa/collectionsvsstream/ListVsStreamQueryApplication.java +++ b/persistence-modules/spring-data-jpa-query-3/src/main/java/com/baeldung/spring/data/jpa/collectionsvsstream/ListVsStreamQueryApplication.java @@ -1,15 +1,12 @@ package com.baeldung.spring.data.jpa.collectionsvsstream; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class ListVsStreamQueryApplication { - @Autowired private UserRepository userRepository; - - public static void main(String[] args) { - SpringApplication.run(ListVsStreamQueryApplication.class, args); - } + public static void main(String[] args) { + SpringApplication.run(ListVsStreamQueryApplication.class, args); + } }