From 99ab43da7e1c0860654cb99af5b740cf3480b685 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 17 Jul 2012 08:27:45 +0200 Subject: Revert "Remove warning" This reverts commit a15e8577ff0f4b9e88cdf78e6aaed3ebd6259c50. --- .../java/org/sonar/core/persistence/BatchSession.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'sonar-core') diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/BatchSession.java b/sonar-core/src/main/java/org/sonar/core/persistence/BatchSession.java index 5c53ad77e68..d7f7211feb9 100644 --- a/sonar-core/src/main/java/org/sonar/core/persistence/BatchSession.java +++ b/sonar-core/src/main/java/org/sonar/core/persistence/BatchSession.java @@ -59,42 +59,42 @@ public final class BatchSession implements SqlSession { session.select(statement, handler); } - public T selectOne(String statement) { + public Object selectOne(String statement) { reset(); return session.selectOne(statement); } - public T selectOne(String statement, Object parameter) { + public Object selectOne(String statement, Object parameter) { reset(); return session.selectOne(statement, parameter); } - public List selectList(String statement) { + public List selectList(String statement) { reset(); return session.selectList(statement); } - public List selectList(String statement, Object parameter) { + public List selectList(String statement, Object parameter) { reset(); return session.selectList(statement, parameter); } - public List selectList(String statement, Object parameter, RowBounds rowBounds) { + public List selectList(String statement, Object parameter, RowBounds rowBounds) { reset(); return session.selectList(statement, parameter, rowBounds); } - public Map selectMap(String statement, String mapKey) { + public Map selectMap(String statement, String mapKey) { reset(); return session.selectMap(statement, mapKey); } - public Map selectMap(String statement, Object parameter, String mapKey) { + public Map selectMap(String statement, Object parameter, String mapKey) { reset(); return session.selectMap(statement, parameter, mapKey); } - public Map selectMap(String statement, Object parameter, String mapKey, RowBounds rowBounds) { + public Map selectMap(String statement, Object parameter, String mapKey, RowBounds rowBounds) { reset(); return session.selectMap(statement, parameter, mapKey, rowBounds); } -- cgit v1.2.3