jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit bb8540a3b4fe0798669a1d355695c97d86ef58a0 Author: rbuj <robert....@gmail.com> Date: Sat Aug 9 14:45:51 2014 +0200 jurt: Number parsing Change-Id: I40721bdaae62f063c188546fedb4037e40f890fa Reviewed-on: https://gerrit.libreoffice.org/10845 Reviewed-by: David Tardon <dtar...@redhat.com> Tested-by: David Tardon <dtar...@redhat.com> diff --git a/jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor.java b/jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor.java index f362dac..aec6a63 100644 --- a/jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor.java +++ b/jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor.java @@ -43,7 +43,7 @@ final class ConnectionDescriptor { host = value; } else if (key.equalsIgnoreCase("port")) { try { - port = Integer.valueOf(value).intValue(); + port = Integer.parseInt(value); } catch (NumberFormatException e) { throw new com.sun.star.lang.IllegalArgumentException( e.toString()); @@ -55,7 +55,7 @@ final class ConnectionDescriptor { } } else if (key.equalsIgnoreCase("backlog")) { try { - backlog = Integer.valueOf(value).intValue(); + backlog = Integer.parseInt(value); } catch (NumberFormatException e) { throw new com.sun.star.lang.IllegalArgumentException( e.toString()); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits