mbuet2ner / JEasyCrypto

A project for educational purposes for the course "Open Source Software Development" at the University of Oulu
GNU General Public License v3.0
2 stars 23 forks source link

Fix type safety warnings in server and client #20

Closed Ohiekkar closed 4 years ago

Ohiekkar commented 4 years ago

Instead of applying the fix in three different methods of the client I abstracted the functionality of creating the JSON string for the request to a helper method similarly to how the response is created on the server.

This will also make #7 easier as now there's only one place in the client where the change has to be done.

Fixes #16

Ohiekkar commented 4 years ago

Updated PR to use HashMap only.