Skip to content
Permalink
Browse files
Use correct order of extractors
too many No's there :)
  • Loading branch information
FSchumacher committed Mar 5, 2022
1 parent 949a028 commit f9cb8fca34e93382ad3f7cb04970b1c6c001d413
Showing 1 changed file with 4 additions and 4 deletions.
@@ -81,13 +81,13 @@ public void process() {
String text = responseText.getResponseDataAsString();
String value;
if (isPathExtension() && isPathExtensionNoEquals() && isPathExtensionNoQuestionmark()) {
value = pathExtensionEqualsQuestionmarkExtractor.apply(text);
value = pathExtensionNoEqualsNoQuestionmarkExtractor.apply(text);
} else if (isPathExtension() && isPathExtensionNoEquals()) { // && !isPathExtensionNoQuestionmark()
value = pathExtensionEqualsNoQuestionmarkExtractor.apply(text);
} else if (isPathExtension() && isPathExtensionNoQuestionmark()) { // && !isPathExtensionNoEquals()
value = pathExtensionNoEqualsQuestionmarkExtractor.apply(text);
} else if (isPathExtension() && isPathExtensionNoQuestionmark()) { // && !isPathExtensionNoEquals()
value = pathExtensionEqualsNoQuestionmarkExtractor.apply(text);
} else if (isPathExtension()) { // && !isPathExtensionNoEquals() && !isPathExtensionNoQuestionmark()
value = pathExtensionNoEqualsNoQuestionmarkExtractor.apply(text);
value = pathExtensionEqualsQuestionmarkExtractor.apply(text);
} else { // if ! isPathExtension()
value = parameterExtractor.apply(text);
}

0 comments on commit f9cb8fc

Please sign in to comment.