Changeset 4125
- Timestamp:
- Feb 4, 2008, 8:29:03 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/core/net/sf/basedb/core/data/FileTypeIndex.java
r4084 r4125 91 91 FileTypeIndex other = (FileTypeIndex) o; 92 92 // Same file type 93 if (this.fileType.getId() != other.fileType.getId()) return false; 94 // Same or no variant 95 if (this.variant == null && other.variant == null) return true; 96 if (this.variant != null && this.variant.equals(other.variant)) return true; 93 if (this.fileType.equals(other.fileType)) 94 { 95 // Same or no variant 96 if ((this.variant == other.variant) || 97 (this.variant != null && this.variant.equals(other.variant))) return true; 98 } 97 99 return false; 98 100 }
Note: See TracChangeset
for help on using the changeset viewer.