From 659ff43e50f1bf2af3952c678e46d56849063dc0 Mon Sep 17 00:00:00 2001 From: tcarver <tjc> Date: Mon, 23 Jan 2012 14:57:57 +0000 Subject: [PATCH] restrict method visibility --- uk/ac/sanger/artemis/components/Navigator.java | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/uk/ac/sanger/artemis/components/Navigator.java b/uk/ac/sanger/artemis/components/Navigator.java index 63ca89878..98136496f 100644 --- a/uk/ac/sanger/artemis/components/Navigator.java +++ b/uk/ac/sanger/artemis/components/Navigator.java @@ -476,7 +476,7 @@ public class Navigator extends JFrame * first base, otherwise first to last. * @return The range that matches the pattern or null if there is no match. **/ - public static MarkerRange findBasePattern (final BasePattern pattern, + private static MarkerRange findBasePattern (final BasePattern pattern, final EntryGroup entry_group, final Selection selection, final boolean start_at_end, @@ -520,14 +520,11 @@ public class Navigator extends JFrame * first base, otherwise first to last. * @return The range that matches the pattern or null if there is no match. **/ - public static MarkerRange findAminoAcidSequence (final AminoAcidSequence - sequence, - final EntryGroup - entry_group, + private static MarkerRange findAminoAcidSequence (final AminoAcidSequence sequence, + final EntryGroup entry_group, final Selection selection, final boolean start_at_end, - final boolean - search_backwards) { + final boolean search_backwards) { // if start_at_end is false we want to start the search at the selection final Marker selection_base = selection.getLowestBaseOfSelection (); -- GitLab