aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-12-07 10:15:29 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-12-07 10:15:29 +0100
commit428fbadc5f117da2a8e2bb8a9e43ddbf809f6fdb (patch)
treef915ceafcf903a1071ea305e6300a74c9725ab1c /sonar-core
parent169c63d511d2f657520c0c301da6ba984fb3b253 (diff)
downloadsonarqube-428fbadc5f117da2a8e2bb8a9e43ddbf809f6fdb.tar.gz
sonarqube-428fbadc5f117da2a8e2bb8a9e43ddbf809f6fdb.zip
Fix some quality flaws
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java4
1 files changed, 2 insertions, 2 deletions
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<ResourceDto> getDescendantProjects(long projectId) {
SqlSession session = mybatis.openSession();