diff --git a/bundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java b/bundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java
index 765650e7980..3ce99c3990a 100644
--- a/bundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java
+++ b/bundles/org.eclipse.equinox.console.ssh/src/org/eclipse/equinox/console/ssh/UserAdminCommand.java
@@ -42,9 +42,9 @@ public class UserAdminCommand {
/**
* Command for adding a user
*
- * @param args command line arguments in the format -username
* ---Controlliing Bundles---
*
* ---Displaying Status---
*
- *
*
- *
* ---Controlling StartLevel--- *
*
* ---Eclipse Runtime commands---
@@ -1873,7 +1873,7 @@ private void getRequiredBundlePackages(BundleWire requiredWire, Set
*
* @param array The array of objects to sort
*/
@@ -33,13 +32,14 @@ public static void sortByString(Object[] array) {
* Sorts the array of objects by their string representation in ascending order.
*
* This is a version of C.A.R Hoare's Quick Sort algorithm.
+ *
+ * Concurrent Semantics
+ *
* Note that this is an internal interface and is not intended for external use.
- * start < 0
or
- * end >= array.length
+ * @exception ArrayIndexOutOfBoundsException when start < 0
or
+ * end >= array.length
*/
public static void qSortByString(Object[] array, int start, int stop) {
if (start >= stop)
@@ -95,9 +95,9 @@ public static void qSortByString(Object[] array, int start, int stop) {
* not implement Comparable or
* elements cannot be compared to each
* other
- * @exception IllegalArgumentException when start > end
- * @exception ArrayIndexOutOfBoundsException when start < 0
or
- * end > array.size()
+ * @exception IllegalArgumentException when {@code start > end}
+ * @exception ArrayIndexOutOfBoundsException when {@code start < 0} or
+ * {@code end > array.size()}
*/
@SuppressWarnings("unchecked")
public static void sort(Object[] array, int start, int end) {
@@ -137,9 +137,9 @@ public static void sort(Object[] array, int start, int end) {
* not implement Comparable or
* elements cannot be compared to each
* other
- * @exception IllegalArgumentException when start > end
- * @exception ArrayIndexOutOfBoundsException when start < 0
or
- * end > array.size()
+ * @exception IllegalArgumentException when {@code start > end}
+ * @exception ArrayIndexOutOfBoundsException when {@code start < 0} or
+ * {@code end > array.size()}
*/
public static void dsort(Object[] array, int start, int end) {
// first sort in ascending order
diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/BundleIdBasedRegion.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/BundleIdBasedRegion.java
index c42dcdf7ea1..df0f8ef28ef 100644
--- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/BundleIdBasedRegion.java
+++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/BundleIdBasedRegion.java
@@ -28,9 +28,9 @@
* {@link BundleIdBasedRegion} is an implementation of {@link Region} which
* keeps a track of the bundles in the region by recording their bundle
* identifiers.
- *
- *
- * Concurrent Semantics
+ *
+ * Concurrent Semantics + *
* * Threadsafe. */ diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java index dcf7c2f49a1..aa0dbc7f1fc 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraph.java @@ -26,9 +26,9 @@ /** * {@link StandardRegionDigraph} is the default implementation of * {@link RegionDigraph}. - * - * - * Concurrent Semantics+ * Concurrent Semantics + *
* * Thread safe. */ diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraphPersistence.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraphPersistence.java index d840a9526c2..a5de7f1dea7 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraphPersistence.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/StandardRegionDigraphPersistence.java @@ -23,9 +23,9 @@ /** * * Class used for reading and writing a region digraph to persistent storage. - * - * - * Concurrent Semantics+ * Concurrent Semantics + *
* Thread safe. */ public final class StandardRegionDigraphPersistence implements RegionDigraphPersistence { diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionBundleEventHook.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionBundleEventHook.java index 307bbb91b03..2d582efb230 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionBundleEventHook.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionBundleEventHook.java @@ -27,7 +27,7 @@ * The current implementation delegates to {@link RegionBundleFindHook}. This is * likely to perform adequately because of the low frequency of bundle events * and the typically small number of bundle listeners. - * + * * * Concurrent Semantics+ * Concurrent Semantics + *
* Thread safe. */ public final class RegionBundleFindHook implements FindHook { diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java index c42c41c2d2b..5fbb21a2914 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHook.java @@ -25,9 +25,9 @@ /** * {@link RegionResolverHook} manages the visibility of bundles across regions * according to the {@link RegionDigraph}. - * - * - * Concurrent Semantics+ * Concurrent Semantics + *
* Thread safe. */ public final class RegionResolverHook implements ResolverHook { diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHookFactory.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHookFactory.java index 466e8b2c78c..a6dceb505ce 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHookFactory.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionResolverHookFactory.java @@ -14,10 +14,8 @@ package org.eclipse.equinox.internal.region.hook; -import org.eclipse.equinox.region.RegionDigraph; - import java.util.Collection; - +import org.eclipse.equinox.region.RegionDigraph; import org.osgi.framework.hooks.resolver.ResolverHook; import org.osgi.framework.hooks.resolver.ResolverHookFactory; import org.osgi.framework.wiring.BundleRevision; @@ -25,9 +23,9 @@ /** * {@link RegionResolverHook} constructs an instance of * {@link RegionResolverHook} for a particular resolution operation. - * - * - * Concurrent Semantics+ * Concurrent Semantics + *
* * Thread safe. */ diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionServiceEventHook.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionServiceEventHook.java index eda90766dd7..e1d66b4af37 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionServiceEventHook.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/hook/RegionServiceEventHook.java @@ -27,7 +27,7 @@ * The current implementation avoids traversing the graph multiple times from * the same region. This is necessary to optimize the case where many bundles * with service listeners are contained in the same region. - * + * * * Concurrent Semantics+ * Concurrent Semantics + *
* Thread safe. */ public final class RegionServiceFindHook implements FindHook { diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/management/StandardManageableRegion.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/management/StandardManageableRegion.java index cb31d1047b9..367d439fe16 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/management/StandardManageableRegion.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/management/StandardManageableRegion.java @@ -14,22 +14,19 @@ package org.eclipse.equinox.internal.region.management; +import java.util.*; import org.eclipse.equinox.region.Region; import org.eclipse.equinox.region.RegionDigraph; import org.eclipse.equinox.region.RegionDigraph.FilteredRegion; import org.eclipse.equinox.region.management.ManageableRegion; import org.eclipse.equinox.region.management.ManageableRegionDigraph; -import java.util.ArrayList; -import java.util.List; -import java.util.Set; - /** * {@link StandardManageableRegion} is the default implementation of * {@link ManageableRegion}. - * - * - * Concurrent Semantics+ * Concurrent Semantics + *
* Thread safe. */ public class StandardManageableRegion implements ManageableRegion { diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/management/StandardManageableRegionDigraph.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/management/StandardManageableRegionDigraph.java index 2b7f741e51b..d2758a4703c 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/management/StandardManageableRegionDigraph.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/internal/region/management/StandardManageableRegionDigraph.java @@ -28,9 +28,9 @@ /** * {@link StandardManageableRegionDigraph} is a {@link ManageableRegionDigraph} * that delegates to the {@link RegionDigraph}. - * - * - * Concurrent Semantics+ * Concurrent Semantics + *
* Thread safe. */ public final class StandardManageableRegionDigraph implements ManageableRegionDigraph { diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/Region.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/Region.java index e538cf74a73..7a584679dbb 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/Region.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/Region.java @@ -26,10 +26,10 @@ * from other regions to which it is connected. However a bundle running in a * region is not protected from discovering bundles in other regions, e.g. by * following wires using Wire Admin or similar services, so this is why regions - * are only weakly isolated from each other. - * + * are only weakly isolated from each other.
- * The region digraph extends
+ * Concurrent Semantics
+ *
* Note that the returned digraph is disconnected from the OSGi runtime. Any
* modifications made to the returned digraph will not affect the OSGi runtime
* behavior of the bundles installed in the running framework.
- * Iterable
and so a foreach
+ * The region digraph extends {@code Iterable
+ *
+ *
* After the digraph has been written, the output stream is flushed. The output * stream remains open after this method returns. + *
* * @param digraph a digraph to be written. * @param output an output stream to write a digraph to. diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionDigraphVisitor.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionDigraphVisitor.java index 509fddb9ef0..46cdd26c04b 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionDigraphVisitor.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionDigraphVisitor.java @@ -17,9 +17,10 @@ /** * {@link RegionDigraphVisitor} is used to traverse a subgraph of a * {@link RegionDigraph}. - * * - * Concurrent Semantics+ * Concurrent Semantics + *
* * Implementations of this interface must be thread safe. */ diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionFilter.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionFilter.java index 179c698c717..d24322bb7db 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionFilter.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionFilter.java @@ -26,9 +26,9 @@ * which are visible across the connection. A region filter is constant; its * sharing policy cannot be changed after construction. Instances of region * filters can be created with a {@link RegionFilterBuilder}. - * - * - * Concurrent Semantics+ * Concurrent Semantics + *
* * Implementations must be thread safe. * diff --git a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionFilterBuilder.java b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionFilterBuilder.java index 0e6c367d10c..4716e95e2dc 100644 --- a/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionFilterBuilder.java +++ b/bundles/org.eclipse.equinox.region/src/org/eclipse/equinox/region/RegionFilterBuilder.java @@ -20,13 +20,13 @@ * A builder for creating {@link RegionFilter} instances. A builder instance can * be obtained from the {@link RegionDigraph#createRegionFilterBuilder()} * method. - * + ** Name spaces are used to configure the filters with a builder. A name space is * a string which is used to separate the names of various kinds of OSGi * resource whose names could otherwise collide. It can be either an OSGi * standard value such as {@link RegionFilter#VISIBLE_PACKAGE_NAMESPACE * osgi.wiring.package} or a user defined value. - *
+ * * Concurrent Semantics
*
- * Concurrent Semantics
+ * Concurrent Semantics
+ *
+ * Concurrent Semantics + *
* Thread safe. */ @MXBean diff --git a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/JavaEncryption.java b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/JavaEncryption.java index 8fa166aeaf1..2bbc99a0bba 100644 --- a/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/JavaEncryption.java +++ b/bundles/org.eclipse.equinox.security/src/org/eclipse/equinox/internal/security/storage/JavaEncryption.java @@ -217,7 +217,7 @@ private void handle(Exception e, int internalCode) throws StorageException { // Algorithm detection /** - * Result: Map:+ * {@code * [UserPreferences1] -> [Options1] + * \ * [secure preferences1] <- 1 : 1 -> URL1 @@ -51,6 +52,7 @@ * [secure preferences2] <- 1 : 1 -> URL2 * / * [UserPreferences4] -> [Options4] + + * } ** * The user-facing nodes are actually a (node + options for this container). diff --git a/bundles/org.eclipse.osgi.services/build.properties b/bundles/org.eclipse.osgi.services/build.properties index 4f774726ccc..23f6809a700 100644 --- a/bundles/org.eclipse.osgi.services/build.properties +++ b/bundles/org.eclipse.osgi.services/build.properties @@ -21,3 +21,4 @@ src.includes = about.html,\ source.. = src/ output.. = bin/ +pom.model.property.failOnJavadocErrors = false