Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rapicault2010-08-21 20:21:44 -0400
committerPascal Rapicault2010-08-21 20:21:44 -0400
commit6e90c5d284ef9b72f2f66253cd6989199ed9d8f7 (patch)
treea9747740fbff20200a726adcf693c03fdd7cbe26 /bundles/org.eclipse.equinox.p2.repository
parent92f40be340d4fd12506b52fd7987320210b03ca0 (diff)
downloadrt.equinox.p2-6e90c5d284ef9b72f2f66253cd6989199ed9d8f7.tar.gz
rt.equinox.p2-6e90c5d284ef9b72f2f66253cd6989199ed9d8f7.tar.xz
rt.equinox.p2-6e90c5d284ef9b72f2f66253cd6989199ed9d8f7.zip
Bug 323318 - Changing visibility of a few fields for Tycho
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.repository')
-rw-r--r--bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/CacheManager.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/CacheManager.java b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/CacheManager.java
index e2fe061ce..a772bee3d 100644
--- a/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/CacheManager.java
+++ b/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/CacheManager.java
@@ -232,7 +232,7 @@ public class CacheManager {
* @return A {@link File} pointing to the cache file or <code>null</code> if
* the cache file does not exist.
*/
- private File getCache(URI repositoryLocation, String prefix) {
+ protected File getCache(URI repositoryLocation, String prefix) {
File[] files = getCacheFiles(repositoryLocation, prefix);
if (files[0].exists())
return files[0];
@@ -242,7 +242,7 @@ public class CacheManager {
/**
* Returns the file corresponding to the data area to be used by the cache manager.
*/
- private File getCacheDirectory() {
+ protected File getCacheDirectory() {
return URIUtil.toFile(agentLocation.getDataArea(Activator.ID + "/cache/")); //$NON-NLS-1$
}
@@ -313,7 +313,7 @@ public class CacheManager {
bus.removeListener(busListener);
}
- private void updateCache(File cacheFile, URI remoteFile, long lastModifiedRemote, SubMonitor submonitor) throws FileNotFoundException, IOException, ProvisionException {
+ protected void updateCache(File cacheFile, URI remoteFile, long lastModifiedRemote, SubMonitor submonitor) throws FileNotFoundException, IOException, ProvisionException {
cacheFile.getParentFile().mkdirs();
File downloadDir = new File(cacheFile.getParentFile(), DOWNLOADING);
if (!downloadDir.exists())

Back to the top