Incompatible types when returning value

后端 未结 3 1961
野的像风
野的像风 2021-01-26 11:15

I want to display an image with drawn lines on a map, and separate images made for every single section in the image (several connected lines). I have written this code:

3条回答
  •  广开言路
    2021-01-26 11:51

    Return type of the method is BufferedImage
    But you try to return array of BufferedImage. That is thy the error occurs.
    BTW: do you really have 2 return statements?

提交回复
热议问题