Explore

Filters (0) Clear filters
Languages
Level
Tags

251-275 of 579

Migrate newInstance Calendar to java.time with ZoneId

Migrate newInstance Calendar to java.time with ZoneId

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Migrate return type to java.time

Migrate return type to java.time

  • warning
  • java
  • kotlin
  • java.time
  • java.util.Calendar
  • quality
Migrate return type to java.time

Migrate return type to java.time

  • warning
  • java
  • kotlin
  • java.time
  • java.util.Date
  • quality
Migrate SimpleDateFormat to java.time DateTimeFormatter

Migrate SimpleDateFormat to java.time DateTimeFormatter

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Missing annotation in controller class

This class is missing a @Controller or @RestController annotation

  • error
  • java
  • Spring
  • framework specific
  • web
  • Spring Web
  • quality
Missing annotation in update query

Queries performing write operations should have the @Modifying annotation.

  • error
  • java
  • Spring
  • framework specific
  • Spring Data
  • quality
MongoDB: _id NoSQL Injection

Do not use string concatenation in where filters

  • error
  • java
  • security
  • NoSQL
  • framework specific
  • MongoDB
  • injection
  • OWASP Top 10
Non-annotated controller public method

Public methods within a controller class should be treated as request handlers, therefore should be annotated as such. If you really believe this method should not be exposed as a Rest endpoint, please consider extracting it into an external Component class and call it from inside this controller.

  • warning
  • java
  • Spring
  • framework specific
  • web
  • Spring Web
  • quality
Not releasing AmazonDynamoDbClient

Call the shutdown() method to release the AmazonDynamoDbClient

  • error
  • java
  • framework specific
  • AWS
  • quality
Not releasing DynamoDbClient

Call the close() method to release the DynamoDbClient

  • error
  • java
  • framework specific
  • AWS
  • quality
Portability Flaw: Avoid locale dependent comparisons: equals after case conversion

This comparison is sensitive to the system's locale. Ignore the case or add a locale.

  • warning
  • java
  • security
  • Java basic
  • quality
  • SEI CERT
Prevent CRLF injection in SLF4J

Encode untrustated data to prevent the log files from CRLF injections

  • marked_information
  • java
  • security
  • SLF4J
  • framework specific
  • logging
  • injection
Prevent CRLF injection in SLF4J using the Logstash Logback Encoder

Encode untrustated data to prevent the log files from CRLF injections

  • marked_information
  • java
  • security
  • SLF4J
  • framework specific
  • logging
  • injection
Protect against Session Fixation attacks

Spring Security's default protection against Session Fixation is disabled, which means an attacker could hijack a valid user session

  • warning
  • java
  • Spring
  • security
  • framework specific
  • Spring Security
  • web
Regex Injection

Use Pattern#quote to include untrusted input in regexes.

  • error
  • java
  • security
  • SEI CERT
  • Java basic
  • injection
  • OWASP Top 10
Remove obsolete toDateTime method call

Remove obsolete toDateTime method call

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality
Remove obsolete withOffsetParsed() Method Call

Remove obsolete withOffsetParsed() Method Call

  • warning
  • java
  • framework specific
  • java.time
  • Joda-Time
  • quality
Replace new Date(Long) with java.time

Replace new Date(Long) with java.time

  • warning
  • java
  • java.time
  • java.util.Date
  • quality
Replace new Date() with java.time

Replace new Date() with java.time

  • warning
  • java
  • java.time
  • java.util.Date
  • quality
RestTemplateBuilder#requestFactory(ClientHttpRequestFactory) is deprecated

RestTemplateBuilder#requestFactory(ClientHttpRequestFactory) is deprecated

  • error
  • java
  • Spring Boot
  • Spring
Rewrite appendClockhourOfDay to appendValue

Rewrite appendClockhourOfDay to appendValue

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality
Rewrite appendClockhourOfHalfday to appendValue

Rewrite appendClockhourOfHalfday to appendValue

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality
Rewrite appendDayOfMonth to appendValue

Rewrite appendDayOfMonth to appendValue

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality
Rewrite appendDayOfWeek to appendValue

Rewrite appendDayOfWeek to appendValue

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality