... except such a method is already in the Functions class.

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9888 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2008-06-06 03:43:25 +00:00
1 parent 721ca12762
commit e81374ad42
8 files changed
+15 -35

No files matched your search

-11
View File
@@ -788,17 +788,6 @@ public class Util {
}
}
/**
* Obtains the stack dump as a string.
*
* @since 1.222
*/
public static String toString(Throwable t) {
StringWriter sw = new StringWriter();
t.printStackTrace(new PrintWriter(sw));
return sw.toString();
}
public static final SimpleDateFormat XS_DATETIME_FORMATTER = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
// Note: RFC822 dates must not be localized!