Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mylar-dev] changes to AbstractQueryHit

While making the JIRA Connector support search and hits (bug linked below) I
fixed up the AbstractQueryHit class and all of the connectors' classes
extending it.  As expected, there was considerable duplication of code
because AbstractQueryHit was not encapsulating the policy of how hits
correspond to tasks.  That's done now, so all of the subclasses of
AbstractQueryHit are way shorter and only provide connector-specific
mappings (e.g. JiraQueryHit's need for keys in addition to IDs, the
WebQueryHit's special mapping of URLs).

support search integration for JIRA
https://bugs.eclipse.org/bugs/show_bug.cgi?id=162651

Steffen: please run through a few of the manual tests for the Trac connector
before tomorrow evening when we put out the 3.3M3 dev build, or let me know
if you can't

Eugene: please do the same for the generic web connector. 

Rob: the changes ensure that all connectors use the same policy, so this had
an impact on both externalization and the Bugzilla connector. 

All: note that testPredictedElementPopulatoinOfTypeHistory is failing, until
we re-implement the Open Type dialog changes for 3.3M3.  AllTests should
pass again by tomorrow.

Mik

--
Mik Kersten, http://kerstens.org/mik
Mylar Project Lead, http://eclipse.org/mylar




Back to the top