You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by da...@apache.org on 2018/04/23 13:03:26 UTC
svn commit: r1829872 - in
/felix/trunk/converter/converter/src/main/java/org/osgi/util/converter:
Converter.java Converters.java Converting.java Functioning.java
Specifying.java TypeReference.java
Author: davidb
Date: Mon Apr 23 13:03:26 2018
New Revision: 1829872
URL: http://svn.apache.org/viewvc?rev=1829872&view=rev
Log:
[Felix Converter] Prepare Javadoc for release
Modified:
felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converter.java
felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converters.java
felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converting.java
felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Functioning.java
felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Specifying.java
felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/TypeReference.java
Modified: felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converter.java
URL: http://svn.apache.org/viewvc/felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converter.java?rev=1829872&r1=1829871&r2=1829872&view=diff
==============================================================================
--- felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converter.java (original)
+++ felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converter.java Mon Apr 23 13:03:26 2018
@@ -23,7 +23,6 @@ import org.osgi.annotation.versioning.Pr
* Converting interface that has methods to specify the target type.
*
* @author $Id$
- * @ThreadSafe
*/
@ProviderType
public interface Converter {
Modified: felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converters.java
URL: http://svn.apache.org/viewvc/felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converters.java?rev=1829872&r1=1829871&r2=1829872&view=diff
==============================================================================
--- felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converters.java (original)
+++ felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converters.java Mon Apr 23 13:03:26 2018
@@ -20,7 +20,6 @@ package org.osgi.util.converter;
* Factory class to obtain the standard converter or a new converter builder.
*
* @author $Id$
- * @ThreadSafe
*/
public class Converters {
private static final Converter CONVERTER;
Modified: felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converting.java
URL: http://svn.apache.org/viewvc/felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converting.java?rev=1829872&r1=1829871&r2=1829872&view=diff
==============================================================================
--- felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converting.java (original)
+++ felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Converting.java Mon Apr 23 13:03:26 2018
@@ -25,7 +25,6 @@ import org.osgi.annotation.versioning.Pr
* {@link Converter}.
*
* @author $Id$
- * @NotThreadSafe
*/
@ProviderType
public interface Converting extends Specifying<Converting> {
@@ -33,6 +32,7 @@ public interface Converting extends Spec
* Specify the target object type for the conversion as a class object.
*
* @param cls The class to convert to.
+ * @param <T> The type to convert to.
* @return The converted object.
*/
<T> T to(Class<T> cls);
@@ -42,6 +42,7 @@ public interface Converting extends Spec
*
* @param type A Type object to represent the target type to be converted
* to.
+ * @param <T> The type to convert to.
* @return The converted object.
*/
<T> T to(Type type);
@@ -58,6 +59,7 @@ public interface Converting extends Spec
* </pre>
*
* @param ref A type reference to the object being converted to.
+ * @param <T> The type to convert to.
* @return The converted object.
*/
<T> T to(TypeReference<T> ref);
Modified: felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Functioning.java
URL: http://svn.apache.org/viewvc/felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Functioning.java?rev=1829872&r1=1829871&r2=1829872&view=diff
==============================================================================
--- felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Functioning.java (original)
+++ felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Functioning.java Mon Apr 23 13:03:26 2018
@@ -27,7 +27,6 @@ import org.osgi.util.function.Function;
* be obtained via the {@link Converter}.
*
* @author $Id$
- * @NotThreadSafe
*/
@ProviderType
public interface Functioning extends Specifying<Functioning> {
@@ -35,6 +34,7 @@ public interface Functioning extends Spe
* Specify the target object type for the conversion as a class object.
*
* @param cls The class to convert to.
+ * @param <T> The type to convert to.
* @return A function that can perform the conversion.
*/
<T> Function<Object,T> to(Class<T> cls);
@@ -44,6 +44,7 @@ public interface Functioning extends Spe
*
* @param type A Type object to represent the target type to be converted
* to.
+ * @param <T> The type to convert to.
* @return A function that can perform the conversion.
*/
<T> Function<Object,T> to(Type type);
@@ -60,6 +61,7 @@ public interface Functioning extends Spe
* </pre>
*
* @param ref A type reference to the object being converted to.
+ * @param <T> The type to convert to.
* @return A function that can perform the conversion.
*/
<T> Function<Object,T> to(TypeReference<T> ref);
Modified: felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Specifying.java
URL: http://svn.apache.org/viewvc/felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Specifying.java?rev=1829872&r1=1829871&r2=1829872&view=diff
==============================================================================
--- felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Specifying.java (original)
+++ felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/Specifying.java Mon Apr 23 13:03:26 2018
@@ -23,7 +23,6 @@ import org.osgi.annotation.versioning.Pr
*
* @param <T> Either {@link Converting} or {@link Specifying}.
* @author $Id$
- * @NotThreadSafe
*/
@ProviderType
public interface Specifying<T extends Specifying<T>> {
Modified: felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/TypeReference.java
URL: http://svn.apache.org/viewvc/felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/TypeReference.java?rev=1829872&r1=1829871&r2=1829872&view=diff
==============================================================================
--- felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/TypeReference.java (original)
+++ felix/trunk/converter/converter/src/main/java/org/osgi/util/converter/TypeReference.java Mon Apr 23 13:03:26 2018
@@ -35,7 +35,6 @@ import org.osgi.annotation.versioning.Co
*
* @param <T> The target type for the conversion.
* @author $Id$
- * @Immutable
*/
@ConsumerType
public class TypeReference<T> {