Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-10-25Bug 552423 - Replace usage of deprecated AbstractUIPlugin#getWorkbenchI20191105-0025I20191104-1800I20191103-1800I20191102-1800I20191101-1800I20191101-0300I20191031-1800I20191031-1325I20191030-1800I20191030-0010I20191029-1800I20191028-1800I20191027-1800I20191026-1800I20191025-1805Karsten Thoms9-15/+16
Change-Id: I2d91baeccedbcfc8f8e8e6baa7cfbfb1a5b355f2 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-09-25Use try-with-resourcesI20190926-0625Carsten Hammer2-11/+2
Convert try finally block to try-with-resources Change-Id: Iff35bb041daf77cd29f9c17ee931c8b2de186e4c Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-09-18Initialize StringBuilder with known sizeI20190923-1800I20190923-0615I20190922-1800I20190921-1800I20190920-1800I20190919-1800I20190919-0850I20190918-1800Paul Pazderski1-1/+1
Change-Id: Iddbbd5c2209b5f133bba6d1bf396408b5da135ba Signed-off-by: Paul Pazderski <paul-eclipse@ppazderski.de>
2019-09-16Remove unnecessary type specificationsI20190916-1800Carsten Hammer4-4/+4
Since Java 7 the diamond operator can be used instead of explicit type parameters. Change-Id: I2a5017574b71a0aa5125cf81efa784b3a3a05735 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-09-16Manual array copyCarsten Hammer3-7/+3
Use Arrays.asList or System.arraycopy instead of copying array in a for loop Change-Id: I339f0b950d86f6d4edebe0cc10881f274c77ecdb Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-08-19Bug 550222 - TeamAction getTargetPage() can return nullY20190919-0900Y20190916-0900Y20190914-0255Y20190913-0735Y20190912-0900Y20190912-0055Y20190910-0005Y20190909-0900Y20190905-0900Y20190903-1130Y20190902-0900Y20190829-0900Y20190826-1000Y20190822-0900S4_13_0_RC2aS4_13_0_RC2S4_13_0_RC1S4_13_0_M3R4_13I20190916-1045I20190907-1130I20190906-1800I20190906-0940I20190906-0410I20190904-2200I20190904-1805I20190904-0605I20190903-2155I20190903-1800I20190903-1410I20190903-1110I20190903-0605I20190902-1800I20190902-0805I20190902-0600I20190901-1800I20190901-0600I20190831-1800I20190831-0600I20190830-1800I20190830-0550I20190830-0440I20190828-1800I20190828-0600I20190827-1800I20190827-0600I20190826-1800I20190826-0640I20190826-0415I20190823-0840I20190823-0530I20190821-1800I20190821-0600I20190820-1800I20190820-0855I20190820-0600I20190819-2355R4_13_maintenanceAndrey Loskutov1-4/+17
- similar to what getTargetPart() is doing, return active page - if the "target" part is disposed, set it to null to avoid memory leaks Change-Id: I41e2fc0491b6c9eb524ecb02cd69f7a613ff819b Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2019-07-01Bug 488215 - Support varargs in the Viewer APIY20190722-0900Y20190718-0905Y20190718-0450Y20190715-2335Y20190715-0900Y20190711-2335Y20190711-0900Y20190708-0900Y20190705-0620Y20190704-0900S4_13_0_M1I20190723-1800I20190722-1800I20190721-1800I20190720-1800I20190719-1800I20190718-1800I20190717-1800I20190716-1800I20190715-1800I20190714-1800I20190713-1800I20190713-1105I20190713-0230I20190712-1800I20190712-0625I20190711-1805I20190711-1120I20190711-0825I20190710-1800I20190710-0610I20190709-1800I20190709-0610I20190708-1800I20190708-1035I20190708-0800I20190707-1800I20190707-0110I20190706-1800I20190705-1800I20190704-1800I20190704-0245I20190703-1800I20190703-0640I20190702-1800I20190702-0930I20190702-0610I20190701-1805Alexander Kurtakov1-2/+2
Fix warnings in team repo. Change-Id: I0637a6e9a888b760f87b05647c8b5fed83bda9d3 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-06-18Use addAll, deleteAll instead of looping through a collectionI20190618-1805Lars Vogel10-42/+23
Change-Id: If74eec05fb721ceeb1f9f8d7fbac9d68be6e767f Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-17Removes redundant semicolonsI20190618-0225Lars Vogel4-4/+4
Change-Id: I6b3957f95c87ed0fdae4b0bd2b1d9bcc114db884 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-06-15Use jdk 5 for-each loopI20190616-1800I20190615-1800Carsten Hammer100-767/+528
Replace simple uses of Iterator with a corresponding for-each loop. Also add missing braces on loops as necessary. Change-Id: I8cee98245fb49892d80949d1dcda89c9bf72f3e4 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-12String.indexOf can be replaced with String.containsI20190614-1800I20190614-0330I20190613-1800I20190613-0210I20190612-1800I20190612-0115Carsten Hammer2-3/+3
Change-Id: I6ec0fd3fa12538157a4ce6a1008424229cf4cc24 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-06-11Use isEmpty() instead of size()==0 where possibleCarsten Hammer2-3/+3
Change-Id: I591baac7b623f8ed3681a12471ffe6438a13175f Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-05-19Bug 547304 - [cleanup] Fix wrong space/tab indentationS4_12_0_RC2S4_12_0_RC1aS4_12_0_RC1S4_12_0_M3R4_12I20190605-1800I20190605-0600I20190604-1800I20190604-0600I20190603-1800I20190603-0600I20190602-1800I20190602-0600I20190601-1800I20190531-1800I20190531-0245I20190529-2005I20190529-1800I20190529-0600I20190528-1800I20190528-0915I20190528-0850I20190528-0600I20190527-1805I20190527-0600I20190526-1800I20190526-0600I20190525-1800I20190525-0600I20190524-1800I20190524-0135I20190522-1800I20190522-0600I20190521-1800I20190521-0600I20190520-1805I20190520-0600R4_12_maintenancePaul Pazderski98-4668/+4668
This change fixes space or mixed tab/space indentations in all Java files. This also includes two or three space indentations and even fix most stray single spaces in indentations. The change includes only whitespace formatting and no code changes. Change-Id: I4149aaf4e48ccf7b49083f36d52e0c7a67433c7d
2019-05-18Bug 547304 - [cleanup] Fix wrong line delimitersPaul Pazderski3-212/+212
This updates all Java files with wrong or mixed line delimiters to use Unix style delimiters. The change includes only whitespace formatting and no code changes. Change-Id: I1f6bc53b2a6827208b42ec562a855874d9ce69ae
2019-04-18Bug 546399 - [Platform] Team UI: support platform:/plugin URI for imagesI20190519-1800I20190518-1800I20190517-1800I20190516-1800I20190516-1405I20190516-1335I20190516-1250I20190516-1200I20190516-1055I20190515-1800I20190515-0205I20190513-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-1800Alexander Fedorov1-2/+15
Change-Id: I7bc428b6b55c62d0a096ebd5f968b0dda85ebac5 Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2019-04-17Remove useless non-javadoc/@see comments. (take 4)I20190417-1800Alexander Kurtakov5-37/+0
Put @Override instead where needed. Change-Id: I3798bfbb5fd3c05c16531f7fac7885d2f6eb65b7 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-04-17Remove useless non-javadoc/@see comments. (take 3)Alexander Kurtakov61-552/+6
Put @Override instead where needed. Change-Id: I7ccbb74b2ab634fe2440728fbe79712e7cba765d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-03-14Bug 545372 - Replace deprecated HandlerSubmissionI20190318-1800Julian Honnen1-15/+12
Replaced deprecated HandlerSubmission with equivalent handler activation. Change-Id: I261cc6b3563070dba99d9d3765bae75e5d60f625 Signed-off-by: Julian Honnen <julian.honnen@vector.com>
2019-02-14Resolve raw type warningsI20190215-0055Karsten Thoms3-9/+9
Change-Id: I5a66afa307f4a830c3766c2c54a8ac2a371f90be Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-01-15Bug 543478 - harmonized import settings and organized importsY20190116-2200I20190116-1800I20190115-1800Andrey Loskutov190-573/+2306
Use org.eclipse.jdt.ui.ondemandthreshold=99 in all projects Change-Id: I45fc5a90242a9a889138fd2c94f522e6f390c1dd Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-10-30Even more lambda conversions.Y20181030-0940Alexander Kurtakov1-8/+2
Change-Id: I621c582be5c5afba330cacb1f3d635465c41158a Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-10-30Lambda conversions.Alexander Kurtakov1-6/+1
Change-Id: I82abbfbcfd6d7485cf76711d685f79030f5b7306 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-08-27Bug 509561 - only fire one change for all SyncInfos added to the root setY20180829-2200S4_9_0_RC2S4_9_0_RC1R4_9I20180906-0745I20180905-2000I20180905-0800I20180904-2000I20180904-0800I20180903-2000I20180903-1305I20180903-1125I20180903-0945I20180903-0800I20180902-2000I20180902-0800I20180901-1500I20180901-0800I20180831-2000I20180831-0815I20180830-1030I20180829-2000I20180829-0800I20180828-2000I20180828-0800I20180827-2000R4_9_maintenanceJulian Honnen1-0/+2
This optimizes the case where many SyncInfos are added to the root set. Instead of firing a change for every single added SyncInfo (which may cause many selection changes), just fire one change per batch. This issue is particularly important when many artifacts under version control are changed during a build. Change-Id: I79cdd54d39e53e83e1a7dd994c8d0f3baa3a51ea Signed-off-by: Julian Honnen <julian.honnen@vector.com>
2018-08-27Bug 535802 - EPL 2.0 conversion for team bundlesLars Vogel267-801/+1602
Change-Id: I073c57899401ab31237c02f74fe9c049dcaefe5d Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2018-08-23Bug 429899 - [History View] - Set Link with Editor and Selection asI20180826-2000I20180825-1500I20180824-2000Lars Vogel1-0/+2
default History View is automatically synchronized with the current selection is now the default Change-Id: Ifa9ba305ab03f4070f3934ec17de789c1e697f79 Signed-off-by: Patrik Suzzi <psuzzi@gmail.com>
2018-08-08Bug 537661 - Empty shell when calling validateEdit from non-UI threadY20180815-2200Y20180808-2200I20180815-2000I20180815-1250I20180814-2000I20180814-0910I20180814-0900I20180813-2000I20180812-2000I20180811-1500I20180810-2000I20180810-0320I20180809-2000I20180808-2000Simeon Andreev1-5/+15
A dialog is shown when validating a read-only file, which has a pending modification in an editor. The dialog states that the file is read-only and asks whether the file should be made writable. When running the validation code (DefaultUIFileModificationValidator.validateEdit()) from a non-UI thread, an extra shell is created. This shell is seen as an additional empty window. This change avoids the extra window by using the workbench display to run the necessary UI code, if validation is done from a non-UI thread. It also passes down a null parent shell to the dialog, which is handled by the jface dialog. Change-Id: Ie16286f1d51d2282593fdb4c6dc5d4d6ec914249 Signed-off-by: Simeon Andreev <simeon.danailov.andreev@gmail.com>
2018-07-15Bug 537044 - stop running team job for migration from 2.x to 3.0Y20180801-2200Y20180725-2200Y20180723-0635Y20180723-0615Y20180720-0300Y20180718-2200S4_9_0_M2I20180806-2000I20180806-0300I20180805-2000I20180804-1500I20180803-2000I20180801-2000I20180801-0820I20180801-0800I20180801-0550I20180731-2000I20180731-1305I20180731-1250I20180731-1025I20180731-0800I20180731-0340I20180730-2240I20180730-2000I20180730-0800I20180729-2000I20180729-0800I20180728-1500I20180728-0805I20180727-2000I20180726-2000I20180725-2000I20180724-2000I20180723-2000I20180722-2000I20180721-1500I20180720-2000I20180719-2000I20180718-2000I20180718-0130I20180717-2000I20180717-0320I20180716-2000I20180716-0715I20180715-2000Andrey Loskutov4-38/+1
According to bug 67778 comment 4, we can stop running this job. I doubt anyone migrates from Eclipse 2.x to 4.9 and has projects with disabled capabilities. Change-Id: I7d5845baf48dd203fb4f38c7582342fc01888760 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-07-04Bug 536677 - History view should call super.dispose() at the end ofY20180705-0105I20180704-2000Andrey Loskutov1-1/+1
dispose() Change-Id: Ib2ab537751e2f330ce9ceee5c1e26542a4fd377e Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-04-18Bug 533755 - Direct use of IStructuredSelectionI20180420-2000I20180419-2000I20180418-2000Alexander Kurtakov12-60/+34
Instead of getSelection and cast. Touched files have been converted to lambdas and useless @see comments removed. Change-Id: I249927f61cab0dfd2a1645b6aee3b0a1cc9760f1 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-03-09Bug 531433 - Replace usage of SubProgressMonitor by SubMonitorI20180311-2000I20180310-1500I20180309-2000Karsten Thoms4-9/+9
Change-Id: I68e635f60614b9a923c8c848c17115b6e9275a30 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-03-09Bug 531889 - Replace usage of IConfigurationElement#getNamespaceKarsten Thoms1-1/+1
Change-Id: I9b1ebf7d76f285365a036967510fb1c97f23d375 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-03-09Bug 531630 - Replace usage of System.getProperty("file.separator")Karsten Thoms2-2/+2
Change-Id: Ida18ec7c840c380570f3f4690683fedb55677cc1 Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-02-07Remove useless casts.Alexander Kurtakov4-10/+7
Change-Id: I68499b9ac1017b4cca1b9ed10e26935b30ff1233 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-02-07Bug 530854 - Move away of methods deprecated in Java 9Alexander Kurtakov1-18/+12
Number constructors and Class.newInstance. Some small cleanups (generification, lambdas) in surrounding code. Change-Id: I62bab4119a98a7b5df560b8c9247f79fdfa8da03 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2018-01-27Bug 530412 - IExtension.getNamespaceIdentifier() wrongly used whereI20180206-2000I20180206-0315I20180205-2000I20180204-2000I20180203-1500I20180202-2000I20180202-0315I20180201-2325I20180201-2000I20180201-0200I20180131-2000I20180130-2000I20180129-2000I20180129-0605I20180129-0540I20180128-2000Andrey Loskutov2-4/+4
IExtension.getContributor().getName() is required Change-Id: Ib3cb9d21c221dbbd53721135c70a17e1de6d4cc8 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2018-01-23Bug 530116 - [sonar] Resolve "Write to static field from instance meth."I20180127-1500I20180127-0150I20180126-2040René Purrio1-2/+4
Change-Id: Ib9562b2f96d24b3745e7f40b64e3eac7695aed7b Signed-off-by: René Purrio <rpurrio@itemis.de>
2017-12-24Bug 529162 - Don't use empty job namesI20180104-2000I20180104-0030I20180103-2000I20180103-0140I20180102-2215I20180102-2000I20180101-2000I20171231-2000I20171230-1500I20171229-2000I20171228-2000I20171227-2000I20171226-2000I20171225-2000I20171224-2000Andrey Loskutov3-2/+6
Change-Id: Ied1e4d7978be868bc9ebc3c36ff3d2ede4b60bc6 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-11-09Bug 527018 - [refactoring] Replace use of Number constructors by valueOfI20171113-2000I20171112-2000I20171111-1500I20171111-0410I20171111-0155I20171110-2000I20171109-2000Karsten Thoms11-21/+21
Bump micro version for 4.8 Change-Id: Ib0bee17c6905c38cab7d4701f6339bfd63d9c45e Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-10-12Bug 525944 - Use StringBuilder instead of StringBuffer inLars Vogel6-8/+8
org.eclipse.team.ui Change-Id: I13a9bb41f94ecd71fd79c0cf8c0836c61b50c8cd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2017-07-19Bug 519875 - Cleanup o.e.team.ui Alexander Kurtakov20-425/+214
Convert listeners to lambdas. Change-Id: Ie43fb060f41bfdc4de0fa6d5c6097705709246ed Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-07-19Bug 519875 - Cleanup o.e.team.ui Alexander Kurtakov40-939/+394
Move Runnables to lambdas. Change-Id: I8ab7b9d9262c9d37ecf345ed4427e811fbb97387 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-07-19Bug 519875 - Cleanup o.e.team.uiAlexander Kurtakov33-560/+237
Generification(part2). Change-Id: Ibfa168d0f78a6968a6fabac6bc8037c350c55144 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-07-19Bug 519875 - Cleanup o.e.team.uiAlexander Kurtakov29-641/+271
Generifications. Change-Id: I5cb535fabbd30796ed18b3649d0d4d9b1bc29de0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-07-19Bug 519875 - Cleanup o.e.team.uiAlexander Kurtakov13-264/+60
Generify getAdapter overrides. Change-Id: Iaee00a5769f46d5becab8d9cda79d541071f25cb Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-07-19Bug 519875 - Cleanup o.e.team.uiAlexander Kurtakov21-570/+256
* Remove unneeded casts. * Remove useless non-javadoc see tags. * Convert to lambda where noticed. * Generify some getAdapter implementations. Change-Id: Ia661d056034f1716fb4bcb119600ff8a895b172b Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-21Bug 518569 - Use StandardCharsetsI20170621-2000Alexander Kurtakov1-4/+3
Change-Id: Ia2c156836e394226b450c1ca5c1e335b93f1eb65 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-05-15Bug 516644 - [regression] NPE inI20170515-0910Sebastian Ratz1-1/+5
org.eclipse.team.internal.ui.history.CompareFileRevisionEditorInput.getResource(ICompareInput) Fix NPE in CompareFileRevisionEditorInput Accidentally introduced in 30ce23c898392ba97114d8ba7cf5eddd7a0d6373. A null check is still necessary. Change-Id: Iac381eea4a17f67bd7cbe9b6289643ecd35377cb Signed-off-by: Sebastian Ratz <sebastian.ratz@sap.com> Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-05-05Bug 450530 - [team] NPE in ResourceModelContentProvider.getTraversalsY20170512-0230Y20170511-1500Y20170511-1000S4_7_0_M7I20170515-0800I20170514-2000I20170514-1120I20170512-0500I20170511-1200I20170510-2000I20170510-0800I20170509-2000I20170509-1300I20170509-1100I20170509-0945I20170509-0800I20170508-2000I20170508-0800I20170507-2000I20170506-2000I20170505-2000Andrey Loskutov1-1/+6
ISynchronizationScope.getTraversals(ResourceMapping) can return null, so code using it should check for null. Change-Id: I79bd627c87917f2700e98f1c23dadf47d1128e33 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-05-05Bug 450530 - [team] NPE in ResourceModelContentProvider.getTraversalsAndrey Loskutov1-43/+16
Code cleanup before the fix. Change-Id: I74c1a1067a5ba4280bfb376c682ce28376756d79 Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
2017-05-05Bug 516228 - Preference dialog of synchronize view shows missing image iconRüdiger Herrmann1-2/+3
Changes the suffixes of the image resource names from .gif to .png. Change-Id: I8996282c6bfd1fac730a4e6c0625d102c02d406f Signed-off-by: Rüdiger Herrmann <ruediger.herrmann@gmx.de>

Back to the top