Commit 682c249d authored by Piotr Gawron's avatar Piotr Gawron
Browse files

order of javadoc tags should be correct

parent 0cc66184
......@@ -85,9 +85,9 @@ public class ChEMBLParser extends DrugAnnotation implements IExternalService {
*/
private static final String PARENT_CHILD_API_URL_SUFFIX = ".xml";
/**
* Url used for finding targets containing uniprot identifiers. Important - for
* now the limit of targets is 1000 so if more targets will be found this link
* will not provide them.
* Url used for finding targets containing uniprot identifiers. Important -
* for now the limit of targets is 1000 so if more targets will be found this
* link will not provide them.
*/
private static final String URL_TARGET_FROM_UNIPROT = "https://www.ebi.ac.uk/chembl/api/data/target?limit=1000&target_components__accession=";
/**
......@@ -107,7 +107,8 @@ public class ChEMBLParser extends DrugAnnotation implements IExternalService {
private UniprotAnnotator uniprotAnnotator;
/**
* Service used for annotation of proteins (and finding annotation of proteins).
* Service used for annotation of proteins (and finding annotation of
* proteins).
*/
private HgncAnnotator hgncAnnotator;
......@@ -255,9 +256,9 @@ public class ChEMBLParser extends DrugAnnotation implements IExternalService {
*
* @param drugId
* identifier of a drug for which targets are looked
* @return list of targets for given drug
* @throws DrugSearchException
* thrown when there are problems with connection to ChEMBL database
* @return list of targets for given drug
*/
List<Target> getTargetsByDrugId(final MiriamData drugId) throws DrugSearchException {
if (!MiriamType.CHEMBL_COMPOUND.equals(drugId.getDataType())) {
......
......@@ -261,12 +261,12 @@
<module name="InvalidJavadocPosition"/>
<module name="JavadocTagContinuationIndentation"/>
<module name="JavadocParagraph"/>
<!-- <module name="AtclauseOrder">
<module name="AtclauseOrder">
<property name="tagOrder" value="@param, @return, @throws, @deprecated"/>
<property name="target"
value="CLASS_DEF, INTERFACE_DEF, ENUM_DEF, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/>
</module>
<module name="JavadocMethod">
<!-- <module name="JavadocMethod">
<property name="scope" value="public"/>
<property name="allowMissingParamTags" value="true"/>
<property name="allowMissingReturnTag" value="true"/>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment