Skip to content

Commit

Permalink
Fix test and solve code analysis warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jandro996 committed Jul 5, 2024
1 parent 8049726 commit 03d5b95
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package datadog.trace.agent.tooling.iast.stratum;

/**
* The fileInfo describes the translated-source file names
* <a href="https://jakarta.ee/specifications/debugging/2.0/jdsol-spec-2.0#filesection">...</a>
* The fileInfo describes the translated-source file names <a
* href="https://jakarta.ee/specifications/debugging/2.0/jdsol-spec-2.0#filesection">...</a>
*/
public class FileInfo {
private int fileId = -1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
*
* <p>InputStartLine : OutputStartLine are optional.
*
* <p><a href="https://jakarta.ee/specifications/debugging/2.0/jdsol-spec-2.0#stratumsection">...</a>
* <p><a
* href="https://jakarta.ee/specifications/debugging/2.0/jdsol-spec-2.0#stratumsection">...</a>
*/
public class LineInfo {
private int fileId;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package datadog.trace.agent.tooling.iast.stratum;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

public class SourceMap {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ public interface Stratum {
*/
Pair<Integer, Integer> getInputLine(final int outputLineNumber);

/**
* Returns the source file for the given file id.
*/
/** Returns the source file for the given file id. */
String getSourceFile(final int fileId);
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import datadog.trace.api.Pair;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import org.slf4j.Logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
import org.slf4j.LoggerFactory;

/**
* Manages SMAP information for classes
* <a href="https://jakarta.ee/specifications/debugging/2.0/jdsol-spec-2.0#stratumsection">...</a>
* Manages SMAP information for classes <a
* href="https://jakarta.ee/specifications/debugging/2.0/jdsol-spec-2.0#stratumsection">...</a>
*/
public class StratumManagerImpl {

Expand Down

0 comments on commit 03d5b95

Please sign in to comment.