Skip to content

Commit

Permalink
MetricDao.selectNullableById should really take a long, not a int
Browse files Browse the repository at this point in the history
  • Loading branch information
sns-seb committed Jun 12, 2015
1 parent 4237ee5 commit aa3d18a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -114,7 +114,7 @@ public void update(DbSession session, MetricDto metric) {
mapper(session).update(metric);
}

public MetricDto selectNullableById(DbSession session, int id) {
public MetricDto selectNullableById(DbSession session, long id) {
return mapper(session).selectById(id);
}
}
Expand Up @@ -46,5 +46,5 @@ public interface MetricMapper {

void update(MetricDto metric);

MetricDto selectById(int id);
MetricDto selectById(long id);
}

0 comments on commit aa3d18a

Please sign in to comment.