summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Bull2013-09-03 15:04:17 (EDT)
committerIan Bull2013-09-03 15:04:17 (EDT)
commitcacbe7d2a99c31be313baa5da2e4b52ac885965c (patch)
treea384b3d1ef901ac73994a83a1913a93873737c3d
parent2cdbeb9384e9621cbdc294d3c7f0a0dfcf9e3e9a (diff)
downloadrt.equinox.p2-cacbe7d2a99c31be313baa5da2e4b52ac885965c.zip
rt.equinox.p2-cacbe7d2a99c31be313baa5da2e4b52ac885965c.tar.gz
rt.equinox.p2-cacbe7d2a99c31be313baa5da2e4b52ac885965c.tar.bz2
Bug 381673 - 16 compile warnings in official build
Remove uncessary unused annotations.
-rw-r--r--bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/artifact/UpdateSiteArtifactRepositoryFactory.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepositoryFactory.java1
2 files changed, 0 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/artifact/UpdateSiteArtifactRepositoryFactory.java b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/artifact/UpdateSiteArtifactRepositoryFactory.java
index e8b6b66..100046f 100644
--- a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/artifact/UpdateSiteArtifactRepositoryFactory.java
+++ b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/artifact/UpdateSiteArtifactRepositoryFactory.java
@@ -71,7 +71,6 @@ public class UpdateSiteArtifactRepositoryFactory extends ArtifactRepositoryFacto
return new UpdateSiteArtifactRepository(location, repository);
}
- @SuppressWarnings("unused")
private static boolean isURL(URI location) {
try {
new URL(location.toASCIIString());
diff --git a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepositoryFactory.java b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepositoryFactory.java
index fe5c93a..d314221 100644
--- a/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepositoryFactory.java
+++ b/bundles/org.eclipse.equinox.p2.updatesite/src/org/eclipse/equinox/internal/p2/updatesite/metadata/UpdateSiteMetadataRepositoryFactory.java
@@ -68,7 +68,6 @@ public class UpdateSiteMetadataRepositoryFactory extends MetadataRepositoryFacto
return new UpdateSiteMetadataRepository(location, repository);
}
- @SuppressWarnings("unused")
private static boolean isURL(URI location) {
try {
new URL(location.toASCIIString());