mirror of
https://github.com/openjdk/jdk.git
synced 2026-07-28 11:53:09 +00:00
8339972: Make a few fields in SortingFocusTraversalPolicy static
Reviewed-by: azvegint, aivanov
This commit is contained in:
parent
3c22d83c0f
commit
fe80618bf3
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2000, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2024, 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
|
||||
@ -87,8 +87,8 @@ public class SortingFocusTraversalPolicy
|
||||
private static final SwingContainerOrderFocusTraversalPolicy
|
||||
fitnessTestPolicy = new SwingContainerOrderFocusTraversalPolicy();
|
||||
|
||||
private final int FORWARD_TRAVERSAL = 0;
|
||||
private final int BACKWARD_TRAVERSAL = 1;
|
||||
private static final int FORWARD_TRAVERSAL = 0;
|
||||
private static final int BACKWARD_TRAVERSAL = 1;
|
||||
|
||||
/*
|
||||
* When true (by default), the legacy merge-sort algo is used to sort an FTP cycle.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user