diff options
-rw-r--r-- | jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor.java b/jurt/com/sun/star/lib/connections/socket/ConnectionDescriptor.java index f362dac800db..aec6a638e095 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()); |