diff options
author | Thomas Watson | 2017-06-20 13:01:24 +0000 |
---|---|---|
committer | Thomas Watson | 2017-06-20 13:30:12 +0000 |
commit | b0a059a676e6245c25ab0dacb5cd40a5c704e663 (patch) | |
tree | c95ce5f465060712f9b034c88a6b6b51b405bad9 /bundles/org.eclipse.osgi/osgi | |
parent | 1209e11363b68211353c2a8d20579913fba88622 (diff) | |
download | rt.equinox.framework-b0a059a676e6245c25ab0dacb5cd40a5c704e663.tar.gz rt.equinox.framework-b0a059a676e6245c25ab0dacb5cd40a5c704e663.tar.xz rt.equinox.framework-b0a059a676e6245c25ab0dacb5cd40a5c704e663.zip |
Bug 518515 - Update OSGi APIs for R7I20170621-0600I20170620-2000
Change-Id: Ib26b500c3283111602199ef6783d6295367c32a8
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
Diffstat (limited to 'bundles/org.eclipse.osgi/osgi')
5 files changed, 16 insertions, 16 deletions
diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java index 0b74bf5b6..2747cd815 100644 --- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java +++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Constants.java @@ -814,7 +814,6 @@ public interface Constants { * * @see #FRAGMENT_HOST * @see #EXTENSION_FRAMEWORK - * @see #EXTENSION_BOOTCLASSPATH * @since 1.3 */ String EXTENSION_DIRECTIVE = "extension"; @@ -840,7 +839,6 @@ public interface Constants { * Manifest header directive value identifying the type of extension * fragment. An extension fragment type of bootclasspath indicates that the * extension fragment is to be loaded by the boot class loader. - * * <p> * The directive value is encoded in the Fragment-Host manifest header like: * @@ -850,6 +848,7 @@ public interface Constants { * * @see #EXTENSION_DIRECTIVE * @since 1.3 + * @deprecated As of 1.9. */ String EXTENSION_BOOTCLASSPATH = "bootclasspath"; diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/FormatterLogger.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/FormatterLogger.java index be65488e5..5fe22978a 100644 --- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/FormatterLogger.java +++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/FormatterLogger.java @@ -1,5 +1,5 @@ /* - * Copyright (c) OSGi Alliance (2016). All Rights Reserved. + * Copyright (c) OSGi Alliance (2016, 2017). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/Logger.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/Logger.java index 541626726..a9cc36a67 100644 --- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/Logger.java +++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/Logger.java @@ -23,13 +23,13 @@ import org.osgi.annotation.versioning.ProviderType; * format strings. * <p> * Messages can be formatted by the Logger once the Logger determines the log - * level is enabled. Use a left curly bracket (<code>'{' \u007B</code>) followed - * by a right curly bracket (<code>'}' \u007D</code>) as a place holder for an - * argument: <code>"{}"</code>. If you need to use the literal <code>"{}"</code> - * in the formatted message, precede the place holder with a reverse solidus - * ({@code '\' \u005C}): <code>"\\{}"</code>. If you need to place a backslash - * before the place holder, precede the reverse solidus with a reverse solidus: - * <code>"\\\\{}"</code>. + * level is enabled. Use a left curly bracket (<code>'{'</code> \u007B) + * followed by a right curly bracket (<code>'}'</code> \u007D) as a place + * holder for an argument: <code>"{}"</code>. If you need to use the literal + * <code>"{}"</code> in the formatted message, precede the place holder with a + * reverse solidus ({@code '\'} \u005C): <code>"\{}"</code>. If you need to + * place a backslash before the place holder, precede the reverse solidus with a + * reverse solidus: <code>"\\{}"</code>. * <p> * You can also add a {@code Throwable} and/or {@code ServiceReference} to the * generated {@link LogEntry} by passing them to the logging methods as diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/admin/LoggerContext.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/admin/LoggerContext.java index a5124e0e6..b8add769c 100644 --- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/admin/LoggerContext.java +++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/service/log/admin/LoggerContext.java @@ -43,9 +43,10 @@ public interface LoggerContext { * <li>The root Logger Context, which has no name, is mapped to the PID * {@code org.osgi.service.log.admin}.</li> * <li>A named Logger Context is mapped to a targeted PID by prefixing the - * Logger Context's name with {@code org.osgi.service.log.admin|}. For - * example, the Logger Context named {@code com.foo.bar} is mapped to the - * targeted PID {@code org.osgi.service.log.admin|com.foo.bar}.</li> + * Logger Context's name with {@code org.osgi.service.log.admin} followed by + * vertical line ({@code '|'} \u007c). For example, the Logger Context + * named {@code com.foo.bar} is mapped to the targeted PID + * {@code org.osgi.service.log.admin|com.foo.bar}.</li> * </ul> */ String LOGGER_CONTEXT_PID = "org.osgi.service.log.admin"; diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/util/tracker/ServiceTracker.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/util/tracker/ServiceTracker.java index 7687fb89f..3c9016c43 100644 --- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/util/tracker/ServiceTracker.java +++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/util/tracker/ServiceTracker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) OSGi Alliance (2000, 2016). All Rights Reserved. + * Copyright (c) OSGi Alliance (2000, 2017). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -394,9 +394,9 @@ public class ServiceTracker<S, T> implements ServiceTrackerCustomizer<S, T> { * This method is only called when this {@code ServiceTracker} has been * constructed with a {@code null ServiceTrackerCustomizer} argument. * <p> - * This implementation returns the result of calling {@code getService} on + * This implementation returns the result of calling {@code getService}, on * the {@code BundleContext} with which this {@code ServiceTracker} was - * created passing the specified {@code ServiceReference}. + * created, passing the specified {@code ServiceReference}. * <p> * This method can be overridden in a subclass to customize the service * object to be tracked for the service being added. In that case, take care |