Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-11Use switch over strings where possibleI20190620-1800I20190620-0130I20190619-1820I20190619-1800I20190618-1805I20190618-0225I20190617-1800I20190616-1800I20190615-1800I20190614-1800I20190614-0330I20190613-1800I20190613-0210I20190612-1800I20190612-0115Carsten Hammer14-416/+682
Change cascades of ifs which can be converted to switch over Strings. Change-Id: Id86536ada5cc4a916fbd5aa31123d1b45d7b5225 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-11Move away of old non-managed _core jdt formatter.Alexander Kurtakov117-630/+4450
It fails when formatting new constructs like try-with-resources. Move to the built-in Eclipse profile. Change-Id: Id71d9e38ba12c623cded4a067e9e6a69da991ea4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-11Use try-with-resourcesCarsten Hammer9-64/+52
Convert try finally block to try-with-resources Change-Id: I1b6632068bb6fbb4934cf25d040e4b2ae22749a5 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-11Fix warning in nightly build.Alexander Kurtakov1-0/+1
By @SuppressWarnings("unchecked") as even if the type is passed to the HashSet there is still warning about the list not being generified. Change-Id: If0aa369425fc59e8f256aa1d8740a0f202684063 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-10Add @Override AnnotationI20190610-1800Carsten Hammer18-0/+29
Change-Id: Ic052ff77e850bee661315a5bd59e65b449f3b497 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-10Remove unnecessary type specificationsCarsten Hammer39-57/+57
Since Java 7 the diamond operator can be used instead of explicit type parameters. Change-Id: I1f4692522a6ed6429f79eea1d898f0cc4a84131a Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-10Replace chain of ifs with switchCarsten Hammer11-132/+182
Sometimes if statements are chained and form a series of == comparisons against constants. Such situation is more readable if written using switch statement. Change-Id: I48eb75c813d73c5b9e95cbb0d5e244bee4507feb Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-10Replace usage of String.indexOf with String.contains where possibleCarsten Hammer35-54/+56
Change-Id: I5cf1901c5b80a13bb09be0b73966c4709b954a59 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-07Bug 547908 - Update Comparator repo and eclipse run repo to 4.13-I-builds repoI20190610-0135I20190608-0140I20190607-1345I20190607-1000Sravan Kumar Lakkimsetti1-1/+1
Change-Id: Ia01b00999816b0786bb9fbdd5d60a3b5cd4121f7 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2019-06-07Bug 547907 - POM and product version change for 4.13 releaseI20190607-0725Niraj Modi64-65/+65
Change-Id: I8b25fc54e516b1507d951276c907ac26a7961e19 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-05-20In default.target, access p2 repository over HTTPSS4_12_0_RC2R4_12I20190605-1800I20190605-0600I20190604-1800I20190604-0600I20190603-1800I20190603-0600I20190602-1800I20190602-0600I20190601-1800I20190531-1800R4_12_maintenanceMykola Nikishov1-1/+1
Change-Id: I5c3d9cc36e88c365228f1f63acdffd8960bc241b Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-05-17Bug 545718 - Update prereqs for 4.12 release: ECFS4_12_0_RC1aS4_12_0_RC1S4_12_0_M3I20190531-0245I20190529-2005I20190529-1800I20190529-0600I20190528-1800I20190528-0915I20190528-0850I20190528-0600I20190527-1805I20190527-0600I20190526-1800I20190526-0600I20190525-1800I20190525-0600I20190524-1800I20190524-0135I20190522-1800I20190522-0600I20190521-1800I20190521-0600I20190520-1805I20190520-0600I20190519-1800I20190518-1800I20190517-1800Alexander Kurtakov1-14/+19
Fix transfer test to refer to the new bundle. Simplify catch clauses. Use StringBuilder. Use foreach. Use 4.11 jsp bundle to download as 3.4 is ancient one and it's better to test latest one both for the sanity of the test and for network cache reasons. Change-Id: I21eee10fc13616b1e29a50d2bd14b3989d7bf5b0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-16Bug 545718 - Update prereqs for 4.12 release: ECFI20190516-1800I20190516-1405I20190516-1335Alexander Kurtakov10-14/+10
Update examples. Change-Id: I21dd0d85d5253a2d7d38be3130307827ef2854d1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-16Bug 545718 - Update prereqs for 4.12 release: ECFI20190516-1250Alexander Kurtakov1-1/+1
Switch to new filetransfer provider in p2.tests. Change-Id: Iabbaa8afe9332fa5e32d4da76009146b8e0f46b4 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-05-16Bug 545718 - Update prereqs for 4.12 release: ECFI20190516-1200I20190516-1055Mat Booth2-4/+2
Switch to the new httpclient45 ECF provider. Change-Id: Id82e13387250548b691ad3a75caade4e6dd19a10 Signed-off-by: Mat Booth <mat.booth@redhat.com>
2019-05-15Apply @Override to p2 examplesI20190515-1800Mykola Nikishov10-20/+32
Change-Id: I4b78bff37479c1bc85e024882990c92f6d5ba3c8 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-05-14Build examples tooI20190515-0205Mykola Nikishov9-15/+62
Change-Id: I57c4f588b683514c4e397395a62406045f233ff1 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-04-09[trivial] Fix typo in javadocS4_12_0_M1I20190513-1800I20190512-1800I20190511-1800I20190510-1800I20190509-1800I20190508-1800I20190508-0450I20190508-0150I20190507-1800I20190507-0155I20190506-1800I20190505-1800I20190504-1800I20190503-1800I20190502-1800I20190501-1800I20190501-0525I20190430-1800I20190429-1800I20190429-0240I20190428-1800I20190427-1800I20190426-1800I20190425-1800I20190425-0030I20190424-1800I20190423-1800I20190422-1800I20190421-1800I20190420-1800I20190419-1800I20190418-1800I20190417-1800I20190416-1800I20190415-1800I20190415-0300I20190414-1800I20190414-0210I20190413-1800I20190412-1800I20190412-0520I20190411-0625I20190410-1800I20190410-0600I20190409-1800I20190409-0600Karsten Thoms1-2/+2
matchinClass -> matchingClass Change-Id: I00c1f3250005397b10732f5c7e8510da4fe7d732 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de> Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-04-08Bug 544066 - Remove activator from org.eclipse.equinox.p2.operationsLars Vogel13-62/+46
Change-Id: I33c67a1bd78a77def56fb7e0efd889e5d352b386 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com> Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-04-04Improve assert message in ChecksumUtilitiesTestI20190408-1800I20190408-0600I20190407-1800I20190406-1800I20190405-1800I20190404-1800Mykola Nikishov1-2/+3
Change-Id: Ib6ab9e55e1cd41c16c5b5b54265c3e80bf2a2435 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-03-30Bug 545183 - When publishing, do not calculate MD5 twiceI20190403-1800I20190402-1800I20190401-1800I20190331-1800I20190330-1800Mykola Nikishov3-9/+2
Since [1], MD5 is contributed via artifactChecksums extension point and ChecksumProducer's produce(File, String) method should not explicitly request its generation. [1] e4b77e59e038d101733b37be47941c899a88d7d3 Change-Id: Ie1a5adb66e7af15d02710c3f586f462f31f89d8d Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-03-29Bug 545179 - Improve CapabilityIndex performance for arbitrarySebastian Ratz3-31/+50
namespaces Follow-up on I957d401c3f043daf40db13397829993fe3fc5dc2 which improves performance for queries with arbitrary namespaces and without a "name" property. Change-Id: I44ebbb140242d71cba855fd1d5f6fe30e62f4aad Signed-off-by: Sebastian Ratz <sebastian.ratz@sap.com>
2019-03-29Bug 410022 - org.eclipse.equinox.p2.publisher.eclipse not setup for APII20190329-1800Alexander Kurtakov3-2/+8
Tools Add apitools nature and builder. Change-Id: I48ce632e34cac4b747065aad390c3c076a65fc86 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-03-26Bug 545629 : Cannot install a patch featureI20190329-0120I20190328-1800I20190327-1800I20190326-2305I20190326-1800Guillaume Dufour3-2/+75
Change-Id: Ide139d91c50befe7eab1b16f7e3a549358ea09d8 Signed-off-by: Guillaume Dufour <guillaume.duff@gmail.com>
2019-03-18Bug 545330 - Problems in javadoc for platformI20190325-1800I20190325-0105I20190324-1800I20190323-1800I20190322-1800I20190321-1800I20190321-0435I20190321-0245I20190320-1800I20190318-1800Alexander Kurtakov15-41/+53
Fix p2 javadoc warnings. Change-Id: I4f9cd9c79917a70f9b69e75557d6a137cfaa1473 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-03-16Add missing Override/Deprecated annotations to p2.repository bundle.Alexander Kurtakov31-122/+159
Change-Id: Iec7809dcb1596a843bbc5c8a3b82201b4f15f985 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-03-08Bug 545096 - Update product version number to 4.12 across build scriptsI20190314-1800I20190312-1800I20190312-0340I20190311-1800I20190311-0410I20190309-1830I20190308-1830I20190308-1525I20190308-1055I20190308-0740Sravan Kumar Lakkimsetti1-1/+1
Change-Id: I8886bc9d0be01400c68335e6d9249fbb836eafe6 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2019-03-08Bug 545094 - POM and product version change for 4.12 releaseNiraj Modi61-62/+62
Change-Id: Ied84dbd6cc7e2c1b72bd072e8286604586c28e72 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-03-03Bug 540069 - disable tests for posix related code on WindowsY20190320-2200Y20190319-2305Y20190316-1220Y20190313-2200Y20190313-0215Y20190308-0715Y20190307-1015Y20190306-2200S4_11_0_RC2R4_11I20190307-0500I20190306-2135I20190306-1800I20190306-0600I20190305-1800I20190305-0600I20190304-1800I20190304-0600I20190303-1800R4_11_maintenanceAndrey Loskutov1-0/+9
Bug 540310 added code that only works on posix systems. It makes no sense to run tests for this code on Windows. Change-Id: Ia3185b2435d2d50ca87054b139b37de34027136e Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-02-20Bug 544618 - Added icon to Copy actionY20190227-2200Y20190225-0415S4_11_0_RC1I20190303-0600I20190302-1800I20190302-0600I20190301-1800I20190301-0040I20190228-0300I20190227-1800I20190227-0600I20190226-1800I20190226-1020I20190226-0715I20190226-0600I20190225-1800I20190225-0600I20190225-0200I20190224-1800I20190224-0930I20190224-0600I20190223-1800I20190223-0600I20190222-1800I20190222-0645I20190222-0440Julian Honnen5-6/+4
Change-Id: Ia9f5b32b6d1ffa8a641fac7d71cd3b89a4e3119c Signed-off-by: Julian Honnen <julian.honnen@vector.com>
2019-02-15Bug 543933 - Build javadocs with Java 11Y20190222-0110Y20190220-2200S4_11_0_M3I20190220-1800I20190220-0600I20190219-1800I20190219-0600I20190218-1800I20190218-0600I20190217-1800I20190217-0600I20190216-1800I20190216-0600Alexander Kurtakov30-35/+35
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I06b05f4c190658ed8c8d79b1e1d33ac534f1adb3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-12Bug 544371 - Update user docs links to point to Java 11 contentY20190213-2200Y20190213-0305I20190215-1800I20190215-0630I20190215-0055I20190214-1800I20190213-1800I20190212-1800Alexander Kurtakov1-1/+2
Link to JCA 11 guide in p2 extension point. Change-Id: I3bc547ff51fc5bbdf14daaa117e4577e464398df Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-07Bug 544220 - Huge performance impact due to product EE as requiredI20190211-1800I20190210-2135I20190210-1800Sebastian Ratz2-0/+58
capability Add special handling for cap.namespace == 'osgi.ee'. Change-Id: I957d401c3f043daf40db13397829993fe3fc5dc2 Signed-off-by: Sebastian Ratz <sebastian.ratz@sap.com>
2019-02-04Bug 544065 - Remove Activator fromY20190208-0505Y20190206-2200Y20190205-0115I20190209-1800I20190208-1800I20190207-1800I20190206-1800I20190205-1800I20190204-1800Lars Vogel5-74/+54
org.eclipse.equinox.p2.directorywatcher Change-Id: I38c28303d56b0025f9bf6edbd76074ddce08824a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-02Version 4.11 update for org.eclipse.equinox.p2.operationsI20190203-1800Lars Vogel2-2/+2
Change-Id: I65f83a02f3606c6f67b8b2bdcbe9623a1ead652a Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-31Bug 543927 - Remove Activator from org.eclipse.equinox.p2.metadataY20190201-0030I20190202-1800I20190201-1800I20190201-0600I20190131-1800Lars Vogel4-45/+6
Change-Id: I4b9e5bb4041045ed71c8a4c707a36ecb40709a3d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-31Version 4.11 update for org.eclipse.equinox.p2.metadataLars Vogel2-2/+2
Change-Id: I0dc94163c8aab4871a0ec3d4929c9a6ea98ad807 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-31Use .class access for IArtifactRepositoryManager andLars Vogel1-2/+2
IMetadataRepositoryManager As getService is generified, we should also use it. Change-Id: Ia3377dff485a10d5496b91cd4dcb5b50745fbd66 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-29Version 4.11 update for org.eclipse.equinox.p2.directorywatcherLars Vogel4-4/+4
Also version update for the org.eclipse.equinox.p2.discovery.feature Change-Id: I083ac2eef4625a60d815f5c2a22c09c0b6de5968 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-01-24Bug 543785 - P2 discovery source feature not publishedY20190130-2200Y20190130-0010I20190131-0130I20190130-1800I20190129-1800I20190128-1800I20190127-1800I20190126-1800I20190125-1800I20190124-1800I20190124-1235Alexander Kurtakov1-0/+1
touch feature in order to be published. Change-Id: I0b10a9daa1b8fd7569f47cbce23ce26893ba6c21 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-24Revert stringPropertyNames usage in frameworkadmingAlexander Kurtakov2-6/+9
Commits e8dbcc1f420471e3e4a5e8a73adf54ade5633e8d and 6098173f6ac7f3444d21074eab6d791db8646ad6 started using them but they ignore non string values so revert to be on the safe side. Change-Id: I329033a51f95f10991fd7f55b27c1bbc3d4590c3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Bug 541004 - Update site preference page: Double click to editY20190123-2200I20190124-0930I20190123-1800Michael Keppler3-2/+7
Invoke the functionality for editing an update site on double clicking the repository table. Change-Id: I0c0be22f453a54798ca58cd20b0a11e5ab3c7047 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2019-01-23Make use of the generified IProvisioningAgent.getService in tests.Alexander Kurtakov58-311/+624
Change-Id: I1dbd17868e0bfb6d343cdf91153a7a7554ad0416 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Bug 542420 - Offer <T> T getService(Class<T> key) in IProvisioningAgentAlexander Kurtakov1-2/+2
getSimpleName is not enough to uniquely identify class file and all the implementors use getName as key. Change accordingly. Change-Id: I1d0294f290df2496849aa1ab75d82f8b5163898f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Code cleanup in frameworkadmin.Alexander Kurtakov4-132/+174
* Format. * StringBuffer to StringBuilder * forEach conversion Change-Id: Id43871ac22efac8a83e4a47a1c272badd8de7d65 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Modernize frameworkadmin Utils class.Alexander Kurtakov3-58/+66
* try-with-resources * StringBuffer to Builder * for-each * reformat Change-Id: Ic7498521b369c5e3ac3dcd5aa591b5fea710ea7b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23A bit more examples warnings fixes.Alexander Kurtakov4-56/+227
Change-Id: I80779d3d4d9c12a493114e2a8ad6bfded48746d8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Update examples to Java 1.8 BREE.Alexander Kurtakov31-310/+964
Fix warnings and enable save actions. Change-Id: Ie43dbea77185ac66cce56735bbfd5a8aa6363b63 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-23Fix examplesAlexander Kurtakov7-10/+166
Fix examples to use felix.scr instead of equinox.ds as it is no longer installed by default. Adjust product contents to match latest versions. Change-Id: Idd1f287e343774352f6fe18402d4daa47a168489 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-01-21Remove unused parameters from Engine's checkArguments private methodI20190122-1800I20190121-1800I20190121-1415Mykola Nikishov1-3/+3
checkArguments should not pretend it validates context and monitor parameters because it does not, they are nullable and both callers set them to default values. Change-Id: I3dfbebdef5cda9fa2f15bfd3047f479fc67a3c72 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>

Back to the top