Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 2444166

Browse files
committed
Added @depricated code tag as well as @deprecated JavaDoc
Small typographical error correction as well.
1 parent 0913958 commit 2444166

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

biojava-structure/src/main/java/org/biojava/nbio/structure/PDBHeader.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,15 +600,19 @@ public void setTitle(String title) {
600600
this.title = title;
601601
}
602602

603-
/**@deprecated will be removed later. Use {@link #getKeywords()}
603+
/**@deprecated will be removed later. Use {@link #getKeywords()} if you use
604+
* <code>description</code> to keep the keywords.
604605
* @return
605606
*/
607+
@Deprecated
606608
public String getDescription() {
607609
return description;
608610
}
609-
/**@deprecated will be removed later. Use {@link #setKeywords(List)}
611+
/**@deprecated will be removed later. Use {@link #getKeywords()} if you use
612+
* <code>description</code> to keep the keywords.
610613
* @param description
611614
*/
615+
@Deprecated
612616
public void setDescription(String description) {
613617
this.description = description;
614618
}

biojava-structure/src/main/java/org/biojava/nbio/structure/io/PDBFileParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2765,7 +2765,7 @@ private void makeCompounds(List<String> compoundList,
27652765

27662766
}
27672767

2768-
/**Parse KEYWODS record of the PDF file.<br>
2768+
/**Parse KEYWODS record of the PDB file.<br>
27692769
* A keyword may be split over two lines. whether a keyword ends by the end
27702770
* of a line or it is aplit over two lines, a <code>space</code> is added
27712771
* between the 2 lines's contents, unless the first line ends in

0 commit comments

Comments
 (0)