Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-01-18Bug 510641 - Remove old Headers implementation.Thomas Watson1-4/+6
Change-Id: Ibc09bc478f68516c692c95181081a08781024ed5 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2016-09-29Bug 502425 - Refactor code for Java 7Thomas Watson2-22/+22
Change-Id: I64d3a28a743a0292db27fd421294421dc51eb2e1 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2013-10-23Bug 418663 - [compatibility.plugins] Get rid of compile warnings in official ↵John Ross1-8/+39
build Update jdt core prefs to org.eclipse.jdt.core.compiler.problem.unavoidableGenericTypeProblems=disabled. Remove @SuppressWarnings annotations. Genericize the code. Don't assume a Dictionary is a Hashtable in a public method.
2013-08-30Bug 416073 - Optimize Storage.listEntryPaths for wildcards and recursion.I20130903-0900I20130831-1500I20130830-2000Thomas Watson1-3/+3
Minor tweaks: - Change PluginConverterHook to use getBundleFile() to avoid confusion on which bundle file it was using - Change ZipBundleFile to use LinkedHashSet to preserve order.
2013-08-30Bug 416073 - Optimize Storage.listEntryPaths for wildcards and recursion.John Ross1-31/+15
The first optimization consisted of adding an additional method to BundleFile with the following signature: abstract public void getEntryPaths(String path, boolean recursive) This allows the bundle file to return all descendants under the specified path rather than only its children. In turn, this allowed for the removal of the loop in Storage.listEntryPaths that made multiple calls to the bundle file for the same data. The second optimization was to replace List with a Set in BundleLoader.listResources and Storage.listEntryPaths to achieve constant lookup time for contains(). A LinkedHashSet was used to maintain the original ordering. As part of this work, a bundle file decorator class (BundleFileWrapper) was introduced in order to shield clients from future changes to BundleFile. As a result of these changes, org.eclipse.equinox.transforms and org.eclipse.equinox.weaving in rt.equinox.bundles required updates. Fixed synthetic access compiler warning in BundleLoader. Removed all @since 3.2 annotations from package org.eclipse.osgi.storage.bundlefile. Refactored SignedBundleFile so that BundleFileWrapper did not need to accept a null bundle file in the constructor. Fixed a failure in DiscardBundleTests caused by not being able to setLastModified on a file locked by the framework.
2013-07-12Add compatibility fragment to support 2.0 style pluginsThomas Watson7-0/+1824

    Back to the top