Permalink
Browse files

Rename BugLinkAnnotator -> BugNumberLinker

This is a more specific and correct name.
  • Loading branch information...
1 parent 04213b1 commit 53af1944c54b33a9e71e704149c9c00ce8c91c02 @emk committed Aug 30, 2009
@@ -73,7 +73,7 @@ private void dispatchEvents(RobotMessageBundle bundle) {
// text in the second pass.
ArrayList<BlipProcessor> processors = new ArrayList<BlipProcessor>();
processors.add(new BugUrlReplacer(BUG_URL));
- processors.add(new BugLinkAnnotator(BUG_URL));
+ processors.add(new BugNumberLinker(BUG_URL));
// Process each event.
for (Event e : bundle.getEvents()) {
@@ -21,12 +21,12 @@
import com.google.wave.api.TextView;
/** Add bug links to a blip. */
-class BugLinkAnnotator extends BlipProcessor {
+class BugNumberLinker extends BlipProcessor {
/** The URL to a bug, minus the actual bug number. */
private String bugUrl;
- /** Create a BugLinkAnnotator for the specified URL. */
- public BugLinkAnnotator(String bugUrl) {
+ /** Create a BugNumberLinker for the specified URL. */
+ public BugNumberLinker(String bugUrl) {
super();
this.bugUrl = bugUrl;
}

0 comments on commit 53af194

Please sign in to comment.