This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
youys
/
ant
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
1
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
use isReverse method rather than reading flag directly
master
Stefan Bodewig
7 years ago
parent
a4099af879
commit
b822486d02
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/main/org/apache/tools/ant/filters/SortFilter.java
+ 1
- 1
src/main/org/apache/tools/ant/filters/SortFilter.java
View File
@@ -350,7 +350,7 @@ public final class SortFilter extends BaseParamFilterReader
*/
private void sort() {
if (comparator == null) {
if (
reverse
) {
if (
isReverse()
) {
lines.sort((s1, s2) -> {
return -s1.compareTo(s2); //NOSONAR
});
Write
Preview
Loading…
Cancel
Save