Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrbrooks2010-07-24 17:38:31 +0000
committerrbrooks2010-07-24 17:38:31 +0000
commit4081f04850d3eff9eb1bd7241763707bfbb43a45 (patch)
tree258620df94d4b24077ff103a6c4dea9cb78493fb /plugins/org.eclipse.osee.framework.resource.management
parent4ed8bddc791fda93940f238c5135556a07041dc0 (diff)
downloadorg.eclipse.osee-4081f04850d3eff9eb1bd7241763707bfbb43a45.tar.gz
org.eclipse.osee-4081f04850d3eff9eb1bd7241763707bfbb43a45.tar.xz
org.eclipse.osee-4081f04850d3eff9eb1bd7241763707bfbb43a45.zip
applied Eclipse source cleanup
Diffstat (limited to 'plugins/org.eclipse.osee.framework.resource.management')
-rw-r--r--plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/Activator.java2
-rw-r--r--plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/StandardOptions.java7
-rw-r--r--plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceLocatorManager.java2
-rw-r--r--plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceManager.java4
-rw-r--r--plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/Resource.java2
-rw-r--r--plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/ResourceLocator.java2
6 files changed, 17 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/Activator.java b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/Activator.java
index c897d63b7b..4ab5fb1c57 100644
--- a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/Activator.java
+++ b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/Activator.java
@@ -15,9 +15,11 @@ import org.osgi.framework.BundleContext;
public class Activator implements BundleActivator {
+ @Override
public void start(BundleContext context) throws Exception {
}
+ @Override
public void stop(BundleContext context) throws Exception {
}
diff --git a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/StandardOptions.java b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/StandardOptions.java
index a901883e32..791787e9d7 100644
--- a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/StandardOptions.java
+++ b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/StandardOptions.java
@@ -14,5 +14,10 @@ package org.eclipse.osee.framework.resource.management;
* @author Roberto E. Escobar
*/
public enum StandardOptions {
- CompressOnSave, CompressOnAcquire, DecompressOnSave, DecompressOnAquire, Overwrite, Extension;
+ CompressOnSave,
+ CompressOnAcquire,
+ DecompressOnSave,
+ DecompressOnAquire,
+ Overwrite,
+ Extension;
}
diff --git a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceLocatorManager.java b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceLocatorManager.java
index 34a234284b..6a37211dc3 100644
--- a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceLocatorManager.java
+++ b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceLocatorManager.java
@@ -76,7 +76,7 @@ public class ResourceLocatorManager implements IResourceLocatorManager {
}
if (toReturn == null) {
throw new MalformedLocatorException(String.format("Error finding locator for [%s] in [%s]", protocol,
- resourceLocatorProviders));
+ resourceLocatorProviders));
}
return toReturn;
}
diff --git a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceManager.java b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceManager.java
index d555aa644d..22488a6fa1 100644
--- a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceManager.java
+++ b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/internal/ResourceManager.java
@@ -39,6 +39,7 @@ public class ResourceManager implements IResourceManager {
return listeners.add(listener);
}
+ @Override
public boolean removeResourceListener(IResourceListener listener) {
return listeners.remove(listener);
}
@@ -103,6 +104,7 @@ public class ResourceManager implements IResourceManager {
return resourceProviders.remove(resourceProvider);
}
+ @Override
public IResource acquire(IResourceLocator locator, Options options) throws OseeCoreException {
IResourceProvider provider = getProvider(locator);
notifyPreOnAcquire(locator);
@@ -111,6 +113,7 @@ public class ResourceManager implements IResourceManager {
return toReturn;
}
+ @Override
public IResourceLocator save(IResourceLocator locator, IResource resource, Options options) throws OseeCoreException {
IResourceProvider provider = getProvider(locator);
notifyPreOnSave(locator, resource, options);
@@ -119,6 +122,7 @@ public class ResourceManager implements IResourceManager {
return actualLocator;
}
+ @Override
public int delete(IResourceLocator locator) throws OseeCoreException {
int toReturn = IResourceManager.FAIL;
IResourceProvider provider = getProvider(locator);
diff --git a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/Resource.java b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/Resource.java
index 63104653e6..c680a38419 100644
--- a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/Resource.java
+++ b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/Resource.java
@@ -29,6 +29,7 @@ public class Resource implements IResource {
this.isCompressed = isCompressed;
}
+ @Override
public InputStream getContent() throws OseeCoreException {
InputStream stream = null;
try {
@@ -39,6 +40,7 @@ public class Resource implements IResource {
return stream;
}
+ @Override
public URI getLocation() {
return uri;
}
diff --git a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/ResourceLocator.java b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/ResourceLocator.java
index 1b81ab3c27..e109d84713 100644
--- a/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/ResourceLocator.java
+++ b/plugins/org.eclipse.osee.framework.resource.management/src/org/eclipse/osee/framework/resource/management/util/ResourceLocator.java
@@ -29,10 +29,12 @@ public class ResourceLocator implements IResourceLocator {
this.uri = uri;
}
+ @Override
public URI getLocation() {
return uri;
}
+ @Override
public String getProtocol() {
return uri.getScheme();
}

Back to the top