mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
27 lines
426 B
Java
27 lines
426 B
Java
/**
|
|
* Sample ORM class for the type `Employee`.
|
|
*/
|
|
public class EmployeeRecord {
|
|
public int add(Employee employee) {
|
|
return 1;
|
|
}
|
|
|
|
public Employee get(String name) {
|
|
return new Employee("Sample");
|
|
}
|
|
|
|
public int update(Employee employee, String newName) {
|
|
return 1;
|
|
}
|
|
|
|
public int delete(Employee employee) {
|
|
return 1;
|
|
}
|
|
|
|
private void f() { }
|
|
|
|
private void g() { }
|
|
|
|
private void h() { }
|
|
}
|