diff --git a/repository/src/main/java/com/iluwatar/repository/App.java b/repository/src/main/java/com/iluwatar/repository/App.java index 3e4d46d00..37a5f7962 100644 --- a/repository/src/main/java/com/iluwatar/repository/App.java +++ b/repository/src/main/java/com/iluwatar/repository/App.java @@ -13,14 +13,18 @@ import org.springframework.context.support.ClassPathXmlApplicationContext; * query construction code is concentrated. This becomes more important when there are a large * number of domain classes or heavy querying. In these cases particularly, adding this layer helps * minimize duplicate query logic. - * - * In this example we utilize Spring Data to automatically generate a repository for us from the Person - * domain object. Using the PersonDao we perform CRUD operations on the entity. Underneath we have + *

+ * In this example we utilize Spring Data to automatically generate a repository for us from the {@link Person} + * domain object. Using the {@link PersonRepository} we perform CRUD operations on the entity. Underneath we have * configured in-memory H2 database for which schema is created and dropped on each run. * */ public class App { + /** + * Program entry point + * @param args command line args + */ public static void main(String[] args) { ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext( "applicationContext.xml"); diff --git a/repository/src/test/java/com/iluwatar/repository/AppTest.java b/repository/src/test/java/com/iluwatar/repository/AppTest.java index 2e638ba6b..14f597045 100644 --- a/repository/src/test/java/com/iluwatar/repository/AppTest.java +++ b/repository/src/test/java/com/iluwatar/repository/AppTest.java @@ -4,6 +4,11 @@ import org.junit.Test; import com.iluwatar.repository.App; +/** + * + * Application test + * + */ public class AppTest { @Test