@Test public void testNavigate_negative() { Assert.assertFalse(recognizer.navigate(getProject(), "ftp: }
@Override public boolean navigate(Project project, String hyperlink) { if(hyperlink.matches("https?: project.getComponent(BrowserUtil.class).launchBrowser(hyperlink); return true; } else { return false; } }
HREFLinkRecognizer implements Recognizer { @Override public boolean navigate(Project project, String hyperlink) { if(hyperlink.matches("https?: project.getComponent(BrowserUtil.class).launchBrowser(hyperlink); return true; } else { return false; } } }
HREFLinkRecognizer implements Recognizer { @Override public boolean navigate(Project project, String hyperlink) { if(hyperlink.matches("https?: project.getComponent(BrowserUtil.class).launchBrowser(hyperlink); return true; } else { return false; } }  }
HREFLinkRecognizer implements Recognizer { @Override public boolean navigate(Project project, String hyperlink) { if(hyperlink.matches("https?: project.getComponent(BrowserUtil.class).launchBrowser(hyperlink); return true; } else { return false; } }  @Override void recognize(String content, final List<Candidate> candidates); @Override boolean navigate(Project project, String hyperlink); }
HREFLinkRecognizer implements Recognizer { @Override public boolean navigate(Project project, String hyperlink) { if(hyperlink.matches("https?: project.getComponent(BrowserUtil.class).launchBrowser(hyperlink); return true; } else { return false; } }  @Override void recognize(String content, final List<Candidate> candidates); @Override boolean navigate(Project project, String hyperlink);  }