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:
kohsuke committed 2007-07-29 22:59:16 +00:00
1 parent 31cbef4313
commit 9741b511ed
1 file changed
+2 -1
+2 -1
View File
@@ -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();
}