8182992: Typo in DatagramPacket constructor API doc
authorcoffeys
Thu, 03 Jan 2019 17:29:53 +0000
changeset 53132 d976ee345d11
parent 53131 e412d5c096bc
child 53133 bf2533105a26
8182992: Typo in DatagramPacket constructor API doc Reviewed-by: coffeys Contributed-by: roger.calnan@oracle.com
src/java.base/share/classes/java/net/DatagramPacket.java
--- a/src/java.base/share/classes/java/net/DatagramPacket.java	Thu Jan 03 17:27:29 2019 +0000
+++ b/src/java.base/share/classes/java/net/DatagramPacket.java	Thu Jan 03 17:29:53 2019 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1995, 2019, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -102,7 +102,7 @@
 
     /**
      * Constructs a datagram packet for sending packets of length
-     * {@code length} with offset {@code ioffset}to the
+     * {@code length} with offset {@code offset} to the
      * specified port number on the specified host. The
      * {@code length} argument must be less than or equal to
      * {@code buf.length}.
@@ -125,7 +125,7 @@
 
     /**
      * Constructs a datagram packet for sending packets of length
-     * {@code length} with offset {@code ioffset}to the
+     * {@code length} with offset {@code offset} to the
      * specified port number on the specified host. The
      * {@code length} argument must be less than or equal to
      * {@code buf.length}.