From 50d92b721e43b1c0fb217a5ff3a38a32d217a90e Mon Sep 17 00:00:00 2001 From: tjc <tjc@ee4ac58c-ac51-4696-9907-e4b3aa274f04> Date: Fri, 30 Mar 2007 14:41:15 +0000 Subject: [PATCH] tidy git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@5843 ee4ac58c-ac51-4696-9907-e4b3aa274f04 --- .../sanger/artemis/editor/DataCollectionPane.java | 2 +- uk/ac/sanger/artemis/editor/FastaTextPane.java | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/uk/ac/sanger/artemis/editor/DataCollectionPane.java b/uk/ac/sanger/artemis/editor/DataCollectionPane.java index 727999ab6..fcfbf6318 100644 --- a/uk/ac/sanger/artemis/editor/DataCollectionPane.java +++ b/uk/ac/sanger/artemis/editor/DataCollectionPane.java @@ -931,7 +931,7 @@ public class DataCollectionPane extends JScrollPane * @param goHash Hashtable of GO id's and description. * */ - public void getGoHash(String filename, Hashtable goHash) + protected void getGoHash(String filename, Hashtable goHash) { try { diff --git a/uk/ac/sanger/artemis/editor/FastaTextPane.java b/uk/ac/sanger/artemis/editor/FastaTextPane.java index b4db2cbab..cf4ab20f6 100644 --- a/uk/ac/sanger/artemis/editor/FastaTextPane.java +++ b/uk/ac/sanger/artemis/editor/FastaTextPane.java @@ -123,12 +123,12 @@ public class FastaTextPane extends JScrollPane return format; } - protected void setTextAreaFont(Font f) + private void setTextAreaFont(Font f) { textArea.setFont(f); } - protected InputStream getInputStream() + private InputStream getInputStream() throws IOException { FileInputStream inStream = new FileInputStream(dataFile); @@ -144,7 +144,7 @@ public class FastaTextPane extends JScrollPane * BLASTP are supported. * */ - protected String getResultsFormat() + private String getResultsFormat() { File fn = dataFile; @@ -188,7 +188,7 @@ public class FastaTextPane extends JScrollPane } - protected StringBuffer readBLASTPFile(String format) + private StringBuffer readBLASTPFile(final String format) { //File fn = dataFile; StringBuffer sbuff = new StringBuffer(); @@ -387,7 +387,7 @@ public class FastaTextPane extends JScrollPane } - protected StringBuffer readFASTAFile(String format) + private StringBuffer readFASTAFile(final String format) { //File fn = dataFile; StringBuffer sbuff = new StringBuffer(); @@ -931,7 +931,7 @@ public class FastaTextPane extends JScrollPane return null; } - protected static String insertNewline(String s1, String s2) + protected static String insertNewline(String s1, final String s2) { int index = 0; while((index = s1.indexOf(s2, index)) > -1) @@ -1016,7 +1016,7 @@ public class FastaTextPane extends JScrollPane return res; } - public void show(Object obj) + protected void show(Object obj) { if(obj instanceof HitInfo) { -- GitLab