From 428fbadc5f117da2a8e2bb8a9e43ddbf809f6fdb Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 7 Dec 2012 10:15:29 +0100 Subject: Fix some quality flaws --- sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sonar-core') diff --git a/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java b/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java index b8a7c88e546..b4f9e35f856 100644 --- a/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java +++ b/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java @@ -81,8 +81,8 @@ public class ResourceDao { } public SnapshotDto getLastSnapshotByResourceId(long resourceId, SqlSession session) { - return session.getMapper(ResourceMapper.class).selectLastSnapshotByResourceId(resourceId); - } + return session.getMapper(ResourceMapper.class).selectLastSnapshotByResourceId(resourceId); + } public List getDescendantProjects(long projectId) { SqlSession session = mybatis.openSession(); -- cgit v1.2.3