Skip to content

Commit bd211e5

Browse files
author
Calvin A. Allen
authored
Change the name of this method so it doesn't overlap the other one (#20)
* Change the name of this method so it doesn't overlap the other one * Don't use 'current' for path
1 parent 5101f16 commit bd211e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ tasks.register('downloadNewRelicAgent', DefaultTask) {
135135
include("**/newrelic-v*.jar")
136136
})
137137

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

141141
new URL(fileUrl).withInputStream { inputStream ->

src/main/java/org/springframework/samples/petclinic/vet/VetController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ private Page<Vet> findPaginated(int page) {
9292
}
9393

9494
@GetMapping("/vets/{lastName}")
95-
public @ResponseBody Vets showResourcesVetList(@PathVariable(name = "lastName") String lastName) {
95+
public @ResponseBody Vets showResourcesVetListByLastName(@PathVariable(name = "lastName") String lastName) {
9696
Vets vets = new Vets();
9797
Collection<Vet> vetList = this.vetRepository.findByLastName(lastName);
9898
for (Vet vet : vetList) {

0 commit comments

Comments
 (0)