)             throws DatabaseException {         try {             List<RecordContext> result = new ArrayList<>();             psGetAllDataForContext.setInt(0, contextId);             try (ResultSet rs = psGetAllDataForContext.executeQuery()) {                 while (rs.next()) {                     result.add(                             new RecordContext(                                     rs.getLong(DATAID),                                     rs.getInt(CONTEXTID),                                     rs.getInt(TYPE),                                     rs.getString(DATA)));                 }             }              return result;         } catch (SQLException e) {             throw new DatabaseException(e);         }     }      /* (non-Javadoc)      * @see org.parosproxy.paros.db.paros.TableContext#getDataForContextAndType(int, int)      */     @Override     public synchronized List<RecordContext> getDataForContextAndType(int contextId, int type)             throws DatabaseException {         try {             List<RecordContext> result = new ArrayList<>();             psGetAllDataForContextAndType.setInt(0, contextId);             psGetAllDataForContextAndType.setInt(0, type);             try (ResultSet rs = psGetAllDataForContext