Community
Participate
Working Groups
In more the 30 cases we use the String * task.common.kind.flag * task.common.kind.flag_type we should use an static final field and change the String to no longer include "task.common"
Created attachment 176115 [details] patch Rob, can you please look into this. I think we need the following steps to be save. 1) update the configuration 2) update all tasks
Created attachment 176116 [details] mylyn/context/zip
+1 for extracting it to a constant. I would leave the current value though. It shouldn't matter that it includes task.common as long as it's unique.
Created attachment 178107 [details] commited patch constant includes task.common (see comment#3)
Created attachment 178108 [details] mylyn/context/zip
Done!
Created attachment 178860 [details] fix
Committed fix.
I'll reopen this bug since one of the tests is still failing: junit.framework.ComparisonFailure: flagA is set(wrong precondidion) expected:<[ ]> but was:<[+]> at org.eclipse.mylyn.bugzilla.tests.core.BugzillaFlagsTest.testFlags(BugzillaFlagsTest.java:83)
Created attachment 179176 [details] comited junit patch
Created attachment 179177 [details] mylyn/context/zip
The more robust is now in place.