Skip to content

Commit

Permalink
refactoring and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abdo643-HULK committed Jan 14, 2022
1 parent 088bf53 commit ce3e65e
Show file tree
Hide file tree
Showing 26 changed files with 225 additions and 622 deletions.
17 changes: 0 additions & 17 deletions EX2/servlets/src/main/kotlin/EnvironmentServiceServlet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,6 @@ const val OFFLINE_CPP =

@WebServlet(name = "EnvironmentServiceServlet", urlPatterns = ["/env"])
class EnvironmentServiceServlet : HttpServlet() {
// private val mRmiClient by lazy {
// try {
// EnvClient()
// } catch (_e: Exception) {
// null
// }
// }
// private val mCppClient by lazy {
// try {
// TcpEnviClient(CPP_SERVER_PORT, "127.0.0.1")
// } catch (_e: IOException) {
// null
// }
// }

override fun doGet(_req: HttpServletRequest, _res: HttpServletResponse) {
val rmiClient = try {
EnvClient()
Expand All @@ -58,8 +43,6 @@ class EnvironmentServiceServlet : HttpServlet() {
null
}

println(rmiClient)
println(cppClient)

val htmlFile =
servletContext
Expand Down
2 changes: 1 addition & 1 deletion EX3/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake-build-debug
out
.env
.idea/
gradle.properties

.gradle
Expand Down
11 changes: 0 additions & 11 deletions EX3/.idea/aws.xml

This file was deleted.

18 changes: 0 additions & 18 deletions EX3/.idea/checkstyle-idea.xml

This file was deleted.

6 changes: 0 additions & 6 deletions EX3/.idea/checkstyleidea-libs/readme.txt

This file was deleted.

8 changes: 0 additions & 8 deletions EX3/.idea/detekt.xml

This file was deleted.

20 changes: 0 additions & 20 deletions EX3/.idea/jarRepositories.xml

This file was deleted.

6 changes: 0 additions & 6 deletions EX3/.idea/kotlinScripting.xml

This file was deleted.

6 changes: 0 additions & 6 deletions EX3/.idea/vcs.xml

This file was deleted.

Loading

0 comments on commit ce3e65e

Please sign in to comment.