System.err.println("Adding entry for " + wfname + " " + description);
if (wfname.toLowerCase().indexOf("funcnet") == -1)
{
- description = Pattern.compile("\\s+",Pattern.MULTILINE).matcher(description).replaceAll(" ");
+ description = Pattern.compile("\\s+", Pattern.MULTILINE)
+ .matcher(description).replaceAll(" ");
groupURLdescr.addElement(description);
groupURLdescr.addElement(description);
- String urlstub=wfname;
- if (wfname.indexOf(" ")>-1)
+ String urlstub = wfname;
+ if (wfname.indexOf(" ") > -1)
{
- // make the name safe!
- try {
- urlstub = URLEncoder.encode(wfname,"utf-8");
- } catch (UnsupportedEncodingException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
+ // make the name safe!
+ try
+ {
+ urlstub = URLEncoder.encode(wfname, "utf-8");
+ } catch (UnsupportedEncodingException e)
+ {
+ // TODO Auto-generated catch block
+ e.printStackTrace();
+ }
}
groupURLLinks
.addElement(wfname
return;
}
}
- try {
+ try
+ {
descr = HtmlEncoder.encode(descr);
- } catch (Exception e){};
-
+ } catch (Exception e)
+ {
+ }
+ ;
+
boolean seqsorids = (urlgenerator.getGroupURLType() & urlgenerator.SEQUENCEIDS) == 0;
int i = urlgenerator.getNumberInvolved(urlstub);
JMenuItem item = new JMenuItem(label);