Skip to content

Commit 28cdfad

Browse files
committed
Updated Javadoc
1 parent 28bc63d commit 28cdfad

File tree

3 files changed

+24
-3
lines changed

3 files changed

+24
-3
lines changed

access-control-spring-security/src/main/java/de/dominikschadow/javasecurity/controller/IndexController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @author Dominik Schadow
2828
*/
2929
@Controller
30-
@RequestMapping(value = "/")
30+
@RequestMapping("/")
3131
public class IndexController {
3232
@GetMapping
3333
public String index() {

crypto-spring/src/main/java/de/dominikschadow/javasecurity/controller/IndexController.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@
2525
import org.springframework.web.bind.annotation.RequestMapping;
2626

2727
/**
28+
* Index controller for all home page related operations.
29+
*
2830
* @author Dominik Schadow
2931
*/
3032
@Controller
31-
@RequestMapping()
33+
@RequestMapping("/")
3234
public class IndexController {
3335
private final GreetingRepository greetingRepository;
3436

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,29 @@
1+
/*
2+
* Copyright (C) 2017 Dominik Schadow, dominikschadow@gmail.com
3+
*
4+
* This file is part of the Java Security project.
5+
*
6+
* Licensed under the Apache License, Version 2.0 (the "License");
7+
* you may not use this file except in compliance with the License.
8+
* You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing, software
13+
* distributed under the License is distributed on an "AS IS" BASIS,
14+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
* See the License for the specific language governing permissions and
16+
* limitations under the License.
17+
*/
118
package de.dominikschadow.javasecurity.domain;
219

320
import org.springframework.data.jpa.repository.JpaRepository;
421
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
522

623
/**
7-
* Created by dos on 12.03.17.
24+
* Greeting repository to provide default queries for the database table.
25+
*
26+
* @author Dominik Schadow
827
*/
928
public interface GreetingRepository extends JpaRepository<Greeting, Integer>, JpaSpecificationExecutor {
1029
}

0 commit comments

Comments
 (0)