Filter by:
File Violation Severity
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'invocation' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'invocation' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'invocation' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'invocation' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'expectedBody' is not assigned and could be declared final
Warning
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'role' is not assigned and could be declared final
Warning
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'iam_request_headers' is not assigned and could be declared final
Warning
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'iam_request_body' is not assigned and could be declared final
Warning
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'iam_request_url' is not assigned and could be declared final
Warning
tvaultapi/src/main/java/com/...t/api/model/AWSIAMLogin.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'iam_http_request_method' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'expectedBody' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'status' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'success' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...vice/AWSAuthServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'isAdmin' is not assigned and could be declared final
Warning
87
            response.setResponse(expectedBody);
88
        }
89
        return response;
90
    }
91
 
92
    UserDetails getMockUser(boolean isAdmin) {
93
        String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
94
        UserDetails userDetails = new UserDetails();
95
        userDetails.setUsername("normaluser");
96
        userDetails.setAdmin(isAdmin);
97
        userDetails.setClientToken(token);
tvaultapi/src/main/java/com/...t/api/model/AWSAuthType.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'auth_type' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'status' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'success' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'isAdmin' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'invocation' is not assigned and could be declared final
Warning
tvaultapi/src/test/java/com/...ervice/SafesServiceTest.java MethodArgumentCouldBeFinal   (kritika/PMD Java)
Parameter 'invocation' is not assigned and could be declared final
Warning