Skip to content

Commit 27fa2f3

Browse files
committed
Remove @timed annotation
1 parent 4290711 commit 27fa2f3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/docs/asciidoc/modules/ROOT/pages/chapter-1.adoc

-3
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,6 @@ From there, it was just a matter of calculating the beginning and end of the cur
11291129
* and a count of points in body.
11301130
*/
11311131
@GetMapping("/points-this-week")
1132-
@Timed
11331132
public ResponseEntity<PointsPerWeek> getPointsThisWeek(@RequestParam(value = "tz", required = false) String timezone) {
11341133
// Get current date (with timezone if passed in)
11351134
LocalDate now = LocalDate.now();
@@ -1292,7 +1291,6 @@ I created a new method in `PreferencesResource.java` to return the user's prefer
12921291
* @return the preferences or default (weeklyGoal: 10) if none exist.
12931292
*/
12941293
@GetMapping("/my-preferences")
1295-
@Timed
12961294
public ResponseEntity<Preferences> getUserPreferences() {
12971295
String username = SecurityUtils.getCurrentUserLogin().get();
12981296
log.debug("REST request to get Preferences : {}", username);
@@ -1490,7 +1488,6 @@ Next, I created a new method in `BloodPressureResource.java` that calculated the
14901488
* and with body the {@link BloodPressureByPeriod}.
14911489
*/
14921490
@RequestMapping(value = "/bp-by-days/{days}")
1493-
@Timed
14941491
public ResponseEntity<BloodPressureByPeriod> getByDays(@PathVariable int days) {
14951492
ZonedDateTime rightNow = ZonedDateTime.now(ZoneOffset.UTC);
14961493
ZonedDateTime daysAgo = rightNow.minusDays(days);

0 commit comments

Comments
 (0)