3

I just worked the close queue and came across this question.

I'm certain the (Boolean)null -> boolean -> NullPointerException has already happened, so there is most likely already a question out there addressing this.

But I can't find it, because the questions most likely won't contain the relevant keywords (boxing in this case).

So, I'd like to search for answers because they will most likely contain the relevant sentence "Your problem is due to Java trying to boxing this null to a boolean which is impossible" in the beginning.

In the close->duplicate screen I would like to have a toggle on the side to search & display the content of the answers the same way currently questions are displayed.

4
  • 1
    You can always open another window to do the search, then paste the URL into the close box.
    – Barmar
    Apr 29, 2014 at 20:57
  • @Barmar Enlighten me, how can I explicitly search for answers? Apr 29, 2014 at 21:09
  • 1
    With is:answer in the search criteria.
    – Barmar
    Apr 29, 2014 at 21:10
  • @Barmar Thank you! I still want that feature, though, as it eases the work process. Apr 29, 2014 at 21:11

1 Answer 1

4

Use the built-in advanced search features. In particular, is:answer:

Documentation:

is:question narrows results down to just questions, and is:answer returns only answers

I know you said you still want the ability to just toggle this restriction, but really, it's already available through the above :/

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .