8182992: Typo in DatagramPacket constructor API doc
Reviewed-by: coffeys
This commit is contained in:
parent
bef39b8c4d
commit
5d8b0c4814
@ -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 @@ class DatagramPacket {
|
||||
|
||||
/**
|
||||
* 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 @@ class DatagramPacket {
|
||||
|
||||
/**
|
||||
* 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}.
|
||||
|
Loading…
x
Reference in New Issue
Block a user