File tree 2 files changed +3
-3
lines changed
src/Security/CWE/CWE-1104
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ class DeclaredRepository extends PomElement {
380
380
* Gets the url for this repository. If the `url` tag is present, this will
381
381
* be the string contents of that tag.
382
382
*/
383
- string getUrl ( ) { result = this .getAChild ( "url" ) .( PomElement ) .getValue ( ) }
383
+ string getRepositoryUrl ( ) { result = this .getAChild ( "url" ) .( PomElement ) .getValue ( ) }
384
384
}
385
385
386
386
/**
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ import java
14
14
import semmle.code.xml.MavenPom
15
15
16
16
predicate isBintrayRepositoryUsage ( DeclaredRepository repository ) {
17
- repository .getUrl ( ) .matches ( "%.bintray.com%" )
17
+ repository .getRepositoryUrl ( ) .matches ( "%.bintray.com%" )
18
18
}
19
19
20
20
from DeclaredRepository repository
21
21
where isBintrayRepositoryUsage ( repository )
22
22
select repository ,
23
- "Downloading or uploading artifacts to deprecated repository " + repository .getUrl ( )
23
+ "Downloading or uploading artifacts to deprecated repository " + repository .getRepositoryUrl ( )
You can’t perform that action at this time.
0 commit comments