• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mybatis / jpetstore-6 / 2385

25 Jul 2026 02:40AM UTC coverage: 83.278% (+11.3%) from 72.006%
2385

Pull #1076

github

hazendaz
Set logging back to info
Pull Request #1076: Migrate JPetstore to Jakarta EE

47 of 98 branches covered (47.96%)

107 of 197 new or added lines in 5 files covered. (54.31%)

498 of 598 relevant lines covered (83.28%)

0.83 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/org/mybatis/jpetstore/web/controllers/RootController.java
1
/*
2
 *    Copyright 2010-2026 the original author or authors.
3
 *
4
 *    Licensed under the Apache License, Version 2.0 (the "License");
5
 *    you may not use this file except in compliance with the License.
6
 *    You may obtain a copy of the License at
7
 *
8
 *       https://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *    Unless required by applicable law or agreed to in writing, software
11
 *    distributed under the License is distributed on an "AS IS" BASIS,
12
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *    See the License for the specific language governing permissions and
14
 *    limitations under the License.
15
 */
16
package org.mybatis.jpetstore.web.controllers;
17

18
import org.springframework.stereotype.Controller;
19
import org.springframework.web.bind.annotation.GetMapping;
20

21
@Controller
NEW
22
public class RootController {
×
23

24
  @GetMapping("/")
25
  public String redirectToHome() {
26
    // Forward or redirect to whatever your application's actual starting page/mapping is
NEW
27
    return "redirect:/index.html";
×
28
  }
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc