diff options
Diffstat (limited to 'libjava/classpath/org/omg/DynamicAny/DynValueHelper.java')
-rw-r--r-- | libjava/classpath/org/omg/DynamicAny/DynValueHelper.java | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libjava/classpath/org/omg/DynamicAny/DynValueHelper.java b/libjava/classpath/org/omg/DynamicAny/DynValueHelper.java index 17d9bbc5a8b..b8debb15f15 100644 --- a/libjava/classpath/org/omg/DynamicAny/DynValueHelper.java +++ b/libjava/classpath/org/omg/DynamicAny/DynValueHelper.java @@ -53,10 +53,10 @@ import org.omg.CORBA.portable.OutputStream; * specifications, DynValue is always a local object, so the two methods of this * helper ({@link #read} and {@link #write} are not in use, always throwing * {@link MARSHAL}. - * + * * @specnote always throwing MARSHAL in read and write ensures compatibility * with other popular implementations like Sun's. - * + * * @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org) */ public abstract class DynValueHelper @@ -64,7 +64,7 @@ public abstract class DynValueHelper /** * Cast the passed object into the DynValue. As DynValue is a local object, * the method just uses java type cast. - * + * * @param obj the object to narrow. * @return narrowed instance. * @throws BAD_PARAM if the passed object is not a DynValue. @@ -80,23 +80,23 @@ public abstract class DynValueHelper throw new BAD_PARAM(obj.getClass().getName() + " is not a DynValue"); } } - + /** * Narrow the given object to the DynValue. For the objects that are * always local, this operation does not differ from the ordinary * {@link #narrow} (ClassCastException will be thrown if narrowing something * different). See OMG issue 4158. - * + * * @param obj the object to cast. - * + * * @return the casted DynValue. - * - * @since 1.5 + * + * @since 1.5 */ public static DynValue unchecked_narrow(org.omg.CORBA.Object obj) { return narrow(obj); - } + } /** * Get the type code of the {@link DynValue}. @@ -108,9 +108,9 @@ public abstract class DynValueHelper /** * Insert the DynValue into the given Any. - * + * * @param any the Any to insert into. - * + * * @param that the DynValue to insert. */ public static void insert(Any any, DynValue that) @@ -120,7 +120,7 @@ public abstract class DynValueHelper /** * Extract the DynValue from given Any. - * + * * @throws BAD_OPERATION if the passed Any does not contain DynValue. */ public static DynValue extract(Any any) @@ -130,7 +130,7 @@ public abstract class DynValueHelper /** * Get the DynValue repository id. - * + * * @return "IDL:omg.org/DynamicAny/DynValue:1.0", always. */ public static String id() @@ -141,11 +141,11 @@ public abstract class DynValueHelper /** * This should read DynValue from the CDR input stream, but (following the JDK * 1.5 API) it does not. - * + * * @param input a org.omg.CORBA.portable stream to read from. - * + * * @specenote Sun throws the same exception. - * + * * @throws MARSHAL always. */ public static DynValue read(InputStream input) @@ -156,15 +156,15 @@ public abstract class DynValueHelper /** * This should read DynValue from the CDR input stream, but (following the JDK * 1.5 API) it does not. - * + * * @param output a org.omg.CORBA.portable stream to write into. - * + * * @specenote Sun throws the same exception. - * + * * @throws MARSHAL always. */ public static void write(OutputStream output, DynValue value) { throw new MARSHAL(DynAnyFactoryHelper.not_applicable(id())); } -}
\ No newline at end of file +} |