Skip to content

Instantly share code, notes, and snippets.

@kevchentw
Created November 17, 2021 23:14
Show Gist options
  • Select an option

  • Save kevchentw/fa417efed365c593955366dab4f45a31 to your computer and use it in GitHub Desktop.

Select an option

Save kevchentw/fa417efed365c593955366dab4f45a31 to your computer and use it in GitHub Desktop.
M B CN: org.openapitools.client.RFC3339DateFormat defines clone() but doesn't implement Cloneable At RFC3339DateFormat.java:[line 53]
M D RCN: Redundant nullcheck of childCdm, which is known to be non-null in org.openapitools.client.JSON$ClassDiscriminatorMapping.getClassForElement(JsonNode, Set) Redundant null check at JSON.java:[line 148]
M V EI2: org.openapitools.client.model.FormatTest.setByte(byte[]) may expose internal representation by storing an externally mutable object into FormatTest._byte At FormatTest.java:[line 314]
M V EI2: org.openapitools.client.model.FormatTest._byte(byte[]) may expose internal representation by storing an externally mutable object into FormatTest._byte At FormatTest.java:[line 293]
M V EI: org.openapitools.client.model.FormatTest.getByte() may expose internal representation by returning FormatTest._byte At FormatTest.java:[line 307]
M B Se: org.gradle.cli.CommandLineParser$CaseInsensitiveStringComparator implements Comparator but not Serializable At CommandLineParser.java:[lines 505-511]
M D RV: Return value of org.openapitools.client.ApiResponse.getData() ignored, but method has no side effect At FakeApi.java:[line 934]
M B NP: org.openapitools.client.model.AdditionalPropertiesBoolean.getAdditionalProperty(String) has Boolean return type and returns explicit null At AdditionalPropertiesBoolean.java:[line 105]
M B Se: org.gradle.cli.CommandLineParser$OptionStringComparator implements Comparator but not Serializable At CommandLineParser.java:[lines 515-525]
M B RV: Exceptional return value of java.io.File.mkdirs() ignored in org.gradle.wrapper.Download.download(URI, File) At Download.java:[line 79]
M B Se: org.gradle.cli.CommandLineParser$OptionComparator implements Comparator but not Serializable At CommandLineParser.java:[lines 497-501]
H D RCN: Redundant nullcheck of obj, which is known to be non-null in org.openapitools.client.ApiClient.serialize(Object, Map, String, boolean) Redundant null check at ApiClient.java:[line 910]
M D DLS: Dead store to contentType in org.openapitools.client.ApiClient.deserialize(Response, GenericType) At ApiClient.java:[line 984]
H I Dm: Found reliance on default encoding in org.gradle.wrapper.PathAssembler.getHash(String): String.getBytes() At PathAssembler.java:[line 65]
M B RV: Exceptional return value of java.io.File.delete() ignored in org.gradle.wrapper.Install.verifyDownloadChecksum(String, File, String) At Install.java:[line 153]
M B RV: Exceptional return value of java.io.File.mkdirs() ignored in org.gradle.wrapper.Install.unzip(File, File) At Install.java:[line 246]
H I Dm: Found reliance on default encoding in org.gradle.wrapper.Install.setExecutablePermissions(File): new java.io.InputStreamReader(InputStream) At Install.java:[line 195]
M B RV: Exceptional return value of java.io.File.delete() ignored in org.gradle.wrapper.Install$1.call() At Install.java:[line 58]
M B RV: Exceptional return value of java.io.File.renameTo(File) ignored in org.gradle.wrapper.Install$1.call() At Install.java:[line 69]
M B RV: Exceptional return value of java.io.File.createNewFile() ignored in org.gradle.wrapper.Install$1.call() At Install.java:[line 91]
M D DLS: Dead store to response in org.openapitools.client.api.AnotherFakeApiTest.call123testSpecialTagsTest() At AnotherFakeApiTest.java:[line 46]
M D DLS: Dead store to response in org.openapitools.client.api.StoreApiTest.getInventoryTest() At StoreApiTest.java:[line 60]
M D DLS: Dead store to response in org.openapitools.client.api.StoreApiTest.getOrderByIdTest() At StoreApiTest.java:[line 75]
M D DLS: Dead store to response in org.openapitools.client.api.StoreApiTest.placeOrderTest() At StoreApiTest.java:[line 90]
M D RCN: Redundant nullcheck of requiredFile, which is known to be non-null in org.openapitools.client.api.PetApi.uploadFileWithRequiredFileWithHttpInfo(Long, File, String) Redundant null check at PetApi.java:[line 683]
M D RCN: Redundant nullcheck of requiredBooleanGroup, which is known to be non-null in org.openapitools.client.api.FakeApi.testGroupParametersWithHttpInfo(Integer, Boolean, Long, Integer, Boolean, Long) Redundant null check at FakeApi.java:[line 826]
M D RCN: Redundant nullcheck of number, which is known to be non-null in org.openapitools.client.api.FakeApi.testEndpointParametersWithHttpInfo(BigDecimal, Double, String, byte[], Integer, Integer, Long, Float, String, File, LocalDate, OffsetDateTime, String, String) Redundant null check at FakeApi.java:[line 667]
M D RCN: Redundant nullcheck of patternWithoutDelimiter, which is known to be non-null in org.openapitools.client.api.FakeApi.testEndpointParametersWithHttpInfo(BigDecimal, Double, String, byte[], Integer, Integer, Long, Float, String, File, LocalDate, OffsetDateTime, String, String) Redundant null check at FakeApi.java:[line 675]
M D RCN: Redundant nullcheck of _byte, which is known to be non-null in org.openapitools.client.api.FakeApi.testEndpointParametersWithHttpInfo(BigDecimal, Double, String, byte[], Integer, Integer, Long, Float, String, File, LocalDate, OffsetDateTime, String, String) Redundant null check at FakeApi.java:[line 677]
M D RCN: Redundant nullcheck of _double, which is known to be non-null in org.openapitools.client.api.FakeApi.testEndpointParametersWithHttpInfo(BigDecimal, Double, String, byte[], Integer, Integer, Long, Float, String, File, LocalDate, OffsetDateTime, String, String) Redundant null check at FakeApi.java:[line 671]
M D RCN: Redundant nullcheck of param2, which is known to be non-null in org.openapitools.client.api.FakeApi.testJsonFormDataWithHttpInfo(String, String) Redundant null check at FakeApi.java:[line 1084]
M D RCN: Redundant nullcheck of param, which is known to be non-null in org.openapitools.client.api.FakeApi.testJsonFormDataWithHttpInfo(String, String) Redundant null check at FakeApi.java:[line 1082]
M D DLS: Dead store to response in org.openapitools.client.api.UserApiTest.getUserByNameTest() At UserApiTest.java:[line 106]
M D DLS: Dead store to response in org.openapitools.client.api.UserApiTest.loginUserTest() At UserApiTest.java:[line 122]
M C NP: Possible null pointer dereference of auth in org.openapitools.client.ApiClientTest.testSetUsernameAndPassword() Dereferenced at ApiClientTest.java:[line 134]
M C NP: Possible null pointer dereference of auth in org.openapitools.client.ApiClientTest.testSetApiKeyAndPrefix() Dereferenced at ApiClientTest.java:[line 156]
M P Bx: org.openapitools.client.ApiClientTest.testParameterToPairsWhenNameIsInvalid() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) instead At ApiClientTest.java:[line 171]
M P WMI: org.openapitools.client.ApiClientTest.testParameterToPairsWhenValueIsCollection() makes inefficient use of keySet iterator instead of entrySet iterator At ApiClientTest.java:[line 242]
M D FE: Test for floating point equality in org.openapitools.client.model.EnumValueTest.testEnumTest() At EnumValueTest.java:[line 41]
M D DLS: Dead store to response in org.openapitools.client.api.FakeApiTest.fakeOuterBooleanSerializeTest() At FakeApiTest.java:[line 69]
M D DLS: Dead store to response in org.openapitools.client.api.FakeApiTest.fakeOuterCompositeSerializeTest() At FakeApiTest.java:[line 84]
M D DLS: Dead store to response in org.openapitools.client.api.FakeApiTest.fakeOuterNumberSerializeTest() At FakeApiTest.java:[line 99]
M D DLS: Dead store to response in org.openapitools.client.api.FakeApiTest.fakeOuterStringSerializeTest() At FakeApiTest.java:[line 114]
M D DLS: Dead store to response in org.openapitools.client.api.FakeApiTest.testClientModelTest() At FakeApiTest.java:[line 160]
M D DLS: Dead store to response in org.openapitools.client.api.FakeClassnameTags123ApiTest.testClassnameTest() At FakeClassnameTags123ApiTest.java:[line 46]
H D DLS: Dead store to sb in org.openapitools.client.JSONTest.testRFC3339DateFormatDate() At JSONTest.java:[line 59]
M C UwF: Unwritten field: org.openapitools.client.model.HasOnlyReadOnly.bar At HasOnlyReadOnly.java:[line 57]
M C UwF: Unwritten field: org.openapitools.client.model.HasOnlyReadOnly.foo At HasOnlyReadOnly.java:[line 73]
M C UwF: Unwritten field: org.openapitools.client.model.Name.snakeCase At Name.java:[line 92]
M C UwF: Unwritten field: org.openapitools.client.model.ReadOnlyFirst.bar At ReadOnlyFirst.java:[line 57]
M P SS: Unread field: org.openapitools.client.api.PetApiTest.petId; should this field be static? At PetApiTest.java:[line 38]
M D UrF: Unread public/protected field: org.openapitools.client.ServerVariable.description At ServerVariable.java:[line 19]
M D UrF: Unread public/protected field: org.openapitools.client.ServerConfiguration.description At ServerConfiguration.java:[line 20]
M M IS: Inconsistent synchronization of org.openapitools.client.auth.OAuth.username; locked 66% of time Unsynchronized access at OAuth.java:[line 174]
M M IS: Inconsistent synchronization of org.openapitools.client.auth.OAuth.service; locked 71% of time Unsynchronized access at OAuth.java:[line 165]
M M IS: Inconsistent synchronization of org.openapitools.client.auth.OAuth.password; locked 66% of time Unsynchronized access at OAuth.java:[line 175]
M M IS: Inconsistent synchronization of org.openapitools.client.auth.OAuth.scope; locked 66% of time Unsynchronized access at OAuth.java:[line 155]
M M IS: Inconsistent synchronization of org.openapitools.client.auth.OAuth.code; locked 75% of time Unsynchronized access at OAuth.java:[line 181]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment