Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void hoge(){
- // ~略~
- String emp_code = EmpUtil.getEmp(foo).getEmpCode(); // この行に警告を出して欲しかった。
- // ~略~
- }
- public static Emp getEmp(String foo){
- return empDao.findByName(foo); // nullを返すかもしれない
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement