Explore

Filters (0) Clear filters
Languages
Level
Tags

51-75 of 371

Convert LocalDate getTime to java.time Equivalent

Convert LocalDate getTime to java.time Equivalent

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Convert LocalDateTime getTimeInMillis to Instant toEpochMilli

Convert LocalDateTime getTimeInMillis to Instant toEpochMilli

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Convert LocalDateTime getTime to java.time Equivalent

Convert LocalDateTime getTime to java.time Equivalent

  • warning
  • java
  • java.time
  • java.util.Calendar
  • quality
Convert Return type to java.time.DateTimeFormatter

Convert Return type to java.time.DateTimeFormatter

  • warning
  • java
  • kotlin
  • framework specific
  • java.time
  • Joda-Time
  • quality
Convert toTimeZone to TimeZone.getTimeZone(ZoneId)

Convert toTimeZone to TimeZone.getTimeZone(ZoneId)

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality
Crypto: Signature: Non Standard Hashing Algorithm

This hashing algorithm is not recommended for cryptographic use

  • warning
  • java
  • security
  • basic protection set
Data Protection - Cryptography: Avoid cryptographic weakness: Use appropriate secret key generation algorithm: Hmac family

Could lead to brute forcing or other cryptographic weakness

  • warning
  • java
  • security
  • basic protection set
Data Protection - Cryptography: Avoid cryptographic weakness: Use strong symmetric cryptographic algorithm (Untrusted)

Alowing untrusted input to determine the encryption algorithm could lead to cryptographic weakness.

  • warning
  • java
  • security
  • basic protection set
DateTimeFormatterBuilder Joda-Time method is obsolete in java.time

DateTimeFormatterBuilder Joda-Time method is obsolete in java.time

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality
DateTimeFormatterBuilder Joda-Time toParser/toPrinter is obsolete in java.time

DateTimeFormatterBuilder Joda-Time toParser/toPrinter is obsolete in java.time

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality
DateTime toString() format has changed from Joda-Time to java.time

DateTime toString() format has changed from Joda-Time to java.time

  • warning
  • java
  • java.time
  • framework specific
  • Joda-Time
  • quality
Do not compare classes/types by their name

Comparing the class names is less robust than comparing the actual classes

  • warning
  • java
  • Java basic
  • SEI CERT
  • quality
  • security
Do not compare classes/types by their name (literal)

Comparing the class names is less robust than comparing the actual classes

  • warning
  • java
  • Java basic
  • SEI CERT
  • quality
  • security
Do not compare classes/types by their name (literal inverted)

Comparing the class names is less robust than comparing the actual classes

  • warning
  • java
  • Java basic
  • SEI CERT
  • quality
  • security
Do not expose internal array

Do not expose an internal array as it is mutable

  • warning
  • java
  • security
  • Java basic
  • quality
EnvironmentTestUtils is deprecated

EnvironmentTestUtils is deprecated

  • warning
  • java
  • Spring Boot
  • Spring
Exception: Created but not thrown

Exceptions should be thrown, not just created

  • warning
  • java
  • Java basic
  • quality
FEST Assertion method removed in AssertJ

FEST Assertion method removed in AssertJ

  • warning
  • java
  • AssertJ
  • framework specific
Guice Injected Field Not Public

If the Injected field is not public then the code might not be wired up.

  • warning
  • java
  • Guice
  • dependency injection
  • framework specific
  • quality
Hardcoded Credentials: AWS Key

AWS credentials should not be hardcoded.

  • warning
  • java
  • security
  • framework specific
  • AWS
Hibernate: Missing transport-level security: No SSL for database connection

Use transport level security to connect to the database

  • warning
  • xml
  • database
  • security
  • Hibernate
  • framework specific
  • OWASP Top 10
  • TLS
Incorrect use of Objects.equals

Comparing a non-unboxable object and a primitive will always return false

  • warning
  • java
  • Java basic
  • quality
Inefficient use of String.indexOf

Inefficient use of String.indexOf

  • warning
  • java
  • Java basic
  • quality
Info Leakage: Throwable.printStacktrace leaks valuable program structure information

Printing a stack trace gives valuable information about software internals, including library/framework names and versions, to an attacker

  • warning
  • java
  • security
  • framework specific
  • logging
  • Logger
Information Exposure: Avoid DeviceEncryptedStorage for Sensitive Information

Using DeviceEncryptedStorage for Sensitive information is insecure

  • warning
  • java
  • security
  • framework specific
  • mobile
  • Android