This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
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
self-check in equals
master
Stefan Bodewig
9 years ago
parent
c78ecf75bb
commit
be00fccc2d
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
src/main/org/apache/tools/ant/types/Resource.java
+ 3
- 0
src/main/org/apache/tools/ant/types/Resource.java
View File
@@ -284,6 +284,9 @@ public class Resource extends DataType implements Comparable<Resource>, Resource
* @since Ant 1.7
*/
public boolean equals(Object other) {
if (this == other) {
return true;
}
if (isReference()) {
return getCheckedRef().equals(other);
}
Write
Preview
Loading…
Cancel
Save