From 2c3cb48667852849a3783b5e67eb335390d9733b Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Tue, 6 Aug 2024 23:17:06 +0200 Subject: [PATCH] Add REST annotations and refactor properties file handling Introduced `@RestController` and `@RequestMapping` in `StaffAppController` for standardized API endpoints. Refactored properties file handling in `PropertiesLoader` and `PropertiesWriter` to simplify file creation logic. --- .gitignore | 5 +- .idea/workspace.xml | 57 ++++++++++++++----- .../forms/properties/PropertiesLoader.java | 2 +- .../forms/properties/PropertiesWriter.java | 2 +- 4 files changed, 50 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index b63da45..0770f54 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,7 @@ bin/ .vscode/ ### Mac OS ### -.DS_Store \ No newline at end of file +.DS_Store + +*.bat +config/ \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 9e834d2..9357461 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,16 +4,11 @@