NASA-AMMOS / NASA-AMMOS/DCS

CodeQL: Make final fields static in Crypto Service

Open
#50 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
5
Forks
5
Avg merge
6h 43m
Merged PRs (30d)
5

Description

Maintainability issue flagge dby CodeQL.

Make final field static.
kmc-crypto-service/.../jpl/ammos/kmc/crypto/service/DecryptService.java
kmc-crypto-service/.../jpl/ammos/kmc/crypto/service/EncryptService.java
kmc-crypto-service/.../jpl/ammos/kmc/crypto/service/IcvCreateService.java
kmc-crypto-service/.../jpl/ammos/kmc/crypto/service/IcvVerifyService.java

This block of commented-out lines of code should be removed.
kmc-crypto-service/.../jpl/ammos/kmc/crypto/model/DecryptServiceResponse.java
kmc-crypto-service/.../jpl/ammos/kmc/crypto/model/IcvCreateServiceResponse.java

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the CodeQL findings in DecryptService.java, EncryptService.java, IcvCreateService.java, and IcvVerifyService.java, then inspect the commented-out blocks in DecryptServiceResponse.java and IcvCreateServiceResponse.java. Confirm each listed final field and commented block, make the requested maintainability cleanup, and run the project's Java build or tests to verify completion.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, security
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.