提交 abbb9cb7 编写于 作者: K kohsuke

removed IDE warnings

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@18624 71c3de6d-444a-0410-be80-ed276b4c234a
上级 df26ff63
......@@ -47,6 +47,7 @@ import hudson.tasks.test.AbstractTestResultAction;
import hudson.util.IOException2;
import hudson.util.LogTaskListener;
import hudson.util.XStream2;
import hudson.util.ProcessTreeKiller;
import java.io.BufferedReader;
import java.io.File;
......@@ -702,7 +703,7 @@ public abstract class Run <JobT extends Job<JobT,RunT>,RunT extends Run<JobT,Run
* Combines last N token into the "a/b/c" form.
*/
private String combineLast(String[] token, int n) {
StringBuffer buf = new StringBuffer();
StringBuilder buf = new StringBuilder();
for( int i=Math.max(0,token.length-n); i<token.length; i++ ) {
if(buf.length()>0) buf.append('/');
buf.append(token[i]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册