Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyakhajanchi committed Dec 9, 2024
1 parent 1c774c7 commit 8e1cb54
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ public MigrationTransformationResponse toSourceRow(MigrationTransformationReques
Map<String, Object> responseRow = new HashMap<>();
Map<String, Object> requestRow = request.getRequestRow();
String name = requestRow.get("name").toString();
String[] name_array = name.split(" ");
responseRow.put("first_name", name_array[0]);
responseRow.put("last_name", name_array[1]);
String[] nameArray = name.split(" ");
responseRow.put("first_name", nameArray[0]);
responseRow.put("last_name", nameArray[1]);
MigrationTransformationResponse response =
new MigrationTransformationResponse(responseRow, false);
return response;
Expand Down

0 comments on commit 8e1cb54

Please sign in to comment.