pattern solution jav.

Signed-off-by: Balázs <balazs@balazs-Inspiron-N7010.(none)>