Commit d03fada2 authored by Michael Schimpelsberger's avatar Michael Schimpelsberger
Browse files

Leere Liste kann angezeigt werden

parent ab9b891c
......@@ -112,7 +112,6 @@ public class H2StudentDao implements StudentDao {
} //end finally try
rs=null;
} //end try
if (students.size()==0) throw new NotFoundException();
return students;
}
......@@ -302,8 +301,7 @@ public class H2StudentDao implements StudentDao {
se.printStackTrace();
} //end finally try
rs=null;
} //end try
if (inscriptions.size()==0) throw new NotFoundException();
} //end try
return inscriptions;
}
......
......@@ -72,7 +72,6 @@ public class H2StudyDao implements StudyDao{
} //end finally try
rs=null;
} //end try
if (studies.size()==0) throw new NotFoundException();
return studies;
}
......
......@@ -63,8 +63,7 @@ public class H2SubjectDao implements SubjectDao {
se.printStackTrace();
} //end finally try
rs=null;
} //end try
if (subjects.size()==0) throw new NotFoundException();
} //end try
return subjects;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment