From d337eab9ccbad79f35f6def56055219719ead2f4 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Thu, 27 Jul 2006 13:39:31 +0000 Subject: [PATCH] Fix warnings in dstore.doc.isv build --- .../dstore/core/client/ClientCommandHandler.java | 2 +- .../dstore/core/java/ClassByteStreamHandler.java | 2 +- .../org/eclipse/dstore/core/java/ClassRequest.java | 1 - .../eclipse/dstore/core/java/RemoteClassLoader.java | 2 +- .../src/org/eclipse/dstore/core/model/DataStore.java | 12 +++++------- .../eclipse/dstore/core/model/ISchemaRegistry.java | 2 +- .../dstore/core/server/ServerUpdateHandler.java | 2 +- 7 files changed, 10 insertions(+), 13 deletions(-) diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/client/ClientCommandHandler.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/client/ClientCommandHandler.java index ae002f538cf..f62c1c65ce6 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/client/ClientCommandHandler.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/client/ClientCommandHandler.java @@ -144,7 +144,7 @@ public class ClientCommandHandler extends CommandHandler * @param bytes the bytes of a file to send * @param size the number of bytes to send * @param binary indicates whether to send the bytes as binary or unicode - * @param bytesStreamHandlerId indicates wwhich byte stream handler should receive the bytes + * @param byteStreamHandlerId indicates wwhich byte stream handler should receive the bytes */ public synchronized void sendFile(String fileName, byte[] bytes, int size, boolean binary, String byteStreamHandlerId) { diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/ClassByteStreamHandler.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/ClassByteStreamHandler.java index 7fb752222aa..7c98eb7cb6e 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/ClassByteStreamHandler.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/ClassByteStreamHandler.java @@ -48,7 +48,7 @@ public class ClassByteStreamHandler implements IClassByteStreamHandler /** * Contructor * @param dataStore the DataStore instance - * @param the log in which to log status and messages + * @param log the log in which to log status and messages */ public ClassByteStreamHandler(DataStore dataStore, DataElement log) { diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/ClassRequest.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/ClassRequest.java index 38601ba5e22..979358360e9 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/ClassRequest.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/ClassRequest.java @@ -34,7 +34,6 @@ public class ClassRequest /** * Constructs a new ClassRequest * @param className The name of the class requested - * @param Thread optional thread that requested the class * @param synchronous whether or not the request is synchronous */ public ClassRequest(String className, boolean synchronous) diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/RemoteClassLoader.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/RemoteClassLoader.java index 8c009f1129f..fc8b4d8e9ca 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/RemoteClassLoader.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/java/RemoteClassLoader.java @@ -271,7 +271,7 @@ public class RemoteClassLoader extends ClassLoader * class has been loaded. * @param className the name of the class to receive * @param bytes the bytes in the class - * @param the size of the class + * @param size the size of the class */ public synchronized void receiveClass(String className, byte[] bytes, int size) { diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/DataStore.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/DataStore.java index ae45b27a11f..1d91248d3fe 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/DataStore.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/DataStore.java @@ -270,7 +270,7 @@ public final class DataStore /** * Sets the loaders for this DataStore. The loaders are used to load miners (extension tools). * - * @param loader the loader for the miners this DataStore will be using + * @param loaders the loaders for the miners this DataStore will be using */ public void setLoaders(ArrayList loaders) { @@ -370,7 +370,7 @@ public final class DataStore /** * Tells the DataStore where to find the miners which it needs to load. * - * @param minersLocation a DataElement representing the location of the miners + * @param location a DataElement representing the location of the miners */ public void addMinersLocation(DataElement location) { @@ -757,7 +757,7 @@ public final class DataStore /** * Returns the attribute indicated by an index. * - * @param the index of the attribute to get + * @param attribute the index of the attribute to get * @return the attribute */ public String getAttribute(int attribute) @@ -922,7 +922,6 @@ public final class DataStore * @param from the element that references the other elements * @param to a list of elements that from references * @param type the string that represents the type of relationships between from and to - * @return the new reference */ public void createReferences(DataElement from, ArrayList to, String type) { @@ -2317,8 +2316,8 @@ public final class DataStore * Creates and issues a synchronized command. * * @param commandDescriptor the comamnd descriptor for the command + * @param arguments the arguments for the command * @param dataObject the subject of the command - * @param noRef and indication of whether the subject should be referenced or not * @return the status of the command */ public DataElement synchronizedCommand(DataElement commandDescriptor, ArrayList arguments, DataElement dataObject) @@ -2487,7 +2486,7 @@ public final class DataStore /** * Find a command descriptor element in the schema with the given value. * - * @param object the object descriptor representing the type of object that can issue such a command + * @param descriptor the object descriptor representing the type of object that can issue such a command * @param keyName the value of the command to search for * @param depth the depth of abstraction to search * @return the command descriptor for the specified command @@ -2621,7 +2620,6 @@ public final class DataStore * Finds all the deleted elements * * @param root where to search from - * @param type the descriptor representing the type of the objects to search for * @return a list of elements */ public synchronized List findDeleted(DataElement root) diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/ISchemaRegistry.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/ISchemaRegistry.java index 49f3d7f781f..27188290f7f 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/ISchemaRegistry.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/model/ISchemaRegistry.java @@ -43,7 +43,7 @@ public interface ISchemaRegistry /** * Returns an ExternalLoader for the specified qualified class name - * @param qualfiedClassName the qualified class name of an external tool + * @param qualifiedClassName the qualified class name of an external tool * @return the external loader that can load to specified class */ public ExternalLoader getLoaderFor(String qualifiedClassName); diff --git a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/ServerUpdateHandler.java b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/ServerUpdateHandler.java index f5d8f8aaf59..8ec2a8246c0 100644 --- a/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/ServerUpdateHandler.java +++ b/rse/plugins/org.eclipse.dstore.core/src/org/eclipse/dstore/core/server/ServerUpdateHandler.java @@ -387,7 +387,7 @@ public class ServerUpdateHandler extends UpdateHandler * Implemented to provide the means by which classes are sent * across the comm channel. * @param className the name of the class to send - * @param classbyteStreamHandlerId the name of the byte stream handler to use to receive the class + * @param classByteStreamHandlerId the name of the byte stream handler to use to receive the class */ public synchronized void sendClass(String className, String classByteStreamHandlerId) {