mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
improved OO-ness by using ClockDifference.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3921 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
31cbef4313
commit
9741b511ed
1 file changed
+2
-1
@@ -1589,7 +1589,8 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
|
||||
new FormFieldValidator(req,rsp,false) {
|
||||
public void check() throws IOException, ServletException {
|
||||
response.setContentType("text/html");
|
||||
response.getWriter().print(getSlave(request.getParameter("node")).getClockDifferenceString());
|
||||
response.getWriter().print(
|
||||
ClockDifference.toHtml(getSlave(request.getParameter("node"))));
|
||||
}
|
||||
}.process();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user