@@ -55,19 +55,19 @@ public void testGetFieldDefColumnsWhenShowConciseIsTrue() throws ZinggClientExce
55
55
FieldDefinition def1 = new FieldDefinition ();
56
56
def1 .setFieldName ("field_fuzzy" );
57
57
def1 .setDataType ("string" );
58
- def1 .setMatchTypeInternal (( MatchType ) MatchTypes .FUZZY );
58
+ def1 .setMatchTypeInternal (MatchTypes .FUZZY );
59
59
def1 .setFields ("field_fuzzy" );
60
60
61
61
FieldDefinition def2 = new FieldDefinition ();
62
62
def2 .setFieldName ("field_match_type_DONT_USE" );
63
63
def2 .setDataType ("string" );
64
- def2 .setMatchTypeInternal (( MatchType ) MatchTypes .DONT_USE );
64
+ def2 .setMatchTypeInternal (MatchTypes .DONT_USE );
65
65
def2 .setFields ("field_match_type_DONT_USE" );
66
66
67
67
FieldDefinition def3 = new FieldDefinition ();
68
68
def3 .setFieldName ("field_str_DONTspaceUSE" );
69
69
def3 .setDataType ("string" );
70
- def3 .setMatchTypeInternal (( MatchType ) MatchTypes .DONT_USE );
70
+ def3 .setMatchTypeInternal (MatchTypes .DONT_USE );
71
71
def3 .setFields ("field_str_DONTspaceUSE" );
72
72
73
73
List <FieldDefinition > fieldDef = new ArrayList <FieldDefinition >();
@@ -97,19 +97,19 @@ public void testGetFieldDefColumnsWhenShowConciseIsFalse() throws ZinggClientExc
97
97
FieldDefinition def1 = new FieldDefinition ();
98
98
def1 .setFieldName ("field_fuzzy" );
99
99
def1 .setDataType ("string" );
100
- def1 .setMatchTypeInternal (( MatchType ) MatchTypes .FUZZY );
100
+ def1 .setMatchTypeInternal (MatchTypes .FUZZY );
101
101
def1 .setFields ("field_fuzzy" );
102
102
103
103
FieldDefinition def2 = new FieldDefinition ();
104
104
def2 .setFieldName ("field_match_type_DONT_USE" );
105
105
def2 .setDataType ("string" );
106
- def2 .setMatchTypeInternal (( MatchType ) MatchTypes .DONT_USE );
106
+ def2 .setMatchTypeInternal (MatchTypes .DONT_USE );
107
107
def2 .setFields ("field_match_type_DONT_USE" );
108
108
109
109
FieldDefinition def3 = new FieldDefinition ();
110
110
def3 .setFieldName ("field_str_DONTspaceUSE" );
111
111
def3 .setDataType ("string" );
112
- def3 .setMatchTypeInternal (( MatchType ) MatchTypes .DONT_USE );
112
+ def3 .setMatchTypeInternal (MatchTypes .DONT_USE );
113
113
def3 .setFields ("field_str_DONTspaceUSE" );
114
114
115
115
List <FieldDefinition > fieldDef = new ArrayList <FieldDefinition >();
@@ -143,7 +143,7 @@ public void testGetTrainingDataWhenTrainingSamplesIsNull() throws Exception, Zin
143
143
FieldDefinition def1 = new FieldDefinition ();
144
144
def1 .setFieldName ("field1" );
145
145
def1 .setDataType ("string" );
146
- def1 .setMatchTypeInternal (( MatchType ) MatchTypes .FUZZY );
146
+ def1 .setMatchTypeInternal (MatchTypes .FUZZY );
147
147
def1 .setFields ("field1" );
148
148
149
149
List <FieldDefinition > fieldDef = new ArrayList <FieldDefinition >();
@@ -180,7 +180,7 @@ public void testGetTrainingDataWhenTrainingSamplesIsNotNull() throws Exception,
180
180
FieldDefinition def1 = new FieldDefinition ();
181
181
def1 .setFieldName ("field1" );
182
182
def1 .setDataType ("string" );
183
- def1 .setMatchTypeInternal (( MatchType ) MatchTypes .FUZZY );
183
+ def1 .setMatchTypeInternal (MatchTypes .FUZZY );
184
184
def1 .setFields ("field1" );
185
185
186
186
List <FieldDefinition > fieldDef = new ArrayList <FieldDefinition >();
@@ -223,7 +223,7 @@ public void testGetTrainingDataWhenTrainingDataIsNull() throws Exception, ZinggC
223
223
FieldDefinition def1 = new FieldDefinition ();
224
224
def1 .setFieldName ("field1" );
225
225
def1 .setDataType ("string" );
226
- def1 .setMatchTypeInternal (( MatchType ) MatchTypes .FUZZY );
226
+ def1 .setMatchTypeInternal (MatchTypes .FUZZY );
227
227
def1 .setFields ("field1" );
228
228
229
229
List <FieldDefinition > fieldDef = new ArrayList <FieldDefinition >();
0 commit comments