From b1684623c20be7eadaa9476478a70d7c62e70e69 Mon Sep 17 00:00:00 2001
From: tcarver <tjc>
Date: Tue, 24 Jan 2012 16:17:46 +0000
Subject: [PATCH] change visibility of searchFor()

---
 uk/ac/sanger/artemis/sequence/BasePattern.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/uk/ac/sanger/artemis/sequence/BasePattern.java b/uk/ac/sanger/artemis/sequence/BasePattern.java
index 1b31a924a..fe44fc669 100644
--- a/uk/ac/sanger/artemis/sequence/BasePattern.java
+++ b/uk/ac/sanger/artemis/sequence/BasePattern.java
@@ -271,7 +271,7 @@ public class BasePattern {
    *    should start.
    *  @return The index of the match or -1 if there is no match.
    **/
-  public int searchFor (final String bases_string,
+  private int searchFor (final String bases_string,
                         final int start_index) {
     return searchFor (bases_string, pattern_string, start_index, false);
   }
@@ -336,6 +336,7 @@ public class BasePattern {
         for (int pattern_index = 0 ;
              pattern_index < pattern_string.length () ;
              ++pattern_index) {
+          
           if (charMatch (bases_string.charAt (i + pattern_index),
                          pattern_string.charAt (pattern_index))) {
             // OK, so continue with the inner loop
-- 
GitLab