This is an automated email from the ASF dual-hosted git repository.
doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git
The following commit(s) were added to refs/heads/master by this push:
new 86ec931a Revert EMPIREDB-415 changes
86ec931a is described below
commit 86ec931ae391761f04ebf24d5ec5aacde2d85f6d
Author: Rainer Döbele <[email protected]>
AuthorDate: Thu Jan 18 11:55:50 2024 +0100
Revert EMPIREDB-415 changes
---
.../src/main/java/org/apache/empire/samples/db/SampleApp.java | 6 ------
1 file changed, 6 deletions(-)
diff --git
a/empire-db-examples/empire-db-example-basic/src/main/java/org/apache/empire/samples/db/SampleApp.java
b/empire-db-examples/empire-db-example-basic/src/main/java/org/apache/empire/samples/db/SampleApp.java
index 5d0a98b3..97cdee2c 100644
---
a/empire-db-examples/empire-db-example-basic/src/main/java/org/apache/empire/samples/db/SampleApp.java
+++
b/empire-db-examples/empire-db-example-basic/src/main/java/org/apache/empire/samples/db/SampleApp.java
@@ -637,12 +637,6 @@ public class SampleApp
*/
for (DataListEntry dle : list)
{
-
- if (dle.hasField(DEP.ID)) {
- int depId = dle.getInt(DEP.ID);
- // what?
- }
-
long empId = dle.getRecordId(EMP);
// int depId = dle.getId(DEP);
String empName = StringUtils.concat(", ",
dle.getString(EMP.LAST_NAME), dle.getString(EMP.FIRST_NAME));