mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-09 10:06:13 +00:00
... 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:
1 parent
721ca12762
commit
e81374ad42
8 files changed
+15
-35
No files matched your search
@@ -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!
|
||||
|
||||
Reference in new issue
Block a user