Skip to content

Commit 917a533

Browse files
committed
Issue #109. Removed redundant fields in CRUDOperation entity.
Signed-off-by: Rahul Krishna <[email protected]>
1 parent 2615d7d commit 917a533

File tree

2 files changed

+3
-14
lines changed

2 files changed

+3
-14
lines changed

src/main/java/com/ibm/cldk/entities/CRUDOperation.java

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,9 @@ public class CRUDOperation {
1717
@NotImplemented
1818
private String targetTable = null;
1919
@NotImplemented
20-
private List<String> involvedFields;
20+
private List<String> involvedColumns;
2121
@NotImplemented
2222
private String condition;
2323
@NotImplemented
2424
private List<String> joinedTables;
25-
@NotImplemented
26-
private String technology;
27-
@NotImplemented
28-
private boolean isBatchOperation = false;
29-
30-
public CRUDOperation(int lineNumber, CRUDOperationType crudOperationType) {
31-
this.lineNumber = lineNumber;
32-
this.operationType = crudOperationType;
33-
}
3425
}

src/test/java/com/ibm/cldk/CodeAnalyzerIntegrationTest.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,9 @@ void shouldBeAbleToDetectCRUDOperationsAndQueriesForPlantByWebsphere() throws Ex
181181
"\"line_number\": 115," +
182182
"\"operation_type\": \"READ\"," +
183183
"\"target_table\": null," +
184-
"\"involved_fields\": null," +
184+
"\"involved_columns\": null," +
185185
"\"condition\": null," +
186-
"\"joined_tables\": null," +
187-
"\"technology\": null," +
188-
"\"is_batch_operation\": false" +
186+
"\"joined_tables\": null" +
189187
"}]";
190188

191189
// Expected JSON for CRUD Queries

0 commit comments

Comments
 (0)