{ if (value.equals(String.valueOf(Detector.HIGH_PRIORITY))) return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_high", "High"); if (value.equals(String.valueOf(Detector.NORMAL_PRIORITY))) return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_normal", "Normal"); if (value.equals(String.valueOf(Detector.LOW_PRIORITY))) return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_low", "Low"); if (value.equals(String.valueOf(Detector.EXP_PRIORITY))) return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_experimental", "Experimental"); return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_ignore", "Ignore");
{  if(value.equals("0")) return edu.umd.cs.findbugs.L10N.getLocalString("sort.first_version_not_defined", "First version not defined"); int seqNum = Integer.parseInt(value); AppVersion appVersion = BugLoader.mainBugCollection.getAppVersionFromSequenceNumber(seqNum); String appendItem = ""; if(appVersion != null) { String timestamp = new Timestamp(appVersion.getTimestamp()).toString(); appendItem = appVersion.getReleaseName().toString() + " (" + timestamp.substring(0, timestamp.indexOf(' ')) + ")"; } if(appendItem == "") appendItem = "AppVersion not found, sequence number=" + seqNum; return (edu.umd.cs.findbugs.L10N.getLocalString("sort.first_version", "First Version") + ": " + appendItem);
		public String formatValue(String value)		{			if (value.equals(String.valueOf(Detector.HIGH_PRIORITY)))				return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_high", "High");			if (value.equals(String.valueOf(Detector.NORMAL_PRIORITY)))				return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_normal", "Normal");			if (value.equals(String.valueOf(Detector.LOW_PRIORITY)))				return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_low", "Low");			if (value.equals(String.valueOf(Detector.EXP_PRIORITY)))				return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_experimental", "Experimental");			return edu.umd.cs.findbugs.L10N.getLocalString("sort.priority_ignore", "Ignore"); // This probably shouldn't ever happen, but what the hell, let's be complete					}