aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/service/PMQueriesServiceImpl.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-01 19:49:10 +0300
committerGravatar Vitaly Takmazov2019-03-01 19:49:10 +0300
commitece568a4bcd0ff8a2f84c974a458a2f498fd135d (patch)
tree58282836e2bc3bcc29f72630bdfba76202730909 /src/main/java/com/juick/service/PMQueriesServiceImpl.java
parentaabad2347aaf52e225541cb954e98ab509e9aa2f (diff)
Message::timestamp -> Message::created
Diffstat (limited to 'src/main/java/com/juick/service/PMQueriesServiceImpl.java')
-rw-r--r--src/main/java/com/juick/service/PMQueriesServiceImpl.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/com/juick/service/PMQueriesServiceImpl.java b/src/main/java/com/juick/service/PMQueriesServiceImpl.java
index 712e4b0e..f1f98024 100644
--- a/src/main/java/com/juick/service/PMQueriesServiceImpl.java
+++ b/src/main/java/com/juick/service/PMQueriesServiceImpl.java
@@ -105,7 +105,7 @@ public class PMQueriesServiceImpl extends BaseJdbcService implements PMQueriesSe
user.setName(rs.getString(4));
msg.setUser(user);
msg.setText(rs.getString(2).trim());
- msg.setTimestamp(rs.getTimestamp(3).toInstant());
+ msg.setCreated(rs.getTimestamp(3).toInstant());
return msg;
});
}
@@ -122,7 +122,7 @@ public class PMQueriesServiceImpl extends BaseJdbcService implements PMQueriesSe
msg.getUser().setUid(rs.getInt(1));
msg.getUser().setName(rs.getString(2));
msg.setText(rs.getString(3).trim());
- msg.setTimestamp(rs.getTimestamp(4).toInstant());
+ msg.setCreated(rs.getTimestamp(4).toInstant());
return msg;
},
uid);
@@ -141,7 +141,7 @@ public class PMQueriesServiceImpl extends BaseJdbcService implements PMQueriesSe
msg.getUser().setUid(rs.getInt(1));
msg.getUser().setName(rs.getString(2));
msg.setText(rs.getString(3).trim());
- msg.setTimestamp(rs.getTimestamp(4).toInstant());
+ msg.setCreated(rs.getTimestamp(4).toInstant());
return msg;
},
uid);