From 61fc4ece5508ae4bc99de552b2b898dda32c0c81 Mon Sep 17 00:00:00 2001 From: Andy Janata Date: Thu, 12 Jan 2012 20:05:48 -0800 Subject: [PATCH] fix a compiler warning --- src/net/socialgamer/cah/Schema.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/net/socialgamer/cah/Schema.java b/src/net/socialgamer/cah/Schema.java index bf282eb..4beaa94 100644 --- a/src/net/socialgamer/cah/Schema.java +++ b/src/net/socialgamer/cah/Schema.java @@ -31,14 +31,15 @@ public class Schema extends HttpServlet { /** * @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 { // TODO Auto-generated method stub - AnnotationConfiguration c = new AnnotationConfiguration(); + final AnnotationConfiguration c = new AnnotationConfiguration(); c.configure(); - String[] ls = c.generateSchemaCreationScript(new PostgreSQLDialect()); - PrintWriter out = response.getWriter(); - for (String l : ls) { + final String[] ls = c.generateSchemaCreationScript(new PostgreSQLDialect()); + final PrintWriter out = response.getWriter(); + for (final String l : ls) { out.println(l + ";"); } }