From 11ac35e7a3b9290f356746ce4a1b0ace3bdedb40 Mon Sep 17 00:00:00 2001 From: Emil Ivov Date: Fri, 24 Mar 2006 09:16:07 +0000 Subject: [PATCH] Fixed broken javadoc comments --- lib/oscar.unit.test.properties | 3 ++- lib/testing.properties | 10 ++++++++- .../MetaContactListServiceImpl.java | 21 +++++++++++++------ .../event/MetaContactMovedEvent.java | 4 ++-- .../event/TypingNotificationEvent.java | 3 ++- 5 files changed, 30 insertions(+), 11 deletions(-) diff --git a/lib/oscar.unit.test.properties b/lib/oscar.unit.test.properties index 8b430fb2f..747a29ce6 100644 --- a/lib/oscar.unit.test.properties +++ b/lib/oscar.unit.test.properties @@ -61,9 +61,10 @@ oscar.auto.start.5= \ file:sc-bundles/netaddr-slick.jar \ file:sc-bundles/fileaccess-slick.jar \ file:sc-bundles/history-slick.jar \ - file:sc-bundles/protocol-icq-slick.jar \ file:sc-bundles/meta-cl-slick.jar +# file:sc-bundles/protocol-icq-slick.jar \ + oscar.auto.start.100= \ file:sc-bundles/slick-runner.jar diff --git a/lib/testing.properties b/lib/testing.properties index abfc8be8e..91a439951 100644 --- a/lib/testing.properties +++ b/lib/testing.properties @@ -3,11 +3,19 @@ # A list of all tests that should be run by the test target of the project. +#test.list=ConfigurationServiceLick \ +# MediaServiceLick \ +# NetworkAddressManagerServiceLick \ +# FileAccessServiceLick \ +# HistoryServiceLick \ +# SlicklessTests \ +# IcqProtocolProviderSlick \ +# MetaContactListServiceLick + test.list=ConfigurationServiceLick \ MediaServiceLick \ NetworkAddressManagerServiceLick \ FileAccessServiceLick \ HistoryServiceLick \ SlicklessTests \ - IcqProtocolProviderSlick \ MetaContactListServiceLick diff --git a/src/net/java/sip/communicator/impl/contactlist/MetaContactListServiceImpl.java b/src/net/java/sip/communicator/impl/contactlist/MetaContactListServiceImpl.java index 0f49fb62a..050a66209 100644 --- a/src/net/java/sip/communicator/impl/contactlist/MetaContactListServiceImpl.java +++ b/src/net/java/sip/communicator/impl/contactlist/MetaContactListServiceImpl.java @@ -210,9 +210,10 @@ public void addNewContactToMetaContact( * be associated to. * @param contactID * the identifier of the contact that the specified provider - * @param eventID - * the event type that should be generated. Used when this method - * is called upon creation of a new meta contact and not only a new contact. + * @param fireEvent + * specifies whether or not an even is to be faire at + * the end of the method.Used when this method is called upon creation of a + * new meta contact and not only a new contact. * @throws MetaContactListException * with an appropriate code if the operation fails for some * reason. @@ -647,8 +648,8 @@ public MetaContactGroup getRoot() * Sets the display name for metaContact to be newName. *

* @param metaContact the MetaContact that we are renaming - * @param newName a String containing the new display name for - * metaContact. + * @param newDisplayName a String containing the new display name + * for metaContact. * @throws IllegalArgumentException if metaContact is not an * instance that belongs to the underlying implementation. */ @@ -1814,7 +1815,15 @@ else if (event instanceof MetaContactRenamedEvent) * notifies all MetaContactListListeners that a protocol specific * Contact has been added moved or removed. * - * @param source the event to dispatch. + * @param source the contact that has caused the event. + * @param eventName One of the ProtoContactEvent.PROTO_CONTACT_XXX fields + * indicating the exact type of the event. + * @param oldParent the MetaContact that was wrapping the source + * Contact before the event occurred or null if the event + * is caused by adding a new Contact + * @param newParent the MetaContact that is wrapping the source + * Contact after the event occurred or null if the event + * is caused by removing a Contact */ private void fireProtoContactEvent(Contact source, String eventName, diff --git a/src/net/java/sip/communicator/service/contactlist/event/MetaContactMovedEvent.java b/src/net/java/sip/communicator/service/contactlist/event/MetaContactMovedEvent.java index 7a528309c..8785775cf 100644 --- a/src/net/java/sip/communicator/service/contactlist/event/MetaContactMovedEvent.java +++ b/src/net/java/sip/communicator/service/contactlist/event/MetaContactMovedEvent.java @@ -22,8 +22,8 @@ public class MetaContactMovedEvent /** * Createas an instance of this MetaContactMovedEvent using the * specified arguments. - * @param source a reference to the MetaContact that this event - * is about. + * @param sourceContact a reference to the MetaContact that this + * event is about. * @param oldParent a reference to the MetaContactGroup that * contained sourceContact before it was moved. * @param newParent a refenrece to the MetaContactGroup that diff --git a/src/net/java/sip/communicator/service/protocol/event/TypingNotificationEvent.java b/src/net/java/sip/communicator/service/protocol/event/TypingNotificationEvent.java index 331a5d0ed..5c6a8dc42 100644 --- a/src/net/java/sip/communicator/service/protocol/event/TypingNotificationEvent.java +++ b/src/net/java/sip/communicator/service/protocol/event/TypingNotificationEvent.java @@ -25,7 +25,8 @@ public class TypingNotificationEvent /** * Creats a TypingNotificationEvent with the specified parameters. *

- * @param source Object + * @param sourceContact the Contact that has sen the notification. + * @param state */ public TypingNotificationEvent(Contact sourceContact, int state) {