Kaydet (Commit) 99920c36 authored tarafından Robert Antoni Buj i Gelonch's avatar Robert Antoni Buj i Gelonch Kaydeden (comit) Noel Grandin

bean: Array concatenated with a String

http://docs.oracle.com/javase/1.5.0/docs/api/java/util/Arrays.html#toString(java.lang.Object[])

Change-Id: I42090bf534a9a59fa97061ec2855f79328b1dd45
Reviewed-on: https://gerrit.libreoffice.org/11478Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst bd21a82e
......@@ -24,6 +24,7 @@ import java.io.UnsupportedEncodingException;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;
import com.sun.star.lang.XMultiComponentFactory;
import com.sun.star.lang.XEventListener;
......@@ -594,7 +595,7 @@ public class LocalOfficeConnection
// start process
mProcess = Runtime.getRuntime().exec(cmdArray);
if ( mProcess == null )
throw new RuntimeException( "cannot start soffice: " + cmdArray );
throw new RuntimeException( "cannot start soffice: " + Arrays.toString(cmdArray) );
}
/**
......
......@@ -24,6 +24,7 @@ import java.io.UnsupportedEncodingException;
import java.util.Iterator;
import java.util.List;
import java.util.ArrayList;
import java.util.Arrays;
import com.sun.star.lang.XMultiComponentFactory;
import com.sun.star.lang.XComponent;
......@@ -725,7 +726,7 @@ public class LocalOfficeConnection
// start process
mProcess = Runtime.getRuntime().exec(cmdArray);
if ( mProcess == null )
throw new com.sun.star.uno.RuntimeException( "cannot start soffice: " + cmdArray );
throw new com.sun.star.uno.RuntimeException( "cannot start soffice: " + Arrays.toString(cmdArray) );
new StreamProcessor(mProcess.getInputStream(), System.out);
new StreamProcessor(mProcess.getErrorStream(), System.err);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment