Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public final class ORonn implements Callable<ORonn> {


ORonn(final FastaSequence sequence, final ModelLoader mloader,
final InputParameters params) throws NumberFormatException,
IOException {
final InputParameters params) throws
IOException {
this.sequence = sequence;
this.mloader = mloader;
out = params.getOutputWriter();
Expand All @@ -93,8 +93,8 @@ public final class ORonn implements Callable<ORonn> {
timer = new Timer(TimeUnit.MILLISECONDS);
}
//This constructor is for API calls where the caller collects the results directly
ORonn(final FastaSequence sequence, final ModelLoader mloader) throws NumberFormatException,
IOException {
ORonn(final FastaSequence sequence, final ModelLoader mloader) throws
IOException {
this.sequence = sequence;
this.mloader = mloader;
out = new PrintWriter(new NullOutputStream());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ private final float[] align(final int sResidue, final int dIndex) {
}

public ORonnModel(final String sequence, final Model model,
final float disorder) throws NumberFormatException {
final float disorder) {
this.disorder_weight = disorder;
this.model = model;
query = sequence.toCharArray();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class SynchronizedOutFile {
* @throws FileNotFoundException
* @throws IOException
*/
public SynchronizedOutFile(File f, boolean gzipCompress) throws FileNotFoundException, IOException{
public SynchronizedOutFile(File f, boolean gzipCompress) throws IOException{
if ( f.isDirectory())
throw new FileNotFoundException("please provide a file and not a directory");

Expand All @@ -62,7 +62,7 @@ public SynchronizedOutFile(File f, boolean gzipCompress) throws FileNotFoundExce
*
* @param f
*/
public SynchronizedOutFile(File f) throws FileNotFoundException, IOException{
public SynchronizedOutFile(File f) throws IOException{

this(f,false);

Expand Down