package com.java.laiy.model;


public enum Figure {

    X("X"), O("O");

    private final String figure;

    Figure(final String figureName){
        figure = figureName;
    }

    public String getFigure() {
        return figure;
    }

}

@@ -105,16 +105,24 @@
 e;%0A%0A    
+private 
 Figure(f
@@ -139,20 +139,16 @@
 g figure
-Name
 )%7B%0A     
@@ -154,82 +154,52 @@
     
+assert 
 figure 
+!
 = 
-figureName
+null
 ;%0A    
-%7D%0A%0A
     
-public String getFigure() %7B%0A        return
+this.figure =
  fig
@@ -209,11 +209,10 @@
 ;%0A    %7D%0A
-%0A
 %7D%0A

Update Figure.java