Permalink
Browse files

Rename maybeAnnotate -> annotate

Whether or not we actually generate an annotation is an implementation
detail.
  • Loading branch information...
1 parent dc143a3 commit 7b36986122a4a650fe33018790e363dcfcf01308 @emk committed Aug 30, 2009
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/buglinky/Annotator.java
  2. +1 −1 src/buglinky/BugLinkAnnotator.java
@@ -97,7 +97,7 @@ protected abstract void processMatch(TextView doc, Range range,
* requests, which causes extra network traffic and more possibilities for
* nasty bot loops. So we do this screening on our end.
*/
- protected void maybeAnnotate(TextView doc, Range range, String name,
+ protected void annotate(TextView doc, Range range, String name,
String value) {
// If this annotation is already present, give up now. Note that
// we allow the existing annotation to be bigger than the one we're
@@ -37,6 +37,6 @@ protected String getPattern() {
/** Process a regular expression match. */
protected void processMatch(TextView doc, Range range, Matcher match) {
- maybeAnnotate(doc, range, "link/manual", bugUrl.concat(match.group(1)));
+ annotate(doc, range, "link/manual", bugUrl.concat(match.group(1)));
}
}

0 comments on commit 7b36986

Please sign in to comment.