Skip to content

Commit bb07329

Browse files
committed
Javadoc fix: errors in modfinder module
1 parent 3580f7b commit bb07329

5 files changed

Lines changed: 11 additions & 13 deletions

File tree

biojava-modfinder/src/main/java/org/biojava/nbio/protmod/Component.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* contains information about a certain Component.
3131
* The Component class uses the extensible enum pattern.
3232
* You can't instantiate Component directly, instead
33-
* you have to use one of the {@link register} and {@link of} methods.
33+
* you have to use one of the register and {@link #of} methods.
3434
*
3535
* @author Jianjiong Gao
3636
* @since 3.0
@@ -109,7 +109,7 @@ public boolean isCTerminal() {
109109
/**
110110
* Get a Component that does not have to occur at terminals. If the
111111
* corresponding component has already been registered, return that one.
112-
* @param pdbccIds possible Protein Data Bank ID.
112+
* @param pdbccId possible Protein Data Bank ID.
113113
* @return a component.
114114
* @throws IllegalArgumentException if pdbccId or type is null,
115115
* or the pdbccId has been registered as a different type.

biojava-modfinder/src/main/java/org/biojava/nbio/protmod/ModificationLinkage.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public ModificationLinkage(
5454
*
5555
* @param components {@link Component}s involved in a modification.
5656
* @param indexOfComponent1 index of the first component.
57-
* @param labelOfAtomOnComponent1 label of the atom on the first
57+
* @param pdbNameOfAtomsOnComponent1 label of the atom on the first
5858
* component.
5959
* @param indexOfComponent2 index of the second component.
60-
* @param labelOfAtomOnComponent2 label of the atom on the second
60+
* @param pdbNameOfAtomsOnComponent2 label of the atom on the second
6161
* component.
6262
*/
6363
public ModificationLinkage(
@@ -77,10 +77,10 @@ public ModificationLinkage(
7777
*
7878
* @param components {@link Component}s involved in a modification.
7979
* @param indexOfComponent1 index of the first component.
80-
* @param labelOfAtomOnComponent1 label of the atom on the first
80+
* @param pdbNameOfPotentialAtomsOnComponent1 label of the atom on the first
8181
* component.
8282
* @param indexOfComponent2 index of the second component.
83-
* @param labelOfAtomOnComponent2 label of the atom on the second
83+
* @param pdbNameOfPotentialAtomsOnComponent2 label of the atom on the second
8484
* component.
8585
*/
8686
public ModificationLinkage(

biojava-modfinder/src/main/java/org/biojava/nbio/protmod/ProteinModificationRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public static void register(final ProteinModification modification) {
206206

207207
/**
208208
* Remove a modification from registry.
209-
* @param mod
209+
* @param modification
210210
*/
211211
public static void unregister(ProteinModification modification) {
212212
if (modification==null) throw new IllegalArgumentException("modification == null!");

biojava-modfinder/src/main/java/org/biojava/nbio/protmod/structure/ModifiedCompound.java

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public interface ModifiedCompound {
4747

4848
/**
4949
*
50-
* @return {@link ProteinModificationBean} occurred on the residue.
50+
* @return {@link ProteinModification} occurred on the residue.
5151
*/
5252
public ProteinModification getModification();
5353

@@ -73,19 +73,18 @@ public interface ModifiedCompound {
7373
/**
7474
*
7575
* @return a set of atom linkages.
76-
* @see #getLinkedGroupPairs
7776
* @see StructureAtomLinkage
7877
*/
7978
public Set<StructureAtomLinkage> getAtomLinkages();
8079

81-
/** Set atom linkages
80+
/**
81+
* Set atom linkages
8282
*
83-
* @return
8483
*/
8584
public void setAtomLinkages(Set<StructureAtomLinkage> linkages);
8685

8786
/**
88-
* Add a linkage. Add new the involved groups first using {@link addGroup}.
87+
* Add a linkage. Add new the involved groups first using addGroup.
8988
* @param linkage an atom linkage.
9089
* @return true if this linkage was not already contained.
9190
* @see StructureAtomLinkage

biojava-modfinder/src/main/java/org/biojava/nbio/protmod/structure/ModifiedCompoundImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public ModifiedCompoundImpl(){
6565
* Use this constructor for a modified residue.
6666
* @param modification {@link ProteinModification}.
6767
* @param modifiedResidue modified group.
68-
* @return a {@link ModifiedCompound}.
6968
* @throws IllegalArgumentException if either argument is null.
7069
*/
7170
public ModifiedCompoundImpl (

0 commit comments

Comments
 (0)