fix a compiler warning

This commit is contained in:
Andy Janata 2012-01-12 20:05:48 -08:00
parent 8da78ebac7
commit 61fc4ece55
1 changed files with 6 additions and 5 deletions

View File

@ -31,14 +31,15 @@ public class Schema extends HttpServlet {
/** /**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response) * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/ */
protected void doGet(HttpServletRequest request, HttpServletResponse response) @Override
protected void doGet(final HttpServletRequest request, final HttpServletResponse response)
throws ServletException, IOException { throws ServletException, IOException {
// TODO Auto-generated method stub // TODO Auto-generated method stub
AnnotationConfiguration c = new AnnotationConfiguration(); final AnnotationConfiguration c = new AnnotationConfiguration();
c.configure(); c.configure();
String[] ls = c.generateSchemaCreationScript(new PostgreSQLDialect()); final String[] ls = c.generateSchemaCreationScript(new PostgreSQLDialect());
PrintWriter out = response.getWriter(); final PrintWriter out = response.getWriter();
for (String l : ls) { for (final String l : ls) {
out.println(l + ";"); out.println(l + ";");
} }
} }