diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-04-27 23:24:49 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-04-27 23:24:49 +0200 |
commit | 6f74ca80d395542ae92e7e9eb97af11aa4c706bd (patch) | |
tree | 8506351e5a3e9904c70c881b1d13b2a1d1030383 /src/de/blinkt/openvpn/OpenVPN.java | |
parent | a9bd49391b200d24515f8da54d2e69d589da721a (diff) |
it is not getIntent() nor savedState nor other fancy stuff, getArgument() is what I want
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVPN.java')
-rw-r--r-- | src/de/blinkt/openvpn/OpenVPN.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/OpenVPN.java b/src/de/blinkt/openvpn/OpenVPN.java index 7385726b..b49bdf68 100644 --- a/src/de/blinkt/openvpn/OpenVPN.java +++ b/src/de/blinkt/openvpn/OpenVPN.java @@ -72,6 +72,9 @@ public class OpenVPN { public static void foo() { } synchronized public static String[] getlogbuffer() { + + // The stoned way of java to return an array from a vector + // brought to you by eclipse auto complete return (String[]) logbuffer.toArray(new String[logbuffer.size()]); } |