ripme
ripme copied to clipboard
TwitterRipper: Linter warning: probably incorrect Long.equals(String)
[Java] Unlikely argument type for equals(): String seems to be unrelated to Long
Long lastMaxID = 0L;
...
if (tweets.size() == 1 &&
lastMaxID.equals(tweets.get(0).getString("id_str"))
) {
Its comparing a Long object with string. Merging the fix.
Looks like https://github.com/4pr0n/ripme/pull/567 is the attempted fix, but I don't understand why the whole file changed. @Avinash13iitkgp can you provide more information about your change?