Skip to content

Commit e5c730d

Browse files
committed
Making recent MmtfActions.writeToOutputStream static
1 parent 09ed1bf commit e5c730d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmtf

biojava-structure/src/main/java/org/biojava/nbio/structure/io/mmtf/MmtfActions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public static void writeToFile(Structure structure, Path path) throws IOExceptio
5555
* @param outputStream the {@link OutputStream} to write to
5656
* @throws IOException an error transferring the byte[]
5757
*/
58-
public void writeToOutputStream(Structure structure, OutputStream outputStream) throws IOException{
58+
public static void writeToOutputStream(Structure structure, OutputStream outputStream) throws IOException{
5959
// Set up this writer
6060
AdapterToStructureData writerToEncoder = new AdapterToStructureData();
6161
// Get the writer - this is what people implement

0 commit comments

Comments
 (0)