Renaming the project
Renaming the project
This commit is contained in:
parent
bc5e87c7ef
commit
7cf3afbd79
@ -4,12 +4,12 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>baeldung</groupId>
|
<groupId>baeldung</groupId>
|
||||||
<artifactId>spring-check-null</artifactId>
|
<artifactId>call-all-getters</artifactId>
|
||||||
<version>0.0.1-SNAPSHOT</version>
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>spring-check-if-a-property-is-null</name>
|
<name>call-all-getters</name>
|
||||||
<description>Calling getters using Introspector</description>
|
<description>Calling all getters using Introspector</description>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
@ -2,13 +2,10 @@ package com.baeldung;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
||||||
|
|
||||||
import com.baeldung.reflection.model.Customer;
|
import com.baeldung.reflection.model.Customer;
|
||||||
import com.baeldung.reflection.util.Utils;
|
import com.baeldung.reflection.util.Utils;
|
||||||
|
|
||||||
@SpringBootApplication
|
public class CallAllGettersApplication {
|
||||||
public class SpringCheckIfAPropertyIsNullApplication {
|
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
|
|
@ -5,16 +5,11 @@ import java.util.List;
|
|||||||
|
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
|
||||||
import org.springframework.boot.test.context.SpringBootTest;
|
|
||||||
import org.springframework.test.context.junit4.SpringRunner;
|
|
||||||
|
|
||||||
import com.baeldung.reflection.model.Customer;
|
import com.baeldung.reflection.model.Customer;
|
||||||
import com.baeldung.reflection.util.Utils;
|
import com.baeldung.reflection.util.Utils;
|
||||||
|
|
||||||
@RunWith(SpringRunner.class)
|
public class CallAllGettersApplicationTests {
|
||||||
@SpringBootTest
|
|
||||||
public class SpringCheckIfAPropertyIsNullApplicationTests {
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void givenCustomer_whenAFieldIsNull_thenFieldNameInResult() throws Exception {
|
public void givenCustomer_whenAFieldIsNull_thenFieldNameInResult() throws Exception {
|
Loading…
x
Reference in New Issue
Block a user