From 78a04e37a795f9dfeb4d6d7aa0438f683c159cd5 Mon Sep 17 00:00:00 2001 From: Yana Stamcheva Date: Mon, 3 Apr 2006 15:24:44 +0000 Subject: [PATCH] errors in comments repaired --- src/net/java/sip/communicator/impl/gui/UIServiceImpl.java | 6 +++--- .../impl/gui/events/ContainerPluginListener.java | 4 ++-- .../communicator/impl/gui/main/message/ChatWindow.java | 8 ++++---- src/net/java/sip/communicator/service/gui/UIService.java | 2 +- .../communicator/service/gui/event/ContainerListener.java | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/net/java/sip/communicator/impl/gui/UIServiceImpl.java b/src/net/java/sip/communicator/impl/gui/UIServiceImpl.java index 5db0614fb..b242ad834 100644 --- a/src/net/java/sip/communicator/impl/gui/UIServiceImpl.java +++ b/src/net/java/sip/communicator/impl/gui/UIServiceImpl.java @@ -62,8 +62,8 @@ else if(!(component instanceof Component)){ } /** - * Implements getSupportedConstraints in UIService interface. - * @see UIService#getSupportedConstraints() + * Implements getSupportedContainers in UIService interface. + * @see UIService#getSupportedContainers() */ public Iterator getSupportedContainers() { return Collections.unmodifiableList(supportedContainers).iterator(); @@ -71,7 +71,7 @@ public Iterator getSupportedContainers() { /** * Implements getComponentsForConstraint in UIService interface. - * @see UIService#getComponentsForConstraint(String) + * @see UIService#getComponentsForContainer(ContainerID) */ public Iterator getComponentsForContainer(ContainerID containerID) throws IllegalArgumentException { diff --git a/src/net/java/sip/communicator/impl/gui/events/ContainerPluginListener.java b/src/net/java/sip/communicator/impl/gui/events/ContainerPluginListener.java index 449e2cbf2..eec8bcf7d 100644 --- a/src/net/java/sip/communicator/impl/gui/events/ContainerPluginListener.java +++ b/src/net/java/sip/communicator/impl/gui/events/ContainerPluginListener.java @@ -18,14 +18,14 @@ public interface ContainerPluginListener /** * Indicates that a plugin component has been successfully added * to the container. - * @param evt the PluginComponentEvent containing the corresponding plugin component + * @param event the PluginComponentEvent containing the corresponding plugin component */ public void pluginComponentAdded(PluginComponentEvent event); /** * Indicates that a plugin component has been successfully removed * from the container. - * @param evt the PluginComponentEvent containing the corresponding plugin component + * @param event the PluginComponentEvent containing the corresponding plugin component */ public void pluginComponentRemoved(PluginComponentEvent event); } diff --git a/src/net/java/sip/communicator/impl/gui/main/message/ChatWindow.java b/src/net/java/sip/communicator/impl/gui/main/message/ChatWindow.java index b0e0862da..a8bddc306 100755 --- a/src/net/java/sip/communicator/impl/gui/main/message/ChatWindow.java +++ b/src/net/java/sip/communicator/impl/gui/main/message/ChatWindow.java @@ -58,7 +58,7 @@ public class ChatWindow extends JFrame{ /** * Creates a chat window. * - * @param parentWindow + * @param mainFrame */ public ChatWindow (MainFrame mainFrame){ @@ -84,7 +84,7 @@ public void init (){ } /** - * Returns the parent window. + * Returns the main frame. * * @return The parent window. */ @@ -93,9 +93,9 @@ public MainFrame getMainFrame() { } /** - * Sets the parent window. + * Sets the main frame. * - * @param parentWindow The parent window for this chat window. + * @param mainFrame The parent window for this chat window. */ public void setMainFrame(MainFrame mainFrame) { this.mainFrame = mainFrame; diff --git a/src/net/java/sip/communicator/service/gui/UIService.java b/src/net/java/sip/communicator/service/gui/UIService.java index 61493d546..972fe6a0f 100644 --- a/src/net/java/sip/communicator/service/gui/UIService.java +++ b/src/net/java/sip/communicator/service/gui/UIService.java @@ -144,7 +144,7 @@ public void addComponent(ContainerID containerID, String constraint, Object comp * Meant to be called in the process of initialization of the container, defined by the * given constraint in order to obtain all external components that should be added in it. * - * @param constraint One of the constraints supported by the current UI implementation. + * @param containerID One of the containerID-s supported by the current UI implementation. * @return An Iterator to a set containing all components added to a given constraint. */ public Iterator getComponentsForContainer(ContainerID containerID) diff --git a/src/net/java/sip/communicator/service/gui/event/ContainerListener.java b/src/net/java/sip/communicator/service/gui/event/ContainerListener.java index 522949835..bb47f1728 100644 --- a/src/net/java/sip/communicator/service/gui/event/ContainerListener.java +++ b/src/net/java/sip/communicator/service/gui/event/ContainerListener.java @@ -18,13 +18,13 @@ public interface ContainerListener /** * Indicates that a container was added to the list of supported containers. - * @param evt the ContainerEvent containing the corresponding container. + * @param event the ContainerEvent containing the corresponding container. */ public void containerAdded(ContainerEvent event); /** * Indicates that a container was removed from the list of supported containers. - * @param evt the ContainerEvent containing the corresponding container. + * @param event the ContainerEvent containing the corresponding container. */ public void containerRemoved(ContainerEvent event); }