Skip to content

Commit bdd61e8

Browse files
Prepare for 321 release: javadoc fixes
1 parent 71f09ad commit bdd61e8

File tree

8 files changed

+27
-21
lines changed

8 files changed

+27
-21
lines changed

cluster/cluster-core/src/main/java/org/marketcetera/cluster/service/AbstractClusterService.java

+11-8
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,10 @@ protected ClusterWorkUnitDescriptor generateWorkUnitDescriptor(ClusterWorkUnitSp
547547
* Returns a candidate that suits the given work unit spec if one exists.
548548
*
549549
* @param inWorkUnitSpec a <code>ClusterWorkUnitSpec</code> value
550-
* @return an <code>Object</code> value
551-
* @throws InvocationTargetException
552-
* @throws IllegalArgumentException
553-
* @throws IllegalAccessException
550+
* @return an <code>Object</code> value or <code>null</code>
551+
* @throws InvocationTargetException if the candidate cannot be instantiated
552+
* @throws IllegalArgumentException if an error occurs finding the candidate
553+
* @throws IllegalAccessException if the candidate cannot be instatiated
554554
*/
555555
protected Object findCandidateFor(ClusterWorkUnitSpec inWorkUnitSpec)
556556
throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@@ -590,10 +590,10 @@ protected void activateWorkUnit(Object inCandidate)
590590
* Finds a candidate bean for the given work unit spec and activates it.
591591
*
592592
* @param inWorkUnitSpec a <code>ClusterWorkUnitSpec</code> value
593-
* @return an <code>Object</code>value
594-
* @throws InvocationTargetException
595-
* @throws IllegalArgumentException
596-
* @throws IllegalAccessException
593+
* @return an <code>Object</code>value or <code>null</code>
594+
* @throws InvocationTargetException if the work unit cannot be activated
595+
* @throws IllegalArgumentException if an error occurs finding the work unit
596+
* @throws IllegalAccessException if the work unit cannot be activated
597597
*/
598598
protected Object findAndActivateWorkUnit(ClusterWorkUnitSpec inWorkUnitSpec)
599599
throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
@@ -723,6 +723,8 @@ protected Map<String,Object> findAllBeansWith(Class<? extends Annotation> inAnno
723723
/**
724724
* Gets the annotation of the given type from the given argument.
725725
*
726+
* @param <Clazz> the class of the given object
727+
* @param <AnnotationClazz> the type of the given annotation
726728
* @param inInstance an <code>Object</code> value
727729
* @param inAnnotation a <code>Class&lt;AnnotationClazz&gt;</code> value
728730
* @return an <code>AnnotationClazz</code> value
@@ -859,6 +861,7 @@ protected void logClusterMetaData()
859861
/**
860862
* Marshals the given value as XML.
861863
*
864+
* @param <Clazz> the type of the provided data
862865
* @param inData a <code>Clazz</code> value
863866
* @return a <code>String</code> value
864867
* @throws JAXBException if the given object cannot be marshaled

fix/fix-acceptor/src/main/java/org/marketcetera/fix/acceptor/DynamicAcceptorSessionProvider.java

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class DynamicAcceptorSessionProvider
3838
* @param inApplication an <code>Application</code> value
3939
* @param inSessionService a <code>SessionService</code> value
4040
* @param inFixSettingsProviderFactory a <code>FixSettingsProviderFactory</code> value
41+
* @param inClusterData a <code>ClusterData</code> value
4142
*/
4243
public DynamicAcceptorSessionProvider(Application inApplication,
4344
SessionService inSessionService,

fork/commons-csv/src/java/org/apache/commons/csv/CSVStrategy.java

+2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,10 @@ public CSVStrategy(char delimiter, char encapsulator, char commentStart) {
5959
* @param delimiter a Char used for value separation
6060
* @param encapsulator a Char used as value encapsulation marker
6161
* @param commentStart a Char used for comment identification
62+
* @param escape a Char used to escape other chars
6263
* @param ignoreLeadingWhitespace TRUE when leading whitespaces should be
6364
* ignored
65+
* @param ignoreTrailingWhitespace TRUE when trailing whitespaces should be ignored
6466
* @param interpretUnicodeEscapes TRUE when unicode escapes should be
6567
* interpreted
6668
* @param ignoreEmptyLines TRUE when the parser should skip emtpy lines

modules/marketdata/csv/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@
7373
<version>3.2.0</version>
7474
<configuration>
7575
<links>
76-
<link>http://commons.apache.org/sandbox/csv/apidocs/</link>
77-
<link>http://repo.marketcetera.org/javadoc/1.5.0/platform/</link>
76+
<link>https://javadoc.io/doc/org.apache.commons/commons-csv/latest/index.html</link>
77+
<link>https://repo.marketcetera.org/javadoc/3.2.1/platform</link>
7878
</links>
7979
</configuration>
8080
</plugin>

modules/marketdata/marketcetera/src/main/java/org/marketcetera/marketdata/marketcetera/MarketceteraFeed.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,8 @@ private MarketceteraFeed(String inProviderName)
432432
*
433433
* @param inProviderName a <code>String</code> value
434434
* @return a <code>MarketceteraFeed</code> value
435-
* @throws CoreException
436-
* @throws URISyntaxException
435+
* @throws CoreException if the instance cannot be retrieved
436+
* @throws URISyntaxException if the provider name cannot be parsed
437437
*/
438438
public static MarketceteraFeed getInstance(String inProviderName)
439439
throws URISyntaxException, CoreException

modules/marketdata/marketdata-core/src/main/java/org/marketcetera/marketdata/core/webservice/ConnectionException.java

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
/* $License$ */
77

88
/**
9-
*
9+
* Indicates an error occurred trying to connect to a remote source.
1010
*
1111
* @author <a href="mailto:[email protected]">Colin DuPlantis</a>
1212
* @version $Id$
@@ -24,8 +24,8 @@ public ConnectionException()
2424
/**
2525
* Create a new ConnectionException instance.
2626
*
27-
* @param inHostname
28-
* @param inPort
27+
* @param inHostname a <code>String</code> value
28+
* @param inPort an <code>int</code> value
2929
*/
3030
public ConnectionException(String inHostname,
3131
int inPort)
@@ -84,7 +84,7 @@ public void setHostname(String inHostname)
8484
/**
8585
* Get the port value.
8686
*
87-
* @return a <code>int</code> value
87+
* @return an <code>int</code> value
8888
*/
8989
public int getPort()
9090
{
@@ -93,18 +93,18 @@ public int getPort()
9393
/**
9494
* Sets the port value.
9595
*
96-
* @param inPort a <code>int</code> value
96+
* @param inPort an <code>int</code> value
9797
*/
9898
public void setPort(int inPort)
9999
{
100100
port = inPort;
101101
}
102102
/**
103-
*
103+
* hostname value
104104
*/
105105
private String hostname;
106106
/**
107-
*
107+
* port value
108108
*/
109109
private int port;
110110
private static final long serialVersionUID = 8121822556635716771L;

modules/marketdata/marketdata-core/src/main/java/org/marketcetera/marketdata/core/webservice/MarketDataService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ long getLastUpdate(@WebParam(name="context")ClientContext inContext,
9090
* @param inContext a <code>ClientContext</code> value
9191
* @param inRequestIds a <code>List&lt;Long&gt;</code> value
9292
* @return a <code>Map&lt;Long,LinkedList&lt;Event&gt;&gt;</code> value
93-
* @throws RemoteException
93+
* @throws RemoteException if an error occurs getting the events
9494
*/
9595
Map<Long,LinkedList<Event>> getAllEvents(@WebParam(name="context")ClientContext inContext,
9696
@WebParam(name="id")List<Long> inRequestIds)

saclient/src/main/java/org/marketcetera/saclient/rpc/XmlValue.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class XmlValue
2424
/**
2525
* Create a new XmlValue instance.
2626
*
27-
* @param inValue
27+
* @param inValue an <code>Object</code> value
2828
*/
2929
public XmlValue(Object inValue)
3030
{

0 commit comments

Comments
 (0)