From b804064cb2270be4db434f759ab550f7b295e1d1 Mon Sep 17 00:00:00 2001 From: holomekc <30546982+holomekc@users.noreply.github.com> Date: Mon, 19 Feb 2024 08:27:32 +0100 Subject: [PATCH] fix: Line endings Some files still uses CRLF line endings replaced them with LF endings. One file might be related to a windows test. --- gradlew.bat | 178 +++++++++--------- images/folder.png | Bin 5361 -> 5360 bytes images/mappings-separated.png | Bin 57836 -> 57834 bytes images/mappings.png | Bin 66290 -> 66287 bytes images/state-machine.png | Bin 33816 -> 33815 bytes images/test-matches.png | Bin 10356 -> 10355 bytes images/test-no-match.png | Bin 12642 -> 12641 bytes images/test-response.png | Bin 44325 -> 44324 bytes images/test.png | Bin 14444 -> 14443 bytes perf-test/gradle/wrapper/gradle-wrapper.jar | Bin 54333 -> 54332 bytes perf-test/gradlew.bat | 168 ++++++++--------- .../WEB-INF/wiremock/__files/mytest.json | 4 +- .../wiremock/mappings/mytest-mapping.json | 28 +-- .../images/wiremock-concept-icon-01.png | Bin 10825 -> 10824 bytes .../swagger-ui-dist/favicon-16x16.png | Bin 665 -> 664 bytes .../swagger-ui-dist/favicon-32x32.png | Bin 628 -> 627 bytes .../remoteloader/__files/favicon3.png | Bin 3849 -> 3848 bytes webapp/wiremock/src/assets/img/favicon3.png | Bin 3849 -> 3848 bytes .../assets/img/wiremock-concept-icon-01.png | Bin 10825 -> 10824 bytes 19 files changed, 189 insertions(+), 189 deletions(-) diff --git a/gradlew.bat b/gradlew.bat index ac1b06f938..107acd32c4 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -1,89 +1,89 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto execute - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/images/folder.png b/images/folder.png index 137d0375bf1acb664741afe05e44278b2f97e15f..cf43ed6efbc4f233ee542fdc462833d6bccf3f7c 100644 GIT binary patch delta 13 UcmeyU`9YJVGr-S%BkLOx04TBrTmS$7 delta 14 VcmeyM`B9U#Gr-TCcO%Oi5dbWn1!({P diff --git a/images/mappings-separated.png b/images/mappings-separated.png index dc4556f81cd6e09beff133a650cd8f34407d0257..e0c2c40c849942cfbfdda9352e63687c585af818 100644 GIT binary patch delta 20 ccmaEJnEBOVW|qzXKlhESQLdX4TzlpK0AL;nssI20 delta 23 fcmaELnEB0NX4cLCKX=}ZEK#nEyqn`(d*%QDaxnt`(FFql delta 16 XcmbQe*gdg delta 14 VcmaD|@TP#ZGr-TCcOy%>1pqPL1&jay diff --git a/perf-test/gradle/wrapper/gradle-wrapper.jar b/perf-test/gradle/wrapper/gradle-wrapper.jar index c44b679acd3f794ddbb3aa5e919244914911014a..7d7e5b68e4ea4c067a781da5d9bbeff6412918e0 100644 GIT binary patch delta 14 WcmdnHf_cvh<_$uQn}r><_$uQjJ%tL9JM9`05-e@qyPW_ diff --git a/perf-test/gradlew.bat b/perf-test/gradlew.bat index e95643d6a2..f9553162f1 100644 --- a/perf-test/gradlew.bat +++ b/perf-test/gradlew.bat @@ -1,84 +1,84 @@ -@if "%DEBUG%" == "" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%" == "" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS= - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if "%ERRORLEVEL%" == "0" goto init - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto init - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:init -@rem Get command-line arguments, handling Windows variants - -if not "%OS%" == "Windows_NT" goto win9xME_args - -:win9xME_args -@rem Slurp the command line arguments. -set CMD_LINE_ARGS= -set _SKIP=2 - -:win9xME_args_slurp -if "x%~1" == "x" goto execute - -set CMD_LINE_ARGS=%* - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% - -:end -@rem End local scope for the variables with windows NT shell -if "%ERRORLEVEL%"=="0" goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 -exit /b 1 - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@if "%DEBUG%" == "" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%" == "" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS= + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if "%ERRORLEVEL%" == "0" goto init + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto init + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:init +@rem Get command-line arguments, handling Windows variants + +if not "%OS%" == "Windows_NT" goto win9xME_args + +:win9xME_args +@rem Slurp the command line arguments. +set CMD_LINE_ARGS= +set _SKIP=2 + +:win9xME_args_slurp +if "x%~1" == "x" goto execute + +set CMD_LINE_ARGS=%* + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% + +:end +@rem End local scope for the variables with windows NT shell +if "%ERRORLEVEL%"=="0" goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 +exit /b 1 + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/sample-war/src/main/webapp/WEB-INF/wiremock/__files/mytest.json b/sample-war/src/main/webapp/WEB-INF/wiremock/__files/mytest.json index 993a37d26c..df7939c226 100644 --- a/sample-war/src/main/webapp/WEB-INF/wiremock/__files/mytest.json +++ b/sample-war/src/main/webapp/WEB-INF/wiremock/__files/mytest.json @@ -1,3 +1,3 @@ -{ - "working": "YES" +{ + "working": "YES" } \ No newline at end of file diff --git a/sample-war/src/main/webapp/WEB-INF/wiremock/mappings/mytest-mapping.json b/sample-war/src/main/webapp/WEB-INF/wiremock/mappings/mytest-mapping.json index 06f70a2c99..f4a728ee8d 100644 --- a/sample-war/src/main/webapp/WEB-INF/wiremock/mappings/mytest-mapping.json +++ b/sample-war/src/main/webapp/WEB-INF/wiremock/mappings/mytest-mapping.json @@ -1,14 +1,14 @@ -{ - "request": { - "method": "GET", - "urlPattern": "/api/mytest" - }, - "response": { - "status": 200, - "bodyFileName": "mytest.json", - "headers": { - "Content-Type": "application/json", - "Cache-Control": "max-age=86400" - } - } -} +{ + "request": { + "method": "GET", + "urlPattern": "/api/mytest" + }, + "response": { + "status": 200, + "bodyFileName": "mytest.json", + "headers": { + "Content-Type": "application/json", + "Cache-Control": "max-age=86400" + } + } +} diff --git a/src/main/resources/assets/recorder/images/wiremock-concept-icon-01.png b/src/main/resources/assets/recorder/images/wiremock-concept-icon-01.png index 48f15896739e44893982c44f634642c69239ef58..1edbab600344889e89b31a345ffb41341312c074 100644 GIT binary patch delta 13 UcmX>Zaw3GKGr-S%Bdd!R04Hh$&;S4c delta 14 VcmX>Rax#RqGr-TCcO#37762<;1l<4t diff --git a/src/main/resources/assets/swagger-ui/swagger-ui-dist/favicon-16x16.png b/src/main/resources/assets/swagger-ui/swagger-ui-dist/favicon-16x16.png index 8b194e617af1c135e6b37939591d24ac3a5efa18..1e3ef3fb58287583fa2af70fd6059fbab0219ca1 100644 GIT binary patch delta 13 UcmbQqI)jy^Gr-S%BkL3<034VD`Tzg` delta 14 VcmbQiI+K;PGr-TCcO%ObCIBCd1P1^B diff --git a/src/main/resources/assets/swagger-ui/swagger-ui-dist/favicon-32x32.png b/src/main/resources/assets/swagger-ui/swagger-ui-dist/favicon-32x32.png index 249737fe44558e679f0b67134e274461d988fa98..fc391b82c73c438a309ab0687d564b156921d561 100644 GIT binary patch delta 13 Ucmeyu@|lIDGr-S%BWper03^T!i2wiq delta 14 Vcmey&@`Z)9Gr-TCcOy$a696b^1eO2* diff --git a/src/test/resources/remoteloader/__files/favicon3.png b/src/test/resources/remoteloader/__files/favicon3.png index 31827d7c800848203b03561ba2d710606b6a0321..3f692ee2cb3bb4723878e00c1e4e38aa103a5d41 100644 GIT binary patch delta 13 UcmeB_>yTsV4DfT`$jZVG030g=i2wiq delta 14 VcmeB>>y%^d4DfU3-N?ei4*(xA1C{^) diff --git a/webapp/wiremock/src/assets/img/favicon3.png b/webapp/wiremock/src/assets/img/favicon3.png index 31827d7c800848203b03561ba2d710606b6a0321..3f692ee2cb3bb4723878e00c1e4e38aa103a5d41 100644 GIT binary patch delta 13 UcmeB_>yTsV4DfT`$jZVG030g=i2wiq delta 14 VcmeB>>y%^d4DfU3-N?ei4*(xA1C{^) diff --git a/webapp/wiremock/src/assets/img/wiremock-concept-icon-01.png b/webapp/wiremock/src/assets/img/wiremock-concept-icon-01.png index 48f15896739e44893982c44f634642c69239ef58..1edbab600344889e89b31a345ffb41341312c074 100644 GIT binary patch delta 13 UcmX>Zaw3GKGr-S%Bdd!R04Hh$&;S4c delta 14 VcmX>Rax#RqGr-TCcO#37762<;1l<4t