Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-08-15StringBuilder instead of StringBufferY20190822-0900Y20190819-0900S4_13_0_M3I20190823-0530I20190821-1800I20190821-0600I20190820-1800I20190820-0855I20190820-0600I20190819-2355I20190819-0600I20190818-1800I20190817-1800I20190816-1800I20190816-0155Lars Vogel5-10/+10
Change-Id: Ib28997e519ad672ca160776a20a65917fabb6a37 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-08-15Use for-each loop in Pack200ProcessorStepLars Vogel1-2/+2
Done by the save actions. Change-Id: Ic49c0dc336085c981fa974b46803c07d571e9117 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-08-14Bug 550028 - Use e4 FilteredTree in InstalledIUGroupY20190815-0900Lars Vogel2-5/+7
e4 FilteredTree is faster to to the usage of hashes. We plan to release e4 FilteredTree in the next release as API. Change-Id: Ib1b9c1a712ac29c9dd428020b13919858147939e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-08-14Use StringBuilder in org.eclipse.equinox.p2.uiI20190814-1800Lars Vogel13-14/+14
Change-Id: I5be51b9af66543e64a20c1078eadb743b68a5d09 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-08-14Bug 550052 - Remove "Are you sure you want to " from textLars Vogel1-4/+4
Change-Id: I610764cd1ab266cffb7eedcef1b2804ba73aa947 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-08-08Bug 544067 - Remove Activator fromY20190812-0900Y20190808-0900I20190813-1800I20190812-1800I20190811-1800I20190810-1800I20190809-1800I20190808-1800Lars Vogel10-54/+40
org.eclipse.equinox.p2.metadata.repository Uses FrameWorkUtil to access the bundle context Converts the activator implementation into a constants interface Change-Id: I03eb08ea8af4a5c898349d7d5052682f3701ee28 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-08-07Bug 547461 - Make all ProvidedCapability's ctors use immutable mapsI20190807-1800Mykola Nikishov2-6/+71
ProvidedCapability(String, Map<String, Object>): - (good) stores properties in an unmodifiable map - (bad) properties still could be changed via original map - (bad) would not create an empty version if missing - (bad) holds a reference to the original map ProvidedCapability(String, String, Version): - (bad) stores properties in a mutable map Always store properties as unmodifiable map to prevent their mutation via getProperties().put(). As query operations on that map are "read through" to the original map, first make a copy of original properties. Change-Id: If7cf15d153d72e4bedc30e9ad52423d5121f3fa2 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-07-16Stricter warnings in toucpoint.eclipse and fix them.Y20190805-0900Y20190801-0900Y20190730-0135Y20190730-0055Y20190729-0900Y20190725-0900Y20190722-0900Y20190718-0905Y20190718-0450I20190806-1800I20190805-1800I20190804-1800I20190803-1800I20190802-1800I20190801-1800I20190801-0600I20190731-1800I20190730-1800I20190729-1800I20190728-1800I20190727-1800I20190726-1800I20190725-1800I20190724-1800I20190723-1800I20190722-1800I20190721-1800I20190720-1800I20190719-1800I20190718-1800I20190717-1800I20190716-1800Alexander Kurtakov37-167/+349
Change-Id: Ifc1845ab1491a890b8a04458a7039e124f8e0a66 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Remove useless non-javadoc comments.Alexander Kurtakov47-674/+393
Change-Id: Ifc2500a2a4cafd13addc6ebc50fda66ba82e2a1a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Strict warnings and fixes in examples sdknoautoupdates.Alexander Kurtakov11-187/+186
Change-Id: I8563b65853884747ea32276a025f5d3eb0ab43f6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Strict warnings and fixes in examples sdkbundlevisibiilty.Alexander Kurtakov13-202/+202
Change-Id: Ibad8f2c61a92f66536069a539b7c64dc9822bc39 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Stricter warnings and fix them in examples.rcp.prestartupdate.Alexander Kurtakov10-153/+148
Change-Id: Iefad47a77c731ad67d7592e4e4718b3b767129a2 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Stricter warnings and fixes for them in examples.rcp.cloud.Alexander Kurtakov12-194/+198
Change-Id: I73d90c81c93a336417553fb5e2d211f7ccfaad2a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Stricter warnings and fix them in examples.rcp.cloud.Alexander Kurtakov12-198/+206
Change-Id: Idaa2fca217ec414bce6bcb3249aa9d2d8124542c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Remove useless non-javadoc comments.Alexander Kurtakov19-379/+389
Change-Id: I8344b55fde0515c8b64c576017a692108e4cadd7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Convert to the generic IProvisioningAgent.getService()Alexander Kurtakov36-902/+1339
Take 3. Change-Id: I1509b415bfda56813884a6410c3b12161ddcf883 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-16Bug 541781 - Support dynamically registered MessageDigestAlexander Kurtakov4-17/+13
implementations Remove tests until the needed bundle is shipped somehow. Change-Id: Ic098c590f62886b76c2da0691926c9d60ebdfd1e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-08Bug 541781 - Support dynamically registered MessageDigest implementationsY20190715-2335Y20190715-0900I20190715-1800I20190714-1800I20190713-1800I20190713-1105I20190713-0230I20190712-1800Mykola Nikishov24-45/+296
Extend o.e.e.p2.artifact.repository.artifactChecksums extension point with attribute providerName to support custom MessageDigest implementations as per Java Security API. To get an instance of custom MessageDigest in ChecksumProducer's getMessageDigest(String, String), look for service object under java.security.Provider interface filtered by providerName property and pass it to java.security.MessageDigest's getInstance(String, Provider). Throws NoSuchProviderException if no such service was found. Bundle that contributes such implementation should register it with the Framework service registry under interface java.security.Provider. The registration properties of the service should contain property 'providerName' with value of type String as returned by implementation's java.security.Provider.getName(). The same value should be used for providerName attribute in artifactChecksums extension point. o.e.equinox.p2.artifact.checksums.bouncycastle bundle demonstrates how this works by adding support for Whirlpool and DSTU7564 message digests using the Bouncy Castle Crypto APIs [1]. It is not part of the distribution and used by unit tests only. [1] https://bouncycastle.org/ Change-Id: I0cfd06ceca6e1911d69bab09331399500a00dcee Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-07-05Use StringBuilder in org.eclipse.equinox.p2.coreY20190711-2335Y20190711-0900Y20190708-0900S4_13_0_M1I20190712-0625I20190711-1805I20190711-1120I20190711-0825I20190710-1800I20190710-0610I20190709-1800I20190709-0610I20190708-1800I20190708-1035I20190708-0800I20190707-1800I20190707-0110I20190706-1800I20190705-1800Lars Vogel4-22/+22
Javadoc of StringBuffer recommends to switch to StringBuilder Change-Id: I7858c29dc7ce12570e960370991296955554361e Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-07-01Convert to the generic IProvisioningAgent.getService()Y20190705-0620Y20190704-0900I20190704-1800I20190704-0245I20190703-1800I20190703-0640I20190702-1800I20190702-0930I20190702-0610I20190701-1805Alexander Kurtakov42-364/+371
Take 2. Change-Id: Ia6b32d8b27efbf30d7d7bd620c84e0b9e48f843a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-01Save actions for p2.tests.Alexander Kurtakov1-1/+3
Change-Id: I9df5386c9af559557123a41e66901a9a07a0b16a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-01Save actions for p2.repository.Alexander Kurtakov1-7/+15
Change-Id: I3aaba216868127dc52605339320097dd665edb24 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-01Save action for reconciler.dropins and metadata.repositoryAlexander Kurtakov2-12/+36
Change-Id: I054d52839efcc92789e3e6dedfa451ab52e776f8 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-01Save actions for p2.operations.Alexander Kurtakov1-11/+13
Change-Id: Ie6dbcd6644ebb9f4799a3dc560fe8dce557db701 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-01Save actions for p2.installer.Alexander Kurtakov1-7/+16
Change-Id: If82b4a214e7363be0aecfc1c55dab3cf8523829f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-01Save actions for p2.garbagecollector.Alexander Kurtakov1-6/+17
Change-Id: I4983bd7fc28f3c0f7f86c0bc205d2adae5965dc6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-01Save actions for p2.enging.Alexander Kurtakov1-6/+18
Change-Id: I9c5ab1f0491624c91f669f38c9b6d953fb5d7a27 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-07-01Convert to the generic IProvisioningAgent.getService()Alexander Kurtakov22-322/+303
Change-Id: If595ceb183461e5a9565d58ccd6a432291f2281b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-28Enable save actions in p2.ui.sdk.Y20190701-0635Y20190628-1440I20190630-1800I20190629-1800I20190628-1800Alexander Kurtakov1-6/+18
Change-Id: I836a7a8ba5b15b79cfbd3d473417466c1b074e7f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-28Enable save actions in p2.updatechecker.Alexander Kurtakov2-6/+22
Change-Id: Idd66a3dc80030994e2f43394194ac7c32609116d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-27Version increment for equinox p2 directorY20190627-0630Y20190627-0200I20190627-1800I20190627-0135Sravan Kumar Lakkimsetti2-2/+2
Change-Id: I3c0bb46ab872a454dddb8475956a2008d3f26422 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2019-06-26Enable more save actions in p2.extensionlocation.Y20190627-0045I20190626-1800Alexander Kurtakov1-6/+18
Change-Id: I28179044718dc8eec315f15c910bfff29fdce133 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-26Enable save actions in p2.director.app.Alexander Kurtakov1-6/+18
Change-Id: Ib27f8c9d1163d913bb5c7d821331dfad7dbb798c Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-26Enable save actions in p2.director.Alexander Kurtakov1-13/+13
Change-Id: I7c610647461110ffc7292198a10d767df1216e36 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-26Enable save actions in p2.core.Alexander Kurtakov1-6/+18
Change-Id: If415d4f0810dfe754273cf04e1eaeedfb9964cf5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-26Enable save actions in p2 console.Alexander Kurtakov1-6/+18
Let the IDE do more work for us. As it will happen while working on other things smaller chunks will come. Change-Id: Iec5ee79c90a158e950588dc988d55d8cc8082bc7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-26Enable save actions for p2.artifact.repository.Alexander Kurtakov1-6/+17
Let the IDE do more work for us. Change-Id: Ieaf6299cf02bbd128d3c3a360824e47da75d4dc9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-21Bug 474156 - Run API Tools builder in the Gerrit verification buildI20190626-0720I20190625-1800I20190625-0535I20190624-1800I20190623-1800I20190621-1800Mickael Istria15-8/+34
Signed-off-by: Mickael Istria <mistria@redhat.com>
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>

Back to the top