fix a compiler warning
This commit is contained in:
parent
8da78ebac7
commit
61fc4ece55
|
@ -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 + ";");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue