We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c7fcc commit 7b4aefeCopy full SHA for 7b4aefe
src/java.desktop/unix/classes/sun/awt/X11/ListHelper.java
@@ -1,5 +1,5 @@
1
/*
2
- * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2021, Oracle and/or its affiliates. All rights reserved.
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
*
5
* This code is free software; you can redistribute it and/or modify it
@@ -147,7 +147,7 @@ void remove(int index) {
147
}
148
149
void removeAll() {
150
- items.removeAll(items);
+ items.clear();
151
updateScrollbars();
152
153
0 commit comments