package com.yoda.yodao.test;

import java.util.Arrays;

import com.yoda.yodao.test.dao.UserDao;
import com.yoda.yodao.test.dao.impl.UserDaoImpl;
import com.yoda.yodao.test.model.User;
import com.yodao.YoDaoFactory;

public class App {

	public static void main(String[] args) {
		/*
		 * UserDao userDao = YoDaoFactory.create(UserDao.class); User user =
		 * userDao.findOne(1); user.getAge();
		 */

		String[] arr = new String[] { "a", "b" };
		System.out.println(Arrays.toString(arr));
	}

}

@@ -36,29 +36,36 @@
 ort 
-java.util.Arrays
+com.yoda.yodao.DaoFactory
 ;%0D%0A
-%0D%0A
 impo
@@ -105,58 +105,8 @@
 o;%0D%0A
-import com.yoda.yodao.test.dao.impl.UserDaoImpl;%0D%0A
 impo
@@ -144,40 +144,8 @@
 er;%0D
-%0Aimport com.yodao.YoDaoFactory;%0D
 %0A%0D%0Ap
@@ -214,17 +214,8 @@
 %0D%0A%09%09
-/*%0D%0A%09%09 * 
 User
@@ -232,10 +232,8 @@
 o = 
-Yo
 DaoF
@@ -261,17 +261,20 @@
 .class);
- 
+%0D%0A%09%09
 User use
@@ -276,22 +276,16 @@
 r user =
-%0D%0A%09%09 *
  userDao
@@ -300,120 +300,24 @@
 (1);
- user.getAge();%0D%0A%09%09 */%0D%0A%0D%0A%09%09String%5B%5D arr = new String%5B%5D %7B %22a%22, %22b%22 %7D;%0D%0A%09%09System.out.println(Arrays.toString(arr)
+%0D%0A%09%09user.getAge(
 );%0D%0A

update testing