Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Fedorov2021-10-13 08:47:25 +0000
committerAlexander Fedorov2021-10-13 10:22:30 +0000
commitbb68ecb68499ae9700d2a6068dd599cd4943e1b1 (patch)
tree01e8d309ecfceb63bb1729cc347447b1c73c8f02
parent7f623c57a6c09236b2e8daa47ba5aff8726eae14 (diff)
downloadeclipse.platform.team-I20211022-0920.tar.gz
eclipse.platform.team-I20211022-0920.tar.xz
eclipse.platform.team-I20211022-0920.zip
Added @throws tags for declared TeamException Change-Id: I7a667f5ad7d047e663d912909ae90ca2043f5b7a Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.team/+/186423 Tested-by: Platform Bot <platform-bot@eclipse.org>
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/ResourceVariantByteStore.java15
1 files changed, 10 insertions, 5 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/ResourceVariantByteStore.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/ResourceVariantByteStore.java
index 2b4deacfb..27c299432 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/ResourceVariantByteStore.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/variants/ResourceVariantByteStore.java
@@ -82,19 +82,24 @@ public abstract class ResourceVariantByteStore {
public abstract boolean flushBytes(IResource resource, int depth) throws TeamException;
/**
- * Method called to indicate that it is known that there is no variant associated
- * with the local resource. Subclasses may handle this information in different ways.
- * The <code>flush(IResource, int)</code> method should be used in the cases
- * where a client wishes to remove bytes for other reason.
+ * Method called to indicate that it is known that there is no variant
+ * associated with the local resource. Subclasses may handle this information in
+ * different ways. The <code>flush(IResource, int)</code> method should be used
+ * in the cases where a client wishes to remove bytes for other reason.
+ *
* @param resource the local resource
* @return <code>true</code> if this changes the bytes for the variant
+ * @throws TeamException if an error occurs
*/
public abstract boolean deleteBytes(IResource resource) throws TeamException;
/**
- * Return the children of the given resource that have resource variants in this tree.
+ * Return the children of the given resource that have resource variants in this
+ * tree.
+ *
* @param resource the parent resource
* @return the members who have resource variants in this tree.
+ * @throws TeamException if an error occurs
*/
public abstract IResource[] members(IResource resource) throws TeamException;

Back to the top