From a9a3659ab45df61ea4cb9e20474cd76e8183eb87 Mon Sep 17 00:00:00 2001 From: Laci Date: Sun, 19 May 2024 23:33:37 +0200 Subject: [PATCH] Some minor issue fixes in zhe controller --- .idea/.gitignore | 8 + .../069ee105e414a9841cb8a605002bbf1cfaa00396 | 2 + .../0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 | 8 + .../10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb | 4 + .../183ee57b6240ba64168e2521ae0f55603d787183 | 48 ++++++ .../220aac31c25ac4b78869b9f8a1ff0613639ad131 | 2 + .../2b60335603bdec95f59dffa7532676caa0919860 | 67 ++++++++ .../352b43909b0318cb27d832f4b5ed70481d2f0cca | 2 + .../442292b8a7efeabbe4cc176709b833b1792140ec | 0 .../47a8c4a055a3583d897a139c83b071fb9b86e075 | 67 ++++++++ .../5a76d94fe5bcfc7909894e2775644fb8312cf857 | 2 + .../5d99a517d91f07bde864acfa844d8d0fb31fca79 | 2 + .../6228df69a30f95c16312fab771959b29badf8fb7 | 4 + .../6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 | 2 + .../758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e | 2 + .../78f761914534f9f21bd9140a5969897ab2e3386c | 2 + .../79af7c45105e7092ac09211db8604c01db27ba37 | 2 + .../7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d | 2 + .../893092d474271d335e0ebfc18609c779120a4d47 | 0 .../8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d | 0 .../931c5350684925280f17b8ede6696f82e325a460 | 2 + .../a0e6cf65f1b976041121e442b099676208dfdd86 | 6 + .../a3336814fc8d8c0247949af8ada16edfd5a09d83 | 2 + .../abb09e32881b72fada81cb579bc21349aed41f30 | 2 + .../b1aa1bd943e55310ba228c419a6ce4b0548063e6 | 48 ++++++ .../b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e | 6 + .../be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 | 2 + .../bec9864770ca9242f966d45788d8ddc34a9af0d9 | 2 + .../c129e2d645ebbb59c3555a710c6acbda7ed8c870 | 2 + .../cd68b8799a8b53f159baa056d0d376631c4cf68e | 2 + .../cfe37c4dde3d6c0f6902b6867a14449b234af8c3 | 6 + .../d04aeb7041bae9212b8c5335f9accabbf90966ea | 0 .../d2cd76e371a2393a2353862178ab83be5722e2fa | 2 + .../d3d705d1d4cfdaf71d6afe067df995da814be59c | 45 ++++++ .../d61ff4d8e5673eebce5fee9ecffec97ec94ad768 | 3 + .../de3c505999c6726d5945dfdeccc2fa8b4d35ac93 | 2 + .../df267c5ba3709e67f7dd156e18ac3d24613d767d | 2 + .../ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 | 6 + .../f77807875c7235e37ed946a3c0d88ffa578cdaf1 | 4 + .idea/sonarlint/issuestore/index.pb | 77 +++++++++ .../069ee105e414a9841cb8a605002bbf1cfaa00396 | 0 .../0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 | 0 .../10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb | 0 .../183ee57b6240ba64168e2521ae0f55603d787183 | 0 .../220aac31c25ac4b78869b9f8a1ff0613639ad131 | 0 .../2b60335603bdec95f59dffa7532676caa0919860 | 0 .../352b43909b0318cb27d832f4b5ed70481d2f0cca | 0 .../442292b8a7efeabbe4cc176709b833b1792140ec | 0 .../47a8c4a055a3583d897a139c83b071fb9b86e075 | 0 .../5a76d94fe5bcfc7909894e2775644fb8312cf857 | 0 .../5d99a517d91f07bde864acfa844d8d0fb31fca79 | 0 .../6228df69a30f95c16312fab771959b29badf8fb7 | 0 .../6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 | 0 .../758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e | 0 .../78f761914534f9f21bd9140a5969897ab2e3386c | 0 .../79af7c45105e7092ac09211db8604c01db27ba37 | 0 .../7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d | 0 .../893092d474271d335e0ebfc18609c779120a4d47 | 0 .../8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d | 0 .../931c5350684925280f17b8ede6696f82e325a460 | 0 .../a0e6cf65f1b976041121e442b099676208dfdd86 | 0 .../a3336814fc8d8c0247949af8ada16edfd5a09d83 | 0 .../abb09e32881b72fada81cb579bc21349aed41f30 | 0 .../b1aa1bd943e55310ba228c419a6ce4b0548063e6 | 0 .../b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e | 0 .../be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 | 0 .../bec9864770ca9242f966d45788d8ddc34a9af0d9 | 0 .../c129e2d645ebbb59c3555a710c6acbda7ed8c870 | 0 .../cd68b8799a8b53f159baa056d0d376631c4cf68e | 0 .../cfe37c4dde3d6c0f6902b6867a14449b234af8c3 | 0 .../d04aeb7041bae9212b8c5335f9accabbf90966ea | 0 .../d2cd76e371a2393a2353862178ab83be5722e2fa | 0 .../d3d705d1d4cfdaf71d6afe067df995da814be59c | 0 .../d61ff4d8e5673eebce5fee9ecffec97ec94ad768 | 0 .../de3c505999c6726d5945dfdeccc2fa8b4d35ac93 | 0 .../df267c5ba3709e67f7dd156e18ac3d24613d767d | 0 .../ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 | 0 .../f77807875c7235e37ed946a3c0d88ffa578cdaf1 | 0 .idea/sonarlint/securityhotspotstore/index.pb | 77 +++++++++ src/main/java/Controll/Controller.java | 147 +++++++++++------- .../StringResourceController.java | 2 +- 81 files changed, 618 insertions(+), 55 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/sonarlint/issuestore/0/6/069ee105e414a9841cb8a605002bbf1cfaa00396 create mode 100644 .idea/sonarlint/issuestore/0/e/0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 create mode 100644 .idea/sonarlint/issuestore/1/0/10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb create mode 100644 .idea/sonarlint/issuestore/1/8/183ee57b6240ba64168e2521ae0f55603d787183 create mode 100644 .idea/sonarlint/issuestore/2/2/220aac31c25ac4b78869b9f8a1ff0613639ad131 create mode 100644 .idea/sonarlint/issuestore/2/b/2b60335603bdec95f59dffa7532676caa0919860 create mode 100644 .idea/sonarlint/issuestore/3/5/352b43909b0318cb27d832f4b5ed70481d2f0cca create mode 100644 .idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec create mode 100644 .idea/sonarlint/issuestore/4/7/47a8c4a055a3583d897a139c83b071fb9b86e075 create mode 100644 .idea/sonarlint/issuestore/5/a/5a76d94fe5bcfc7909894e2775644fb8312cf857 create mode 100644 .idea/sonarlint/issuestore/5/d/5d99a517d91f07bde864acfa844d8d0fb31fca79 create mode 100644 .idea/sonarlint/issuestore/6/2/6228df69a30f95c16312fab771959b29badf8fb7 create mode 100644 .idea/sonarlint/issuestore/6/f/6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 create mode 100644 .idea/sonarlint/issuestore/7/5/758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e create mode 100644 .idea/sonarlint/issuestore/7/8/78f761914534f9f21bd9140a5969897ab2e3386c create mode 100644 .idea/sonarlint/issuestore/7/9/79af7c45105e7092ac09211db8604c01db27ba37 create mode 100644 .idea/sonarlint/issuestore/7/d/7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d create mode 100644 .idea/sonarlint/issuestore/8/9/893092d474271d335e0ebfc18609c779120a4d47 create mode 100644 .idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d create mode 100644 .idea/sonarlint/issuestore/9/3/931c5350684925280f17b8ede6696f82e325a460 create mode 100644 .idea/sonarlint/issuestore/a/0/a0e6cf65f1b976041121e442b099676208dfdd86 create mode 100644 .idea/sonarlint/issuestore/a/3/a3336814fc8d8c0247949af8ada16edfd5a09d83 create mode 100644 .idea/sonarlint/issuestore/a/b/abb09e32881b72fada81cb579bc21349aed41f30 create mode 100644 .idea/sonarlint/issuestore/b/1/b1aa1bd943e55310ba228c419a6ce4b0548063e6 create mode 100644 .idea/sonarlint/issuestore/b/5/b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e create mode 100644 .idea/sonarlint/issuestore/b/e/be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 create mode 100644 .idea/sonarlint/issuestore/b/e/bec9864770ca9242f966d45788d8ddc34a9af0d9 create mode 100644 .idea/sonarlint/issuestore/c/1/c129e2d645ebbb59c3555a710c6acbda7ed8c870 create mode 100644 .idea/sonarlint/issuestore/c/d/cd68b8799a8b53f159baa056d0d376631c4cf68e create mode 100644 .idea/sonarlint/issuestore/c/f/cfe37c4dde3d6c0f6902b6867a14449b234af8c3 create mode 100644 .idea/sonarlint/issuestore/d/0/d04aeb7041bae9212b8c5335f9accabbf90966ea create mode 100644 .idea/sonarlint/issuestore/d/2/d2cd76e371a2393a2353862178ab83be5722e2fa create mode 100644 .idea/sonarlint/issuestore/d/3/d3d705d1d4cfdaf71d6afe067df995da814be59c create mode 100644 .idea/sonarlint/issuestore/d/6/d61ff4d8e5673eebce5fee9ecffec97ec94ad768 create mode 100644 .idea/sonarlint/issuestore/d/e/de3c505999c6726d5945dfdeccc2fa8b4d35ac93 create mode 100644 .idea/sonarlint/issuestore/d/f/df267c5ba3709e67f7dd156e18ac3d24613d767d create mode 100644 .idea/sonarlint/issuestore/e/d/ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 create mode 100644 .idea/sonarlint/issuestore/f/7/f77807875c7235e37ed946a3c0d88ffa578cdaf1 create mode 100644 .idea/sonarlint/issuestore/index.pb create mode 100644 .idea/sonarlint/securityhotspotstore/0/6/069ee105e414a9841cb8a605002bbf1cfaa00396 create mode 100644 .idea/sonarlint/securityhotspotstore/0/e/0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 create mode 100644 .idea/sonarlint/securityhotspotstore/1/0/10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb create mode 100644 .idea/sonarlint/securityhotspotstore/1/8/183ee57b6240ba64168e2521ae0f55603d787183 create mode 100644 .idea/sonarlint/securityhotspotstore/2/2/220aac31c25ac4b78869b9f8a1ff0613639ad131 create mode 100644 .idea/sonarlint/securityhotspotstore/2/b/2b60335603bdec95f59dffa7532676caa0919860 create mode 100644 .idea/sonarlint/securityhotspotstore/3/5/352b43909b0318cb27d832f4b5ed70481d2f0cca create mode 100644 .idea/sonarlint/securityhotspotstore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec create mode 100644 .idea/sonarlint/securityhotspotstore/4/7/47a8c4a055a3583d897a139c83b071fb9b86e075 create mode 100644 .idea/sonarlint/securityhotspotstore/5/a/5a76d94fe5bcfc7909894e2775644fb8312cf857 create mode 100644 .idea/sonarlint/securityhotspotstore/5/d/5d99a517d91f07bde864acfa844d8d0fb31fca79 create mode 100644 .idea/sonarlint/securityhotspotstore/6/2/6228df69a30f95c16312fab771959b29badf8fb7 create mode 100644 .idea/sonarlint/securityhotspotstore/6/f/6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 create mode 100644 .idea/sonarlint/securityhotspotstore/7/5/758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e create mode 100644 .idea/sonarlint/securityhotspotstore/7/8/78f761914534f9f21bd9140a5969897ab2e3386c create mode 100644 .idea/sonarlint/securityhotspotstore/7/9/79af7c45105e7092ac09211db8604c01db27ba37 create mode 100644 .idea/sonarlint/securityhotspotstore/7/d/7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d create mode 100644 .idea/sonarlint/securityhotspotstore/8/9/893092d474271d335e0ebfc18609c779120a4d47 create mode 100644 .idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d create mode 100644 .idea/sonarlint/securityhotspotstore/9/3/931c5350684925280f17b8ede6696f82e325a460 create mode 100644 .idea/sonarlint/securityhotspotstore/a/0/a0e6cf65f1b976041121e442b099676208dfdd86 create mode 100644 .idea/sonarlint/securityhotspotstore/a/3/a3336814fc8d8c0247949af8ada16edfd5a09d83 create mode 100644 .idea/sonarlint/securityhotspotstore/a/b/abb09e32881b72fada81cb579bc21349aed41f30 create mode 100644 .idea/sonarlint/securityhotspotstore/b/1/b1aa1bd943e55310ba228c419a6ce4b0548063e6 create mode 100644 .idea/sonarlint/securityhotspotstore/b/5/b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e create mode 100644 .idea/sonarlint/securityhotspotstore/b/e/be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 create mode 100644 .idea/sonarlint/securityhotspotstore/b/e/bec9864770ca9242f966d45788d8ddc34a9af0d9 create mode 100644 .idea/sonarlint/securityhotspotstore/c/1/c129e2d645ebbb59c3555a710c6acbda7ed8c870 create mode 100644 .idea/sonarlint/securityhotspotstore/c/d/cd68b8799a8b53f159baa056d0d376631c4cf68e create mode 100644 .idea/sonarlint/securityhotspotstore/c/f/cfe37c4dde3d6c0f6902b6867a14449b234af8c3 create mode 100644 .idea/sonarlint/securityhotspotstore/d/0/d04aeb7041bae9212b8c5335f9accabbf90966ea create mode 100644 .idea/sonarlint/securityhotspotstore/d/2/d2cd76e371a2393a2353862178ab83be5722e2fa create mode 100644 .idea/sonarlint/securityhotspotstore/d/3/d3d705d1d4cfdaf71d6afe067df995da814be59c create mode 100644 .idea/sonarlint/securityhotspotstore/d/6/d61ff4d8e5673eebce5fee9ecffec97ec94ad768 create mode 100644 .idea/sonarlint/securityhotspotstore/d/e/de3c505999c6726d5945dfdeccc2fa8b4d35ac93 create mode 100644 .idea/sonarlint/securityhotspotstore/d/f/df267c5ba3709e67f7dd156e18ac3d24613d767d create mode 100644 .idea/sonarlint/securityhotspotstore/e/d/ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 create mode 100644 .idea/sonarlint/securityhotspotstore/f/7/f77807875c7235e37ed946a3c0d88ffa578cdaf1 create mode 100644 .idea/sonarlint/securityhotspotstore/index.pb diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..13566b8 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/sonarlint/issuestore/0/6/069ee105e414a9841cb8a605002bbf1cfaa00396 b/.idea/sonarlint/issuestore/0/6/069ee105e414a9841cb8a605002bbf1cfaa00396 new file mode 100644 index 0000000..a98cadc --- /dev/null +++ b/.idea/sonarlint/issuestore/0/6/069ee105e414a9841cb8a605002bbf1cfaa00396 @@ -0,0 +1,2 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(Ϫ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/0/e/0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 b/.idea/sonarlint/issuestore/0/e/0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 new file mode 100644 index 0000000..e80e513 --- /dev/null +++ b/.idea/sonarlint/issuestore/0/e/0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 @@ -0,0 +1,8 @@ + +g java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ě +g java:S117"QRename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ű +3 +java:S1643"Use a StringBuilder instead.(熒 +8 +java:S1643"Use a StringBuilder instead.( +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/1/0/10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb b/.idea/sonarlint/issuestore/1/0/10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb new file mode 100644 index 0000000..64c8275 --- /dev/null +++ b/.idea/sonarlint/issuestore/1/0/10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb @@ -0,0 +1,4 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(̋ +[ +java:S1659,"@Declare "toX" and all following declarations on a separate line.(д \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/1/8/183ee57b6240ba64168e2521ae0f55603d787183 b/.idea/sonarlint/issuestore/1/8/183ee57b6240ba64168e2521ae0f55603d787183 new file mode 100644 index 0000000..30817dd --- /dev/null +++ b/.idea/sonarlint/issuestore/1/8/183ee57b6240ba64168e2521ae0f55603d787183 @@ -0,0 +1,48 @@ + +C +java:S1604S"(Make this anonymous inner class a lambda(ڬ +d +java:S1104""NMake vg a static final constant or non-public and provide accessors if needed.( +u +java:S1104S"ZMake selectListener a static final constant or non-public and provide accessors if needed.(ڬ +> +java:S1444""(Make this "public static vg" field final( +O +java:S1444S"4Make this "public static selectListener" field final(ڬ +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟ +Q +java:S2696b"6Make the enclosing method "static" or remove this set.(í +Q +java:S2696k"6Make the enclosing method "static" or remove this set.(í +Q +java:S2696s"6Make the enclosing method "static" or remove this set.(í +i +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.( +E +java:S3010")Remove this assignment of "activePlayer".( += +java:S3010"&Remove this assignment of "mecPoints".( += +java:S3010"&Remove this assignment of "sabPoints".( +@ +java:S3010")Remove this assignment of "successLabel".( +6 +java:S3010"Remove this assignment of "vg".( +d java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ƞ +R +java:S2696"6Make the enclosing method "static" or remove this set.(£ +L +java:S2696"6Make the enclosing method "static" or remove this set.( +R +java:S2696"6Make the enclosing method "static" or remove this set.(í +L +java:S2696"6Make the enclosing method "static" or remove this set.( +R +java:S2696"6Make the enclosing method "static" or remove this set.(í +R +java:S2696"6Make the enclosing method "static" or remove this set.(í +R +java:S2696"6Make the enclosing method "static" or remove this set.(í +L +java:S2696"6Make the enclosing method "static" or remove this set.( +d java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/2/2/220aac31c25ac4b78869b9f8a1ff0613639ad131 b/.idea/sonarlint/issuestore/2/2/220aac31c25ac4b78869b9f8a1ff0613639ad131 new file mode 100644 index 0000000..1e1a9f5 --- /dev/null +++ b/.idea/sonarlint/issuestore/2/2/220aac31c25ac4b78869b9f8a1ff0613639ad131 @@ -0,0 +1,2 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/2/b/2b60335603bdec95f59dffa7532676caa0919860 b/.idea/sonarlint/issuestore/2/b/2b60335603bdec95f59dffa7532676caa0919860 new file mode 100644 index 0000000..9ee062e --- /dev/null +++ b/.idea/sonarlint/issuestore/2/b/2b60335603bdec95f59dffa7532676caa0919860 @@ -0,0 +1,67 @@ + + +java:S1104c"QMake pipes a static final constant or non-public and provide accessors if needed.(ݰJ$d2724f33-148a-4688-94bf-0227af42f491 + +java:S1104g"QMake pumps a static final constant or non-public and provide accessors if needed.(橵J$dd93ef59-959c-4abf-9ca4-8f1ec09268dd + +java:S1104m"TMake gameMode a static final constant or non-public and provide accessors if needed.(8J$45c3c2e7-2581-401b-8af8-8104721eb3d8 + +java:S1104o"QMake moves a static final constant or non-public and provide accessors if needed.(¡J$c3ae03a7-17c4-4c2e-b7be-78aec335ef96 + +java:S1104p"VMake lastResult a static final constant or non-public and provide accessors if needed.(J$6a496529-ce4e-4fc1-b855-6c3c07c9463d +g +java:S1444c"+Make this "public static pipes" field final(ݰJ$1b289efd-8827-488c-9e43-30145d828c68 +l +java:S1444g"+Make this "public static pumps" field final(橵J$008650a7-d25c-444d-8af2-103e8e6a20c1 +i +java:S1444m".Make this "public static gameMode" field final(8J$4b07c242-979a-4fc1-8fc1-f1312c03154f +g +java:S1444o"+Make this "public static moves" field final(¡J$a784e847-1a9f-4146-b7f9-4dcde0150c62 +q +java:S1444p"0Make this "public static lastResult" field final(J$dded0159-d70b-417e-80da-9306f6504671 +f +java:S2629"$Invoke method(s) only conditionally.(ԡΗJ$40c14ca6-c2ec-4da8-9463-f13026b9a387 +f +java:S2629"$Invoke method(s) only conditionally.(J$5a53b414-9d2b-4ad1-b6d5-b30a73e7e5cd + +java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ѐJ$861af3be-1f26-4768-9816-fea6859c71df + +java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(̋J$0f712ca6-cb5e-4d10-9c71-af4d2e06ac00 + +java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ȨJ$1034e109-68b3-4125-b208-75aa680adcbd + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟J$0e40370e-fe8b-4062-958a-51d17b70ec01 + +java:S1450J"WRemove the "filePath" field and declare it as a local variable in the relevant methods.(J$cadfce98-3ecb-4d4d-be4a-28e791b0b2fe +^ +java:S23861"Make this member "protected".(J$2bb238a3-a311-4ccc-999c-8b473a4c7286 +Y +java:S23866"Make this member "protected".(J$a78003a0-2739-4739-a5af-d6fa37f75359 +Y +java:S2386^"Make this member "protected".(J$aa405d63-cdc2-4612-a6e4-f0e8c8b6318d + java:S100z"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ׇJ$9410d07e-59bc-408c-a480-071d31686741 + java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(J$11f7668c-13ef-45a8-ae47-f903597a036a + java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(J$249a5241-d093-49f9-9db1-d96265793236 + +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 51 to the 15 allowed.(J$c977814c-57be-4efe-90f6-8c1e3628dca2 +h +java:S1075"&Remove this hard-coded path-delimiter.(濆J$4c0b9e83-b213-4f0b-bc96-9d54b3f18d20 + +java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(J$9eb1915c-b1d9-4888-86c9-fa8397e5e9cc +e java:S108")Either remove or fill this block of code.(J$6e4dc083-04c0-4bf2-9831-83ca6d3d11c7 +j java:S108")Either remove or fill this block of code.(J$14bd5955-1a94-46b6-921e-877374468af3 +i +java:S1125"'Remove the unnecessary boolean literal.(βJ$20c68f6e-4dfc-4118-aae8-7464a4bf2a16 + +java:S3457"KFormat specifiers or lambda should be used instead of string concatenation.(ѐJ$1d8470c4-26d8-4889-b570-07597ac7f1ad + +java:S3457"KFormat specifiers or lambda should be used instead of string concatenation.(̋J$fad2b2b1-6220-49f0-aa5d-6981b34543bc + +java:S3457"KFormat specifiers or lambda should be used instead of string concatenation.(ȨJ$9c165e3e-6111-43d3-9718-2d6eac915f6c +l +java:S1172"*Remove this unused method parameter "cmd".(ȼJ$aa9eb9f1-f7d4-4c60-9278-75be8081ebf7 +l +java:S1172"*Remove this unused method parameter "cmd".(J$06d8eab9-ba87-4d10-b603-c3db76e64359 +l +java:S1172"*Remove this unused method parameter "cmd".(J$cc6c7b3d-ecd0-41fe-8fd4-c477599a464f +g +java:S1172"*Remove this unused method parameter "cmd".(űJ$125a60b7-e26f-4b1e-99c3-51488a184c45 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/3/5/352b43909b0318cb27d832f4b5ed70481d2f0cca b/.idea/sonarlint/issuestore/3/5/352b43909b0318cb27d832f4b5ed70481d2f0cca new file mode 100644 index 0000000..5288211 --- /dev/null +++ b/.idea/sonarlint/issuestore/3/5/352b43909b0318cb27d832f4b5ed70481d2f0cca @@ -0,0 +1,2 @@ + +o java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec b/.idea/sonarlint/issuestore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/issuestore/4/7/47a8c4a055a3583d897a139c83b071fb9b86e075 b/.idea/sonarlint/issuestore/4/7/47a8c4a055a3583d897a139c83b071fb9b86e075 new file mode 100644 index 0000000..372d34a --- /dev/null +++ b/.idea/sonarlint/issuestore/4/7/47a8c4a055a3583d897a139c83b071fb9b86e075 @@ -0,0 +1,67 @@ + + +java:S1104c"QMake pipes a static final constant or non-public and provide accessors if needed.(ݰJ$2d21e2b5-662e-41fa-b61a-adb0f2e14ae1 + +java:S1104g"QMake pumps a static final constant or non-public and provide accessors if needed.(橵J$185d6dad-e691-49cf-be7e-995cf410f1b8 + +java:S1104m"TMake gameMode a static final constant or non-public and provide accessors if needed.(8J$b628fc1d-6a8d-4244-8c4c-977d9c137b66 + +java:S1104o"QMake moves a static final constant or non-public and provide accessors if needed.(¡J$521cdb6a-0c97-494c-b012-6dc1b69224c4 + +java:S1104p"VMake lastResult a static final constant or non-public and provide accessors if needed.(J$ecdb576d-82be-48da-9272-69968a73ee2f +g +java:S1444c"+Make this "public static pipes" field final(ݰJ$5d9c01bb-22fd-4f38-bf42-53f1f40a6f15 +l +java:S1444g"+Make this "public static pumps" field final(橵J$d63021d5-bab0-40e5-96bf-fac904a32b48 +i +java:S1444m".Make this "public static gameMode" field final(8J$e593c92f-dfa2-467d-bf8c-74e96cdb639b +g +java:S1444o"+Make this "public static moves" field final(¡J$0ec9c0d6-f311-4a3e-85dd-f1f2b8fccb26 +q +java:S1444p"0Make this "public static lastResult" field final(J$3b32a184-115c-44e0-84f1-abe3d1194a0d +f +java:S2629"$Invoke method(s) only conditionally.(ԡΗJ$f2db72df-2fcb-48b9-8b27-3b43b5086d85 +f +java:S2629"$Invoke method(s) only conditionally.(J$434c7eb7-22b7-4f98-839a-df1619df6a9f + +java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ѐJ$a78109cb-1c64-4331-a9b9-1ff3d999f548 + +java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(̋J$45cf2d22-2836-4dc6-98c6-466e79cd1964 + +java:S2629"\Invoke method(s) only conditionally. Use the built-in formatting to construct this argument.(ȨJ$859491fc-6dbe-4b2f-8788-407383eac292 + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟J$ded1c7e9-b1fc-4156-aa6e-f04fb06a9e71 + +java:S1450J"WRemove the "filePath" field and declare it as a local variable in the relevant methods.(J$2572df8a-0877-4e60-8bfd-13ff982ff1bc +^ +java:S23861"Make this member "protected".(J$23b22a86-be73-4b47-a8be-09cb61210dd6 +Y +java:S23866"Make this member "protected".(J$afc1c0d5-29d3-4366-9012-41d16701ee47 +Y +java:S2386^"Make this member "protected".(J$110adbd8-0b9c-4356-8560-893f4115857b + java:S100z"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ׇJ$21620331-7b54-49ef-a758-4ad36667323a + java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(J$d9e40045-5d61-4484-92be-178459fd4573 + java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(J$d3790e58-1c8e-4fc0-9314-b28cbf61513c + +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 51 to the 15 allowed.(J$b0f6f1b1-bbd3-463d-9c19-170179fa57eb +h +java:S1075"&Remove this hard-coded path-delimiter.(濆J$2b26950d-b1b3-4093-81a1-2998f9aa001b + +java:S1301"KReplace this "switch" statement by "if" statements to increase readability.(J$959c46bc-0d7e-4b06-b9ad-38fe7b3b769a +e java:S108")Either remove or fill this block of code.(J$fdd2fb86-b03d-4e6a-bde3-4613c9fc1823 +j java:S108")Either remove or fill this block of code.(J$2c9dd326-8303-46c8-94f3-557b51e18138 +i +java:S1125"'Remove the unnecessary boolean literal.(βJ$97743466-a53a-4998-83fc-ebe9d47e03d4 + +java:S3457"KFormat specifiers or lambda should be used instead of string concatenation.(ѐJ$f780570c-aece-4956-8f59-ac7955ea3742 + +java:S3457"KFormat specifiers or lambda should be used instead of string concatenation.(̋J$acb55039-4701-4f60-9978-4d4edcfa6ffc + +java:S3457"KFormat specifiers or lambda should be used instead of string concatenation.(ȨJ$97ad6c56-7283-46fe-8ebd-4fed23d3120a +l +java:S1172"*Remove this unused method parameter "cmd".(ȼJ$6472258f-1e0f-4128-80c6-dcb62de21db0 +l +java:S1172"*Remove this unused method parameter "cmd".(J$a9f1e0cf-e0eb-4a1c-bd76-d9c3ea278846 +l +java:S1172"*Remove this unused method parameter "cmd".(J$fd08865c-b943-479a-b858-7d1e2714f84c +g +java:S1172"*Remove this unused method parameter "cmd".(űJ$07ab8a5d-279d-42c3-bfba-4ddaa5aac905 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/5/a/5a76d94fe5bcfc7909894e2775644fb8312cf857 b/.idea/sonarlint/issuestore/5/a/5a76d94fe5bcfc7909894e2775644fb8312cf857 new file mode 100644 index 0000000..9218a52 --- /dev/null +++ b/.idea/sonarlint/issuestore/5/a/5a76d94fe5bcfc7909894e2775644fb8312cf857 @@ -0,0 +1,2 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(ȕǦ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/5/d/5d99a517d91f07bde864acfa844d8d0fb31fca79 b/.idea/sonarlint/issuestore/5/d/5d99a517d91f07bde864acfa844d8d0fb31fca79 new file mode 100644 index 0000000..4f0e752 --- /dev/null +++ b/.idea/sonarlint/issuestore/5/d/5d99a517d91f07bde864acfa844d8d0fb31fca79 @@ -0,0 +1,2 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(̋J$308eb91c-47f2-40e4-93c1-5664341c3bc2 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/6/2/6228df69a30f95c16312fab771959b29badf8fb7 b/.idea/sonarlint/issuestore/6/2/6228df69a30f95c16312fab771959b29badf8fb7 new file mode 100644 index 0000000..6200b7f --- /dev/null +++ b/.idea/sonarlint/issuestore/6/2/6228df69a30f95c16312fab771959b29badf8fb7 @@ -0,0 +1,4 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(J$947f0710-832e-43f2-98ea-179e48e76304 + +java:S4144"YUpdate this method so that its implementation is not identical to "getWater" on line 168.(J$9a26acad-d636-470a-b6c1-7ec93675cd0b \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/6/f/6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 b/.idea/sonarlint/issuestore/6/f/6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 new file mode 100644 index 0000000..174f2f0 --- /dev/null +++ b/.idea/sonarlint/issuestore/6/f/6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 @@ -0,0 +1,2 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(̋ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/7/5/758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e b/.idea/sonarlint/issuestore/7/5/758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e new file mode 100644 index 0000000..1e1a9f5 --- /dev/null +++ b/.idea/sonarlint/issuestore/7/5/758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e @@ -0,0 +1,2 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/7/8/78f761914534f9f21bd9140a5969897ab2e3386c b/.idea/sonarlint/issuestore/7/8/78f761914534f9f21bd9140a5969897ab2e3386c new file mode 100644 index 0000000..e7fc8d8 --- /dev/null +++ b/.idea/sonarlint/issuestore/7/8/78f761914534f9f21bd9140a5969897ab2e3386c @@ -0,0 +1,2 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(J$f8d4d55f-7217-4b48-8b8f-bcc22010316e \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/7/9/79af7c45105e7092ac09211db8604c01db27ba37 b/.idea/sonarlint/issuestore/7/9/79af7c45105e7092ac09211db8604c01db27ba37 new file mode 100644 index 0000000..809cf56 --- /dev/null +++ b/.idea/sonarlint/issuestore/7/9/79af7c45105e7092ac09211db8604c01db27ba37 @@ -0,0 +1,2 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(̋J$235d7b71-41bb-484c-aa3f-8312f59daf13 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/7/d/7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d b/.idea/sonarlint/issuestore/7/d/7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d new file mode 100644 index 0000000..da5b52e --- /dev/null +++ b/.idea/sonarlint/issuestore/7/d/7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d @@ -0,0 +1,2 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/8/9/893092d474271d335e0ebfc18609c779120a4d47 b/.idea/sonarlint/issuestore/8/9/893092d474271d335e0ebfc18609c779120a4d47 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d b/.idea/sonarlint/issuestore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/issuestore/9/3/931c5350684925280f17b8ede6696f82e325a460 b/.idea/sonarlint/issuestore/9/3/931c5350684925280f17b8ede6696f82e325a460 new file mode 100644 index 0000000..1e1a9f5 --- /dev/null +++ b/.idea/sonarlint/issuestore/9/3/931c5350684925280f17b8ede6696f82e325a460 @@ -0,0 +1,2 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/a/0/a0e6cf65f1b976041121e442b099676208dfdd86 b/.idea/sonarlint/issuestore/a/0/a0e6cf65f1b976041121e442b099676208dfdd86 new file mode 100644 index 0000000..dbb2749 --- /dev/null +++ b/.idea/sonarlint/issuestore/a/0/a0e6cf65f1b976041121e442b099676208dfdd86 @@ -0,0 +1,6 @@ + +2 +java:S1643F"Use a StringBuilder instead.(熒 +7 +java:S1643P"Use a StringBuilder instead.( +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/a/3/a3336814fc8d8c0247949af8ada16edfd5a09d83 b/.idea/sonarlint/issuestore/a/3/a3336814fc8d8c0247949af8ada16edfd5a09d83 new file mode 100644 index 0000000..5288211 --- /dev/null +++ b/.idea/sonarlint/issuestore/a/3/a3336814fc8d8c0247949af8ada16edfd5a09d83 @@ -0,0 +1,2 @@ + +o java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/a/b/abb09e32881b72fada81cb579bc21349aed41f30 b/.idea/sonarlint/issuestore/a/b/abb09e32881b72fada81cb579bc21349aed41f30 new file mode 100644 index 0000000..65f0523 --- /dev/null +++ b/.idea/sonarlint/issuestore/a/b/abb09e32881b72fada81cb579bc21349aed41f30 @@ -0,0 +1,2 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(J$39bef2b2-e627-417f-9031-9a544b29e4fa \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/b/1/b1aa1bd943e55310ba228c419a6ce4b0548063e6 b/.idea/sonarlint/issuestore/b/1/b1aa1bd943e55310ba228c419a6ce4b0548063e6 new file mode 100644 index 0000000..30817dd --- /dev/null +++ b/.idea/sonarlint/issuestore/b/1/b1aa1bd943e55310ba228c419a6ce4b0548063e6 @@ -0,0 +1,48 @@ + +C +java:S1604S"(Make this anonymous inner class a lambda(ڬ +d +java:S1104""NMake vg a static final constant or non-public and provide accessors if needed.( +u +java:S1104S"ZMake selectListener a static final constant or non-public and provide accessors if needed.(ڬ +> +java:S1444""(Make this "public static vg" field final( +O +java:S1444S"4Make this "public static selectListener" field final(ڬ +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟ +Q +java:S2696b"6Make the enclosing method "static" or remove this set.(í +Q +java:S2696k"6Make the enclosing method "static" or remove this set.(í +Q +java:S2696s"6Make the enclosing method "static" or remove this set.(í +i +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.( +E +java:S3010")Remove this assignment of "activePlayer".( += +java:S3010"&Remove this assignment of "mecPoints".( += +java:S3010"&Remove this assignment of "sabPoints".( +@ +java:S3010")Remove this assignment of "successLabel".( +6 +java:S3010"Remove this assignment of "vg".( +d java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Ƞ +R +java:S2696"6Make the enclosing method "static" or remove this set.(£ +L +java:S2696"6Make the enclosing method "static" or remove this set.( +R +java:S2696"6Make the enclosing method "static" or remove this set.(í +L +java:S2696"6Make the enclosing method "static" or remove this set.( +R +java:S2696"6Make the enclosing method "static" or remove this set.(í +R +java:S2696"6Make the enclosing method "static" or remove this set.(í +R +java:S2696"6Make the enclosing method "static" or remove this set.(í +L +java:S2696"6Make the enclosing method "static" or remove this set.( +d java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/b/5/b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e b/.idea/sonarlint/issuestore/b/5/b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e new file mode 100644 index 0000000..3042bb3 --- /dev/null +++ b/.idea/sonarlint/issuestore/b/5/b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e @@ -0,0 +1,6 @@ + +Y +java:S1643"Use a StringBuilder instead.(熒J$374fbc2c-6889-496a-aaf0-0fb444626d16 +X +java:S1643"Use a StringBuilder instead.(lJ$08bbff28-d4f1-44f5-8dbf-a1cd6dae936e + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(J$8112444f-4e08-4598-b2f2-03e9e2f23aa0 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/b/e/be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 b/.idea/sonarlint/issuestore/b/e/be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 new file mode 100644 index 0000000..5f8c230 --- /dev/null +++ b/.idea/sonarlint/issuestore/b/e/be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 @@ -0,0 +1,2 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(J$03517d3f-a980-48a4-abf9-524a6a499805 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/b/e/bec9864770ca9242f966d45788d8ddc34a9af0d9 b/.idea/sonarlint/issuestore/b/e/bec9864770ca9242f966d45788d8ddc34a9af0d9 new file mode 100644 index 0000000..5288211 --- /dev/null +++ b/.idea/sonarlint/issuestore/b/e/bec9864770ca9242f966d45788d8ddc34a9af0d9 @@ -0,0 +1,2 @@ + +o java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/c/1/c129e2d645ebbb59c3555a710c6acbda7ed8c870 b/.idea/sonarlint/issuestore/c/1/c129e2d645ebbb59c3555a710c6acbda7ed8c870 new file mode 100644 index 0000000..2b9e28a --- /dev/null +++ b/.idea/sonarlint/issuestore/c/1/c129e2d645ebbb59c3555a710c6acbda7ed8c870 @@ -0,0 +1,2 @@ + +{ java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(Ϫ81 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/c/d/cd68b8799a8b53f159baa056d0d376631c4cf68e b/.idea/sonarlint/issuestore/c/d/cd68b8799a8b53f159baa056d0d376631c4cf68e new file mode 100644 index 0000000..1e1a9f5 --- /dev/null +++ b/.idea/sonarlint/issuestore/c/d/cd68b8799a8b53f159baa056d0d376631c4cf68e @@ -0,0 +1,2 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟ \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/c/f/cfe37c4dde3d6c0f6902b6867a14449b234af8c3 b/.idea/sonarlint/issuestore/c/f/cfe37c4dde3d6c0f6902b6867a14449b234af8c3 new file mode 100644 index 0000000..f90a953 --- /dev/null +++ b/.idea/sonarlint/issuestore/c/f/cfe37c4dde3d6c0f6902b6867a14449b234af8c3 @@ -0,0 +1,6 @@ + +Y +java:S1643"Use a StringBuilder instead.(熒J$f16d855f-0e3d-4c00-b401-731199eeb762 +X +java:S1643"Use a StringBuilder instead.(lJ$7d2147ca-33a0-405d-9c75-877f39c8be81 + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(J$56550a6f-c989-457d-9094-c6518c2c43b5 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/d/0/d04aeb7041bae9212b8c5335f9accabbf90966ea b/.idea/sonarlint/issuestore/d/0/d04aeb7041bae9212b8c5335f9accabbf90966ea new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/issuestore/d/2/d2cd76e371a2393a2353862178ab83be5722e2fa b/.idea/sonarlint/issuestore/d/2/d2cd76e371a2393a2353862178ab83be5722e2fa new file mode 100644 index 0000000..4656916 --- /dev/null +++ b/.idea/sonarlint/issuestore/d/2/d2cd76e371a2393a2353862178ab83be5722e2fa @@ -0,0 +1,2 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(J$9341df6e-9817-406d-b241-24a9474f7a83 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/d/3/d3d705d1d4cfdaf71d6afe067df995da814be59c b/.idea/sonarlint/issuestore/d/3/d3d705d1d4cfdaf71d6afe067df995da814be59c new file mode 100644 index 0000000..d3cd872 --- /dev/null +++ b/.idea/sonarlint/issuestore/d/3/d3d705d1d4cfdaf71d6afe067df995da814be59c @@ -0,0 +1,45 @@ + + +java:S1104\"QMake pipes a static final constant or non-public and provide accessors if needed.(ݰ8ْȕ1J$df39d551-021b-43da-afaa-225c85c6e54a + +java:S1104`"QMake pumps a static final constant or non-public and provide accessors if needed.(橵8ْȕ1J$dd241379-a2f3-42f4-b1e7-6b6dba8c37ee + +java:S1104f"TMake gameMode a static final constant or non-public and provide accessors if needed.(88ڒȕ1J$f5292ee6-d3d8-4286-9288-3450c7c9c61d + +java:S1104h"QMake moves a static final constant or non-public and provide accessors if needed.(¡8ڒȕ1J$2d211d90-1681-45f9-b3fc-e2bc0d90ba4b + +java:S1104i"VMake lastResult a static final constant or non-public and provide accessors if needed.(8ڒȕ1J$d005561a-92fa-4379-9c30-ca16881f29a3 +n +java:S1444\"+Make this "public static pipes" field final(ݰ8ےȕ1J$2d22150a-13d8-4b6d-8546-4167981fd537 +s +java:S1444`"+Make this "public static pumps" field final(橵8ےȕ1J$31ef74c8-bc81-4d6d-82e5-1d28a8752c88 +p +java:S1444f".Make this "public static gameMode" field final(88ےȕ1J$82c51209-55bb-437c-8818-8e89675e371e +n +java:S1444h"+Make this "public static moves" field final(¡8ےȕ1J$f7ea622e-0d02-4974-9f3c-9a77c3a8519b +x +java:S1444i"0Make this "public static lastResult" field final(8ےȕ1J$7ee6dd06-4fcd-41a5-86b7-7a0fd38ee65d + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(؟8ȕ1J$f1bfc6cb-ddee-4dc4-a35b-1d8eb2073764 + +java:S1450C"WRemove the "filePath" field and declare it as a local variable in the relevant methods.(8ȕ1J$5e5b81c0-01be-4319-b548-c0dc8d09b9bb +e +java:S2386*"Make this member "protected".(8ȕ1J$7a1fdb8b-1fc5-44bc-9e2f-65bd33270336 +` +java:S2386/"Make this member "protected".(8ȕ1J$4dd85920-1464-444f-9d14-5baae5112c60 +` +java:S2386W"Make this member "protected".(8ȕ1J$63fd3f34-2cdc-4731-b1a7-1e5304aa5f02 + java:S100s"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(ׇ8ȕ1J$196b9249-9fb9-4a54-91ae-8b2f83b4b698 + java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8ȕ1J$e3dd4df9-d285-4441-971e-cdbb1319d802 + java:S100"NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(8ȕ1J$d89d14cc-ba03-4097-8bdd-d71e7c3e0dea + +java:S3776"RRefactor this method to reduce its Cognitive Complexity from 51 to the 15 allowed.(8ȕ1J$458f7c52-c993-420b-b123-0e51e356e070 +o +java:S1075"&Remove this hard-coded path-delimiter.(濆8ȕ1J$600355cb-185c-4c75-99e3-14b1706911d6 +s +java:S1172"*Remove this unused method parameter "cmd".(ȼ8ڕ1J$f0d2ce88-b581-48a0-990a-3f12fa82f57b +s +java:S1172"*Remove this unused method parameter "cmd".(8ڕ1J$a68e7b30-1973-4f9b-9b42-5922d8c3f2bc +s +java:S1172"*Remove this unused method parameter "cmd".(8ڕ1J$9d93d394-f599-4f90-8495-a7eed8a8f545 +n +java:S1172"*Remove this unused method parameter "cmd".(ű8ڕ1J$8dccf156-989b-493a-9c9e-dea2484097bd \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/d/6/d61ff4d8e5673eebce5fee9ecffec97ec94ad768 b/.idea/sonarlint/issuestore/d/6/d61ff4d8e5673eebce5fee9ecffec97ec94ad768 new file mode 100644 index 0000000..dd95715 --- /dev/null +++ b/.idea/sonarlint/issuestore/d/6/d61ff4d8e5673eebce5fee9ecffec97ec94ad768 @@ -0,0 +1,3 @@ + +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(̋ +c java:S100""NRename this method name to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(磛 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/d/e/de3c505999c6726d5945dfdeccc2fa8b4d35ac93 b/.idea/sonarlint/issuestore/d/e/de3c505999c6726d5945dfdeccc2fa8b4d35ac93 new file mode 100644 index 0000000..f69ba4a --- /dev/null +++ b/.idea/sonarlint/issuestore/d/e/de3c505999c6726d5945dfdeccc2fa8b4d35ac93 @@ -0,0 +1,2 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(̋J$3e5ac008-3e52-40c1-be45-14b764a0ed22 \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/d/f/df267c5ba3709e67f7dd156e18ac3d24613d767d b/.idea/sonarlint/issuestore/d/f/df267c5ba3709e67f7dd156e18ac3d24613d767d new file mode 100644 index 0000000..e8ea3a0 --- /dev/null +++ b/.idea/sonarlint/issuestore/d/f/df267c5ba3709e67f7dd156e18ac3d24613d767d @@ -0,0 +1,2 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(̋J$addee9fa-75f6-424b-8990-5e55b911f73c \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/e/d/ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 b/.idea/sonarlint/issuestore/e/d/ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 new file mode 100644 index 0000000..d7926ee --- /dev/null +++ b/.idea/sonarlint/issuestore/e/d/ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 @@ -0,0 +1,6 @@ + +2 +java:S1643e"Use a StringBuilder instead.(熒 +7 +java:S1643r"Use a StringBuilder instead.( +t java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.( \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/f/7/f77807875c7235e37ed946a3c0d88ffa578cdaf1 b/.idea/sonarlint/issuestore/f/7/f77807875c7235e37ed946a3c0d88ffa578cdaf1 new file mode 100644 index 0000000..fe36650 --- /dev/null +++ b/.idea/sonarlint/issuestore/f/7/f77807875c7235e37ed946a3c0d88ffa578cdaf1 @@ -0,0 +1,4 @@ + + java:S120"ZRename this package name to match the regular expression '^[a-z_]+(\.[a-z_][a-z0-9_]*)*$'.(J$d4c747e4-24fb-467c-a3a3-8c434de76dff + +java:S4144"YUpdate this method so that its implementation is not identical to "getWater" on line 168.(J$e6501619-7f3b-471c-aaaf-23bb27aa2b3a \ No newline at end of file diff --git a/.idea/sonarlint/issuestore/index.pb b/.idea/sonarlint/issuestore/index.pb new file mode 100644 index 0000000..4aae1d8 --- /dev/null +++ b/.idea/sonarlint/issuestore/index.pb @@ -0,0 +1,77 @@ + +9 + README.md,8\e\8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d += + src/palya.txt,8\9\893092d474271d335e0ebfc18609c779120a4d47 +z +JSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Controll/Menu.java,2\2\220aac31c25ac4b78869b9f8a1ff0613639ad131 + +QSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Interfaces/Steppable.java,b\e\be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Players/Saboteur.java,a\3\a3336814fc8d8c0247949af8ada16edfd5a09d83 +{ +KSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Players/Player.java,b\e\bec9864770ca9242f966d45788d8ddc34a9af0d9 +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/Drawable.java,d\6\d61ff4d8e5673eebce5fee9ecffec97ec94ad768 + +OSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/SpringDraw.java,7\9\79af7c45105e7092ac09211db8604c01db27ba37 +~ +NSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Controll/ViewGame.java,b\1\b1aa1bd943e55310ba228c419a6ce4b0548063e6 + +dSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/StringResource/StringResourceController.java,0\6\069ee105e414a9841cb8a605002bbf1cfaa00396 + +RSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Controll/WaterCounter.java,c\d\cd68b8799a8b53f159baa056d0d376631c4cf68e +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Players/Mechanic.java,d\2\d2cd76e371a2393a2353862178ab83be5722e2fa + +PSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Controll/Controller.java,4\7\47a8c4a055a3583d897a139c83b071fb9b86e075 + +XSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/ActiveFields/Cistern.java,e\d\ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/PumpDraw.java,5\d\5d99a517d91f07bde864acfa844d8d0fb31fca79 + +]Sivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/ActiveFields/ActiveFields.java,7\d\7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d + +WSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/ActiveFields/Spring.java,a\0\a0e6cf65f1b976041121e442b099676208dfdd86 +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/PipeDraw.java,1\0\10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb + +QSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/MechanicDraw.java,d\f\df267c5ba3709e67f7dd156e18ac3d24613d767d + +PSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/CisternDraw.java,6\f\6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 + +QSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/SaboteurDraw.java,d\e\de3c505999c6726d5945dfdeccc2fa8b4d35ac93 +x +HSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Enums/Fluid.java,5\a\5a76d94fe5bcfc7909894e2775644fb8312cf857 +q +ASivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/palya.txt,d\0\d04aeb7041bae9212b8c5335f9accabbf90966ea +y +ISivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/Field.java,f\7\f77807875c7235e37ed946a3c0d88ffa578cdaf1 + +USivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/ActiveFields/Pump.java,0\e\0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 +x +HSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/Pipe.java,c\f\cfe37c4dde3d6c0f6902b6867a14449b234af8c3 +z +JSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Controll/Menu.java,7\5\758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e +~ +NSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Controll/ViewGame.java,1\8\183ee57b6240ba64168e2521ae0f55603d787183 + +RSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Controll/WaterCounter.java,9\3\931c5350684925280f17b8ede6696f82e325a460 +7 +pom.xml,4\4\442292b8a7efeabbe4cc176709b833b1792140ec + +PSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Controll/Controller.java,2\b\2b60335603bdec95f59dffa7532676caa0919860 +} +MSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Players/Mechanic.java,a\b\abb09e32881b72fada81cb579bc21349aed41f30 + +QSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Interfaces/Steppable.java,7\8\78f761914534f9f21bd9140a5969897ab2e3386c +x +HSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Fields/Pipe.java,b\5\b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e +y +ISivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Fields/Field.java,6\2\6228df69a30f95c16312fab771959b29badf8fb7 +V +&src/main/java/Controll/Controller.java,d\3\d3d705d1d4cfdaf71d6afe067df995da814be59c +S +#src/main/java/Players/Mechanic.java,3\5\352b43909b0318cb27d832f4b5ed70481d2f0cca +j +:src/main/java/StringResource/StringResourceController.java,c\1\c129e2d645ebbb59c3555a710c6acbda7ed8c870 \ No newline at end of file diff --git a/.idea/sonarlint/securityhotspotstore/0/6/069ee105e414a9841cb8a605002bbf1cfaa00396 b/.idea/sonarlint/securityhotspotstore/0/6/069ee105e414a9841cb8a605002bbf1cfaa00396 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/0/e/0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 b/.idea/sonarlint/securityhotspotstore/0/e/0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/1/0/10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb b/.idea/sonarlint/securityhotspotstore/1/0/10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/1/8/183ee57b6240ba64168e2521ae0f55603d787183 b/.idea/sonarlint/securityhotspotstore/1/8/183ee57b6240ba64168e2521ae0f55603d787183 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/2/2/220aac31c25ac4b78869b9f8a1ff0613639ad131 b/.idea/sonarlint/securityhotspotstore/2/2/220aac31c25ac4b78869b9f8a1ff0613639ad131 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/2/b/2b60335603bdec95f59dffa7532676caa0919860 b/.idea/sonarlint/securityhotspotstore/2/b/2b60335603bdec95f59dffa7532676caa0919860 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/3/5/352b43909b0318cb27d832f4b5ed70481d2f0cca b/.idea/sonarlint/securityhotspotstore/3/5/352b43909b0318cb27d832f4b5ed70481d2f0cca new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec b/.idea/sonarlint/securityhotspotstore/4/4/442292b8a7efeabbe4cc176709b833b1792140ec new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/4/7/47a8c4a055a3583d897a139c83b071fb9b86e075 b/.idea/sonarlint/securityhotspotstore/4/7/47a8c4a055a3583d897a139c83b071fb9b86e075 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/5/a/5a76d94fe5bcfc7909894e2775644fb8312cf857 b/.idea/sonarlint/securityhotspotstore/5/a/5a76d94fe5bcfc7909894e2775644fb8312cf857 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/5/d/5d99a517d91f07bde864acfa844d8d0fb31fca79 b/.idea/sonarlint/securityhotspotstore/5/d/5d99a517d91f07bde864acfa844d8d0fb31fca79 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/6/2/6228df69a30f95c16312fab771959b29badf8fb7 b/.idea/sonarlint/securityhotspotstore/6/2/6228df69a30f95c16312fab771959b29badf8fb7 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/6/f/6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 b/.idea/sonarlint/securityhotspotstore/6/f/6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/7/5/758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e b/.idea/sonarlint/securityhotspotstore/7/5/758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/7/8/78f761914534f9f21bd9140a5969897ab2e3386c b/.idea/sonarlint/securityhotspotstore/7/8/78f761914534f9f21bd9140a5969897ab2e3386c new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/7/9/79af7c45105e7092ac09211db8604c01db27ba37 b/.idea/sonarlint/securityhotspotstore/7/9/79af7c45105e7092ac09211db8604c01db27ba37 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/7/d/7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d b/.idea/sonarlint/securityhotspotstore/7/d/7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/8/9/893092d474271d335e0ebfc18609c779120a4d47 b/.idea/sonarlint/securityhotspotstore/8/9/893092d474271d335e0ebfc18609c779120a4d47 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d b/.idea/sonarlint/securityhotspotstore/8/e/8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/9/3/931c5350684925280f17b8ede6696f82e325a460 b/.idea/sonarlint/securityhotspotstore/9/3/931c5350684925280f17b8ede6696f82e325a460 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/a/0/a0e6cf65f1b976041121e442b099676208dfdd86 b/.idea/sonarlint/securityhotspotstore/a/0/a0e6cf65f1b976041121e442b099676208dfdd86 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/a/3/a3336814fc8d8c0247949af8ada16edfd5a09d83 b/.idea/sonarlint/securityhotspotstore/a/3/a3336814fc8d8c0247949af8ada16edfd5a09d83 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/a/b/abb09e32881b72fada81cb579bc21349aed41f30 b/.idea/sonarlint/securityhotspotstore/a/b/abb09e32881b72fada81cb579bc21349aed41f30 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/b/1/b1aa1bd943e55310ba228c419a6ce4b0548063e6 b/.idea/sonarlint/securityhotspotstore/b/1/b1aa1bd943e55310ba228c419a6ce4b0548063e6 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/b/5/b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e b/.idea/sonarlint/securityhotspotstore/b/5/b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/b/e/be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 b/.idea/sonarlint/securityhotspotstore/b/e/be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/b/e/bec9864770ca9242f966d45788d8ddc34a9af0d9 b/.idea/sonarlint/securityhotspotstore/b/e/bec9864770ca9242f966d45788d8ddc34a9af0d9 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/c/1/c129e2d645ebbb59c3555a710c6acbda7ed8c870 b/.idea/sonarlint/securityhotspotstore/c/1/c129e2d645ebbb59c3555a710c6acbda7ed8c870 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/c/d/cd68b8799a8b53f159baa056d0d376631c4cf68e b/.idea/sonarlint/securityhotspotstore/c/d/cd68b8799a8b53f159baa056d0d376631c4cf68e new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/c/f/cfe37c4dde3d6c0f6902b6867a14449b234af8c3 b/.idea/sonarlint/securityhotspotstore/c/f/cfe37c4dde3d6c0f6902b6867a14449b234af8c3 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/d/0/d04aeb7041bae9212b8c5335f9accabbf90966ea b/.idea/sonarlint/securityhotspotstore/d/0/d04aeb7041bae9212b8c5335f9accabbf90966ea new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/d/2/d2cd76e371a2393a2353862178ab83be5722e2fa b/.idea/sonarlint/securityhotspotstore/d/2/d2cd76e371a2393a2353862178ab83be5722e2fa new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/d/3/d3d705d1d4cfdaf71d6afe067df995da814be59c b/.idea/sonarlint/securityhotspotstore/d/3/d3d705d1d4cfdaf71d6afe067df995da814be59c new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/d/6/d61ff4d8e5673eebce5fee9ecffec97ec94ad768 b/.idea/sonarlint/securityhotspotstore/d/6/d61ff4d8e5673eebce5fee9ecffec97ec94ad768 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/d/e/de3c505999c6726d5945dfdeccc2fa8b4d35ac93 b/.idea/sonarlint/securityhotspotstore/d/e/de3c505999c6726d5945dfdeccc2fa8b4d35ac93 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/d/f/df267c5ba3709e67f7dd156e18ac3d24613d767d b/.idea/sonarlint/securityhotspotstore/d/f/df267c5ba3709e67f7dd156e18ac3d24613d767d new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/e/d/ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 b/.idea/sonarlint/securityhotspotstore/e/d/ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/f/7/f77807875c7235e37ed946a3c0d88ffa578cdaf1 b/.idea/sonarlint/securityhotspotstore/f/7/f77807875c7235e37ed946a3c0d88ffa578cdaf1 new file mode 100644 index 0000000..e69de29 diff --git a/.idea/sonarlint/securityhotspotstore/index.pb b/.idea/sonarlint/securityhotspotstore/index.pb new file mode 100644 index 0000000..4aae1d8 --- /dev/null +++ b/.idea/sonarlint/securityhotspotstore/index.pb @@ -0,0 +1,77 @@ + +9 + README.md,8\e\8ec9a00bfd09b3190ac6b22251dbb1aa95a0579d += + src/palya.txt,8\9\893092d474271d335e0ebfc18609c779120a4d47 +z +JSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Controll/Menu.java,2\2\220aac31c25ac4b78869b9f8a1ff0613639ad131 + +QSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Interfaces/Steppable.java,b\e\be68dbc93bd5c46e8b2824bfda261fe8fb77e7a4 +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Players/Saboteur.java,a\3\a3336814fc8d8c0247949af8ada16edfd5a09d83 +{ +KSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Players/Player.java,b\e\bec9864770ca9242f966d45788d8ddc34a9af0d9 +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/Drawable.java,d\6\d61ff4d8e5673eebce5fee9ecffec97ec94ad768 + +OSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/SpringDraw.java,7\9\79af7c45105e7092ac09211db8604c01db27ba37 +~ +NSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Controll/ViewGame.java,b\1\b1aa1bd943e55310ba228c419a6ce4b0548063e6 + +dSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/StringResource/StringResourceController.java,0\6\069ee105e414a9841cb8a605002bbf1cfaa00396 + +RSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Controll/WaterCounter.java,c\d\cd68b8799a8b53f159baa056d0d376631c4cf68e +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Players/Mechanic.java,d\2\d2cd76e371a2393a2353862178ab83be5722e2fa + +PSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Controll/Controller.java,4\7\47a8c4a055a3583d897a139c83b071fb9b86e075 + +XSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/ActiveFields/Cistern.java,e\d\ed83e4f07c2e82ccf0dd533e7beef6dbc937e2e5 +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/PumpDraw.java,5\d\5d99a517d91f07bde864acfa844d8d0fb31fca79 + +]Sivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/ActiveFields/ActiveFields.java,7\d\7d8a2d4b7ac70a7960d0b3aafce1146380a47e3d + +WSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/ActiveFields/Spring.java,a\0\a0e6cf65f1b976041121e442b099676208dfdd86 +} +MSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/PipeDraw.java,1\0\10a6cfd1b43d872a083c49d04c1c91b7ee1e01eb + +QSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/MechanicDraw.java,d\f\df267c5ba3709e67f7dd156e18ac3d24613d767d + +PSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/CisternDraw.java,6\f\6fb596c5f649cb5acc3060fb5f7fd8e22ff621d3 + +QSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Drawing/SaboteurDraw.java,d\e\de3c505999c6726d5945dfdeccc2fa8b4d35ac93 +x +HSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Enums/Fluid.java,5\a\5a76d94fe5bcfc7909894e2775644fb8312cf857 +q +ASivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/palya.txt,d\0\d04aeb7041bae9212b8c5335f9accabbf90966ea +y +ISivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/Field.java,f\7\f77807875c7235e37ed946a3c0d88ffa578cdaf1 + +USivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/ActiveFields/Pump.java,0\e\0ef8f42ed7c3e3ec6a69518a393b91d21eb72d14 +x +HSivatagi_vizhalozatok_uzemeltetese_a_gyakorlatban_2/src/Fields/Pipe.java,c\f\cfe37c4dde3d6c0f6902b6867a14449b234af8c3 +z +JSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Controll/Menu.java,7\5\758f1cf23b3cb69bc5891ebf2a7bbc764e7adf5e +~ +NSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Controll/ViewGame.java,1\8\183ee57b6240ba64168e2521ae0f55603d787183 + +RSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Controll/WaterCounter.java,9\3\931c5350684925280f17b8ede6696f82e325a460 +7 +pom.xml,4\4\442292b8a7efeabbe4cc176709b833b1792140ec + +PSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Controll/Controller.java,2\b\2b60335603bdec95f59dffa7532676caa0919860 +} +MSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Players/Mechanic.java,a\b\abb09e32881b72fada81cb579bc21349aed41f30 + +QSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Interfaces/Steppable.java,7\8\78f761914534f9f21bd9140a5969897ab2e3386c +x +HSivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Fields/Pipe.java,b\5\b5021a2be81d5ae1c7c6fb5d1d081a352ee1715e +y +ISivatagi vizhalozatok uzemeltetese a gyakorlatban 2/src/Fields/Field.java,6\2\6228df69a30f95c16312fab771959b29badf8fb7 +V +&src/main/java/Controll/Controller.java,d\3\d3d705d1d4cfdaf71d6afe067df995da814be59c +S +#src/main/java/Players/Mechanic.java,3\5\352b43909b0318cb27d832f4b5ed70481d2f0cca +j +:src/main/java/StringResource/StringResourceController.java,c\1\c129e2d645ebbb59c3555a710c6acbda7ed8c870 \ No newline at end of file diff --git a/src/main/java/Controll/Controller.java b/src/main/java/Controll/Controller.java index be7ecc5..2975a96 100644 --- a/src/main/java/Controll/Controller.java +++ b/src/main/java/Controll/Controller.java @@ -241,7 +241,7 @@ public static void load(String cmd){ fileName = tmp[tmp.length-1]; while (scanner.hasNextLine()){ commandList.add(scanner.nextLine()); - logger.log(Level.INFO, commandList.get(commandList.size()-1)); + logger.log(Level.INFO, ()-> commandList.get(commandList.size()-1)); } if (test) { commandList.add("save " + filePath.replace(".in", ".out")); @@ -267,7 +267,7 @@ public static void loadFileFromSrcToReader(String fileNameToOpen) { } } } catch (IOException e) { - e.printStackTrace(); + logger.log(Level.WARNING, StringResourceController.FILE_NOT_FOUND); } } @@ -281,13 +281,21 @@ public static void pump(String[] cmd){ commands[i-3] = cmd[i].split(":"); } - for(int i=0; i "Test name: " + fileName.replace(".out", "")); if (result.size() != expected.size()) { logger.log(Level.INFO, "Test failed. The 2 files do not have the same amount of lines."); return; @@ -840,7 +879,8 @@ private static int getErros(ArrayList result, ArrayList expected if (!result.isEmpty() && !expected.isEmpty()) { for (int i = 0; i < expected.size(); i++) { if (!result.get(i).equals(expected.get(i))) { - logger.log(Level.INFO, "Error in line " + (i+1) + ".\nExpected: " + expected.get(i) + ", but got: " + result.get(i)); + int finalI = i; + logger.log(Level.INFO, () -> "Error in line " + (finalI +1) + ".\nExpected: " + expected.get(finalI) + ", but got: " + result.get(finalI)); errors++; } } @@ -866,7 +906,7 @@ public static void testAll(String[] cmd) { * */ public static void list(){ for (Object obj : objectNames.values()) { - logger.log(Level.INFO, objectReverseNames.get(obj) + " "); + logger.log(Level.INFO, () -> objectReverseNames.get(obj) + " "); } logger.log(Level.INFO, ""); } /** @@ -901,8 +941,7 @@ public static void endturn(String[] cmd){ waterCounter.count(); //léptetés for (Object obj : objectNames.values()) { - if(obj instanceof Steppable) { - Steppable value = (Steppable)obj; + if(obj instanceof Steppable value) { value.step(); } } diff --git a/src/main/java/StringResource/StringResourceController.java b/src/main/java/StringResource/StringResourceController.java index b417d44..e8414b0 100644 --- a/src/main/java/StringResource/StringResourceController.java +++ b/src/main/java/StringResource/StringResourceController.java @@ -9,5 +9,5 @@ private StringResourceController(){} public static final String GOOD_ACTION = "Sikeres művelet"; public static final String WATER = "water"; public static final String RANDOM_ON = "A véletlen események be lettek kapcsolva."; - + public static final String INVALID_ACTION = "A műveletet nem lehet végrehajtani"; } \ No newline at end of file