Changeset 31850 in osm for applications/editors/josm
- Timestamp:
- 2015-12-22T19:02:20+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wikipedia/src/org/wikipedia/WikipediaApp.java
r31849 r31850 17 17 import java.util.List; 18 18 import java.util.Map; 19 import java.util.Objects; 19 20 import java.util.Scanner; 20 21 import java.util.regex.Matcher; … … 247 248 if (this == o) return true; 248 249 if (o == null || getClass() != o.getClass()) return false; 249 250 WikipediaLangArticle that = (WikipediaLangArticle) o; 251 252 if (article != null ? !article.equals(that.article) : that.article != null) return false; 253 if (lang != null ? !lang.equals(that.lang) : that.lang != null) return false; 254 255 return true; 250 final WikipediaLangArticle that = (WikipediaLangArticle) o; 251 return Objects.equals(lang, that.lang) && 252 Objects.equals(article, that.article); 253 } 254 255 @Override 256 public int hashCode() { 257 return Objects.hash(lang, article); 256 258 } 257 259 }
Note:
See TracChangeset
for help on using the changeset viewer.