From: <ba...@us...> - 2009-04-09 14:05:07
|
Revision: 2451 http://obo.svn.sourceforge.net/obo/?rev=2451&view=rev Author: balhoff Date: 2009-04-09 14:05:03 +0000 (Thu, 09 Apr 2009) Log Message: ----------- Removed unnecessary string concatenation. Modified Paths: -------------- phenex/trunk/src/org/phenoscape/swing/AutocompleteField.java Modified: phenex/trunk/src/org/phenoscape/swing/AutocompleteField.java =================================================================== --- phenex/trunk/src/org/phenoscape/swing/AutocompleteField.java 2009-04-09 02:37:12 UTC (rev 2450) +++ phenex/trunk/src/org/phenoscape/swing/AutocompleteField.java 2009-04-09 14:05:03 UTC (rev 2451) @@ -318,7 +318,7 @@ @Override public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus) { final SearchHit<?> hit = (SearchHit<?>)value; - final String displayValue = "<html>" + hit.getMatchText() + " <i><font color=\"gray\" size=\"small\">" + hit.getMatchType().getName() + "</font></i>" + "</html>"; + final String displayValue = "<html>" + hit.getMatchText() + " <i><font color=\"gray\" size=\"small\">" + hit.getMatchType().getName() + "</font></i></html>"; return super.getListCellRendererComponent(list, displayValue, index, isSelected,cellHasFocus); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |