mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8321059: Unneeded array assignments in MergeCollation and CompactByteArray
Reviewed-by: jlu, bpb, rriggs
This commit is contained in:
parent
d568562966
commit
f6be7fdf22
2 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 2023, 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
|
||||
|
@ -68,8 +68,6 @@ final class MergeCollation {
|
|||
*/
|
||||
public MergeCollation(String pattern) throws ParseException
|
||||
{
|
||||
for (int i = 0; i < statusArray.length; i++)
|
||||
statusArray[i] = 0;
|
||||
setPattern(pattern);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue