changeset 54176:d976ee345d11

8182992: Typo in DatagramPacket constructor API doc Reviewed-by: coffeys Contributed-by: roger.calnan@oracle.com
author coffeys
date Thu, 03 Jan 2019 17:29:53 +0000
parents e412d5c096bc
children bf2533105a26
files src/java.base/share/classes/java/net/DatagramPacket.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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}.