Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.osee.framework.resource.provider.attribute')
-rw-r--r--plugins/org.eclipse.osee.framework.resource.provider.attribute/src/org/eclipse/osee/framework/resource/provider/attribute/AttributeProvider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.osee.framework.resource.provider.attribute/src/org/eclipse/osee/framework/resource/provider/attribute/AttributeProvider.java b/plugins/org.eclipse.osee.framework.resource.provider.attribute/src/org/eclipse/osee/framework/resource/provider/attribute/AttributeProvider.java
index 75df77b3ab3..80bbff73d18 100644
--- a/plugins/org.eclipse.osee.framework.resource.provider.attribute/src/org/eclipse/osee/framework/resource/provider/attribute/AttributeProvider.java
+++ b/plugins/org.eclipse.osee.framework.resource.provider.attribute/src/org/eclipse/osee/framework/resource/provider/attribute/AttributeProvider.java
@@ -41,7 +41,7 @@ public class AttributeProvider implements IResourceProvider {
BASE_PATH = OseeServerProperties.getOseeApplicationServerData();
}
- private URI resolve(IResourceLocator locator) throws OseeCoreException {
+ private URI resolve(IResourceLocator locator) {
StringBuilder builder = new StringBuilder(BASE_PATH + File.separator + SUPPORTED_PROTOCOL + File.separator);
builder.append(locator.getRawPath());
return new File(builder.toString()).toURI();
@@ -53,7 +53,7 @@ public class AttributeProvider implements IResourceProvider {
}
@Override
- public int delete(IResourceLocator locator) throws OseeCoreException {
+ public int delete(IResourceLocator locator) {
int toReturn = IResourceManager.FAIL;
File file = new File(resolve(locator));
if (file == null || file.exists() != true) {
@@ -102,7 +102,7 @@ public class AttributeProvider implements IResourceProvider {
}
@Override
- public boolean exists(IResourceLocator locator) throws OseeCoreException {
+ public boolean exists(IResourceLocator locator) {
URI uri = resolve(locator);
File testFile = new File(uri);
return testFile.exists();

Back to the top