Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-02Bug 531917 - Remove redundant type parametersAlexander Kurtakov3-12/+13
With Java 8 and properly generified some apis it's not needed to specify the types anymore. Change-Id: Ib758c6f50b1b1fd3f56bd52eb7e664b89b6cc776 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-01Bug 530470 - Restored complex version range match expressionsI20180206-2000I20180206-0315I20180205-2000I20180204-2000I20180203-1500I20180202-2000I20180202-0315I20180201-2325I20180201-2000Todor Boev1-1/+1
- Removed the use of the match (~=) operator against a VersionRange object and the use of a single pre-built expression. - Restored the use of comparison operators against Version objects and the use of multiple pre-built expressions for all version range possibilities. - This is a partial revert of Bug 528494 Change-Id: I353ca42c25111ca2f1ed8d7be5166e872b2e57bd Signed-off-by: Todor Boev <rinsvind@gmail.com>
2017-10-03Bug 525501 - Move director to Java 8Alexander Kurtakov19-162/+213
* Bump BREE * Bump minor version * Enable warnings for newer Java versions * Add missing override annotations. * Remove redundant type arguments. * Lambda conversion. Change-Id: I4e20b1320bb36215b0e0e2f14ed2c87598293f67 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2015-09-07Bug 476724 - Remove new Boolean and Boolean.valueOf().booleanValue()I20150929-0800I20150922-0800I20150916-2000I20150916-0800I20150915-2000I20150915-0800I20150914-2000I20150914-1545I20150914-1130I20150914-0800I20150913-2000I20150908-0800Alex Blewitt1-2/+2
The new Boolean constructor creates a new instance of a Boolean object, but it can easily be replaced with Boolean.valueOf which returns the reference to the global Boolean.TRUE or Boolean.FALSE. Replace calls to new Boolean() with Boolean.valueOf() for identical semantics except without object collection. Additionally Boolean.valueOf().booleanValue() is identical to Boolean.parseBoolean() and will result in no garbage. In addition, methods will be (slightly) smaller and parseBoolean will often be in-lined by the JIT, which can often prove that the value is non-null for faster checking. Replace Boolean.valueOf().booleanValue() chains with Boolean.parseBoolean(). Some other tests can use Wrapper.valueOf() to take advantage of the built-in caches that these objects maintain (for values in the range -128..127). Signed-off-by: Alex Blewitt <alex.blewitt@gmail.com> Change-Id: I5da4216a26ffbb6b8fd3365515ee800dd82b36ae
2015-02-26Bug 460967 - Use type safe service retrievingI20150303-0800Alexander Kurtakov1-2/+3
Instead of retrieving services based on their String class name there is newer implementation that takes the class directly and returns the correct class preventing casts. Change-Id: I8b26f4d294b927f4c28a6ba4e68e35bd401df4ec Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2014-02-24Bug 428684 - [remediation] Plug-ins directly installed can break resulting ↵I20140225-0800Pascal Rapicault1-4/+6
install Change-Id: Ibb4a918d708c1d7044a970dedf58ff9b75bb7f6c Signed-off-by: Pascal Rapicault <pascal@rapicorp.com>
2013-11-19Bug 422026 - Get rid of ColletionUtils.empty[Set|List|Map]Alexander Kurtakov3-12/+9
Now that p2 has Java 1.5 as a minimum there is no reason to not use the JVM methods. Change-Id: I89444e8d1e174c316e2b17fb4f53bc7b1d097c0a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2013-09-03Bug 381673 - 16 compile warnings in official build Ian Bull1-1/+1
Explicitly cast an array to Object[] for VarArgs invocation.
2013-09-03Bug 381673 - 16 compile warnings in official build Ian Bull1-1/+0
Removed an unused variable.
2013-05-09Bug 407613 - [remediation] Reduce resolver timeoutPascal Rapicault (JBoss)1-1/+5
2013-05-08bug 395188 - Consume new SAT4JPascal Rapicault2-7/+4
2013-04-28Remove unnecessary codePascal Rapicault1-3/+0
2013-04-28do nothing when size is 0Pascal Rapicault1-0/+3
2013-04-28Check that the requirement has 3 segment before obtaining the namePascal Rapicault (JBoss)1-1/+4
2013-04-27Cleanup codePascal Rapicault1-46/+16
2013-04-26Guarantee that we are picking the highest version availablePascal Rapicault (Ericsson)1-12/+41
2013-04-03Bug 404279 - dropins and links folders broken in N-buildsPascal Rapicault1-2/+4
2013-03-24Add remediation pagePascal Rapicault (JBoss)4-88/+281
When an operation can't succeed, the error page is replaced by a dialog letting the user pick a better solution. This is enabled in all major workflows. At the projector level, it features a new encoding for optionality and a new way of defining optimization functions.
2013-02-20Improve JavadocPascal Rapicault1-1/+5
2013-02-19Extract optimization function to a new classv20130219-041126I20130220-0922I20130219-0800Pascal Rapicault2-111/+159
2013-01-20Revert "changes to the director"v20130120-161323Pascal Rapicault4-0/+190
This reverts commit 54a9cd05bd5edca233d7e589e3abf74752c643e5.
2013-01-19changes to the directorPascal Rapicault4-190/+0
2012-03-01Bug 372529 - Consider increasing SAT4J default timeoutv20120301-2203John Arthorne1-2/+12
2012-02-22Bug 372289 - Enable activating projector encoding debugging in .optionsv20120222-2119John Arthorne1-2/+2
2011-12-31Take into account additions and removals when looking for best solutionv20111231-2042prapicau1-0/+5
2011-11-10Minor code changes in projector.v20111110-1844dj1-7/+3
2011-11-07Added comments and debugging.v20111107-2142dj1-6/+8
2011-11-07Added comments.dj1-1/+3
2011-09-18Add API to get the future state from a provisioning planv20110918-1950Pascal Rapicault1-0/+1
2011-09-05Actual RequestStatus incorrectly set when adding and removing the samePascal Rapicault1-2/+5
IU
2011-06-29Bug 350380 - Java package can't install because of dependency on m2ePascal Rapicault1-2/+7
2011-05-02copyright updateIan Bull13-12/+22
2011-05-02Bug 323340 - [planner] Resolution is not stablePascal Rapicault1-8/+4
2011-02-11Bug 336967 - Provide ability to adjust default projector timeout valueDJ Houghton1-7/+23
2010-12-17Bug 332655 - Setting IU properties for missing IUs in a profile dirties the ↵Pascal Rapicault1-2/+4
profile but does not persist the propert
2010-11-11Fix for bug 329279.Daniel LeBerre1-1/+1
2010-09-23Bug 309539 - [planner] Make ProfileChangeRequest internalDJ Houghton4-14/+13
2010-08-30Release code to address stability issuePascal Rapicault1-1/+6
2010-08-22Bug 323319 - [planner] Non greedy handling in the slicer brings in complete ↵Pascal Rapicault1-1/+17
repositories
2010-05-25Bug 270195 - [reconciler] Problem removing IUs being depended on from ↵v20100525DJ Houghton1-0/+1
software installed by the UI
2010-05-20Bug 300572 - [planner] no solution when second feature patch installed by ↵Pascal Rapicault1-11/+16
drop-in
2010-05-19Bug 313595 - [planner] Encoding could miss singletonsPascal Rapicault1-2/+2
2010-05-18Bug 312668 - [director] Only single IU Fragments are attached to IUsDJ Houghton1-7/+20
2010-05-13Add javadoc 309530 - [planner] Planner modifies incoming profile change ↵Pascal Rapicault1-0/+2
request with strange properties
2010-05-11bug 311332 - NPE uninstalling launcherAndrew Niefer1-1/+1
2010-05-08Bug 222157 - [planner] Projector should get fragments dependenciesPascal Rapicault2-60/+57
2010-05-07Compiler warning in I20100504-0800Pascal Rapicault1-1/+3
2010-05-07Bug 311330 - [planner] Strict negation not taken into account when the IU is ↵Pascal Rapicault1-1/+5
patched
2010-05-06Bug 311802 - UnsupportedOperationException trying to installPascal Rapicault1-5/+39
2010-05-03Bug 311365 - chkpii error in N20100502-2000 wrt org.eclipse.equinox.p2.directorJohn Arthorne1-1/+1

Back to the top