Skip to main content
5 of 5
Use quote highlighting to visually separate image of comment section from the actual comments to this meta post
ryanyuyu
  • 6.5k
  • 9
  • 117
  • 147

How similar does a question need to be to another to be marked as a duplicate?

This question has been dupe-hammered by Jens earlier today. It has been reopened (and reclosed) since; but my question about the validity of dupe votes remains.

Quick summary of the question: OP generates a String in one method and wants to make it accessible to another.

Quick summary of the dupe link: OP asks how to compare Strings in Java.

I believe these two have nothing in common with each other.

Jens argument for the dupe vote is based on one line in the code which I believe is not at main point of the question:

if(LetterString == PressedKey){

Which is how OP of the linked question tries to compare the Strings. Besides, that is not even currently relevant because LetterString does not contain the updated value (which is what the question really is about).

My question: Is that a good enough reason for a close vote/hammer? Is the degree of similarity that small to cast a duplicate vote?

Below is the conversation Jens and me had in the comments regarding this (in case they are removed/moved to chat):

Conversation

geisterfurz007
  • 5.8k
  • 10
  • 15