Skip to content

Commit e89891f

Browse files
committed
Address review comments
1 parent 2a1c11b commit e89891f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/src/semmle/code/xml/MavenPom.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ class Pom extends ProtoPom {
167167
Pom getParentPom() { result = getParentElement().getPom() }
168168

169169
/**
170-
* Gets the version specified for dependency _dep_ in a `dependencyManagement`
170+
* Gets the version specified for dependency `dep` in a `dependencyManagement`
171171
* section in this POM or one of its ancestors, or an empty string if no version
172172
* is specified.
173173
*/
@@ -343,7 +343,7 @@ class DependencyManagement extends PomElement {
343343

344344
/**
345345
* Gets a dependency declared in this `dependencyManagement` element that has
346-
* the same (short) coordinates as _dep_.
346+
* the same (short) coordinates as `dep`.
347347
*/
348348
Dependency getDependency(Dependency dep) {
349349
result = getADependency() and
@@ -383,7 +383,7 @@ class MavenRepo extends Folder {
383383
/**
384384
* Gets any jar artifacts in this repository that match the POM project definition. This is an
385385
* over approximation. For soft qualifiers (e.g. 1.0) precise matches are returned in preference
386-
* to artifact only matches. For hard qualifiers (e.g. [1.0]) only precise matches are returned.
386+
* to artifact-only matches. For hard qualifiers (e.g. [1.0]) only precise matches are returned.
387387
* For all other qualifiers, all matches are returned regardless of version.
388388
*/
389389
MavenRepoJar getAnArtifact(ProtoPom pom) {

0 commit comments

Comments
 (0)