From 8e31b66f0627de232cde9fbf51391a01dd5ecae1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20Ro=C5=BCniecki?= Date: Tue, 8 Apr 2014 21:22:43 +0200 Subject: [PATCH] SEC-2556: Fix @Import example in manual --- docs/guides/src/asciidoc/hellomvc.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/src/asciidoc/hellomvc.asc b/docs/guides/src/asciidoc/hellomvc.asc index 6c871e118b..9790081429 100644 --- a/docs/guides/src/asciidoc/hellomvc.asc +++ b/docs/guides/src/asciidoc/hellomvc.asc @@ -77,7 +77,7 @@ public class RootConfiguration { The `@ComponentScan` is loading all configuration within the same package (and child packages) as `RootConfiguration`. Since <> is in this package, it will be loaded with our existing setup and there is nothing more to do. -NOTE: Had <> not been loaded, we could have used an `@Import(SecurityConfig)` above the class definition of <> or added <> as one of the results for `getRootConfigClasses()`. +NOTE: Had <> not been loaded, we could have used an `@Import(SecurityConfig.class)` above the class definition of <> or added <> as one of the results for `getRootConfigClasses()`. include::{hello-include-dir}/exploring-the-secured-application.asc[]