Skip to content

Commit

Permalink
DOC: models: fix javadoc formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoTorres committed Sep 12, 2018
1 parent f09c681 commit 1b23f84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/github/in_toto/models/Link.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class Link extends Metablock<LinkSignable>
* @param byproducts A HashMap containing the byproduct triplet
* stdin/stdout/retval.
*
* @see io.in_toto.models.Artifact
* @see io.github.in_toto.models.Artifact
*/
public Link(HashMap<String, ArtifactHash> materials,
HashMap<String, ArtifactHash> products, String name,
Expand All @@ -55,7 +55,7 @@ public void dump() {
/**
* get full link name, including keyid bytes in the form of
*
* <stepname>.<keyid_bytes>.link
* {@literal <stepname>.<keyid_bytes>.link }
*
* This method will always use the keyid of the first signature in the
* metadata.
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/io/github/in_toto/models/Metablock.java
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public void dump(String filename) {
* Serialize the current metadata into a writer
*
* @param writer the target writer
*
* @throws java.io.IOException if unable to write to the passed writer.
*/
public void dump(Writer writer)
throws IOException {
Expand Down

0 comments on commit 1b23f84

Please sign in to comment.