Skip to content

Commit

Permalink
Change the name of this method so it doesn't overlap the other one (#20)
Browse files Browse the repository at this point in the history
* Change the name of this method so it doesn't overlap the other one

* Don't use 'current' for path
  • Loading branch information
CalvinAllen authored Nov 21, 2024
1 parent 5101f16 commit bd211e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ tasks.register('downloadNewRelicAgent', DefaultTask) {
include("**/newrelic-v*.jar")
})

def fileUrl = "https://download.newrelic.com/newrelic/java-agent/newrelic-agent/current/newrelic-java-${newrelic_version}.zip"
def fileUrl = "https://download.newrelic.com/newrelic/java-agent/newrelic-agent/${newrelic_version}/newrelic-java-${newrelic_version}.zip"
def destinationFile = file("$rootDir/newrelic/newrelic.zip")

new URL(fileUrl).withInputStream { inputStream ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private Page<Vet> findPaginated(int page) {
}

@GetMapping("/vets/{lastName}")
public @ResponseBody Vets showResourcesVetList(@PathVariable(name = "lastName") String lastName) {
public @ResponseBody Vets showResourcesVetListByLastName(@PathVariable(name = "lastName") String lastName) {
Vets vets = new Vets();
Collection<Vet> vetList = this.vetRepository.findByLastName(lastName);
for (Vet vet : vetList) {
Expand Down

0 comments on commit bd211e5

Please sign in to comment.