src/main/java/de/uapcore/lightpit/dao/postgres/PGUserDao.java

changeset 128
947d0f6a6a83
parent 124
ed2e7aef2a3e
child 150
822b7e3d064d
--- a/src/main/java/de/uapcore/lightpit/dao/postgres/PGUserDao.java	Thu Oct 15 12:27:05 2020 +0200
+++ b/src/main/java/de/uapcore/lightpit/dao/postgres/PGUserDao.java	Thu Oct 15 13:31:52 2020 +0200
@@ -63,7 +63,7 @@
         update = connection.prepareStatement("update lpit_user set lastname = ?, givenname = ?, mail = ? where userid = ?");
     }
 
-    private User mapColumns(ResultSet result) throws SQLException {
+    static User mapColumns(ResultSet result) throws SQLException {
         final int id = result.getInt("userid");
         if (id == 0) return null;
         final var user = new User(id);

mercurial