mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8152467: remove uses of anachronistic array declarations for method return type
Reviewed-by: shade, alanb
This commit is contained in:
parent
605b3f051b
commit
a6d6619fbb
8 changed files with 18 additions and 18 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 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
|
||||
|
@ -244,7 +244,7 @@ public final class CompactByteArray implements Cloneable {
|
|||
/** For internal use only. Do not modify the result, the behavior of
|
||||
* modified results are undefined.
|
||||
*/
|
||||
public short getIndexArray()[]
|
||||
public short[] getIndexArray()
|
||||
{
|
||||
return indices;
|
||||
}
|
||||
|
@ -252,7 +252,7 @@ public final class CompactByteArray implements Cloneable {
|
|||
/** For internal use only. Do not modify the result, the behavior of
|
||||
* modified results are undefined.
|
||||
*/
|
||||
public byte getStringArray()[]
|
||||
public byte[] getStringArray()
|
||||
{
|
||||
return values;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue