Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Arthorne2010-03-05 17:32:23 -0500
committerJohn Arthorne2010-03-05 17:32:23 -0500
commit9fe7fc7078564daa547dc308fff7bc5ee15d4eaa (patch)
treec0df702c26b00d50a3e9397f9b07855c3af11845 /bundles/org.eclipse.equinox.p2.directorywatcher
parent6681d1baf3a6f5152768995ecca95e2238cbadd4 (diff)
downloadrt.equinox.p2-9fe7fc7078564daa547dc308fff7bc5ee15d4eaa.tar.gz
rt.equinox.p2-9fe7fc7078564daa547dc308fff7bc5ee15d4eaa.tar.xz
rt.equinox.p2-9fe7fc7078564daa547dc308fff7bc5ee15d4eaa.zip
Bug 293340 - [api][repository] Review of the repository package
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.directorywatcher')
-rw-r--r--bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java16
1 files changed, 4 insertions, 12 deletions
diff --git a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java
index 692f692f8..c6ea72751 100644
--- a/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java
+++ b/bundles/org.eclipse.equinox.p2.directorywatcher/src/org/eclipse/equinox/internal/provisional/p2/directorywatcher/CachingArtifactRepository.java
@@ -181,6 +181,10 @@ public class CachingArtifactRepository implements IArtifactRepository, IFileArti
return innerRepo.getProperties();
}
+ public String getProperty(String key) {
+ return innerRepo.getProperty(key);
+ }
+
public String getProvider() {
return innerRepo.getProvider();
}
@@ -201,24 +205,12 @@ public class CachingArtifactRepository implements IArtifactRepository, IFileArti
return innerRepo.isModifiable();
}
- public void setDescription(String description) {
- innerRepo.setDescription(description);
- }
-
- public void setName(String name) {
- innerRepo.setName(name);
- }
-
public String setProperty(String key, String value) {
String result = getProperties().get(key);
propertyChanges.put(key, value == null ? NULL : value);
return result;
}
- public void setProvider(String provider) {
- innerRepo.setProvider(provider);
- }
-
@SuppressWarnings("rawtypes")
public Object getAdapter(Class adapter) {
return innerRepo.getAdapter(adapter);

Back to the top