Clean up code, add name/about for user info
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1767160 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java b/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java
index c062fa6..f70e625 100644
--- a/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java
+++ b/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java
@@ -17,7 +17,6 @@
package org.apache.sling.sample.slingshot.model;
import org.apache.sling.api.resource.Resource;
-import org.apache.sling.api.resource.ValueMap;
public class StreamInfo extends PropertiesSupport {
diff --git a/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json b/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json
index ced7925..9bd85a7 100644
--- a/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json
+++ b/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json
@@ -1,5 +1,6 @@
{
"jcr:primaryType":"sling:Folder",
"sling:resourceType":"slingshot/Userinfo",
- "about":"Welcome to the World of SlingShot!"
+ "name":"Welcome to the World of SlingShot!",
+ "about":"This is a sample account for the famous SlingShot application from Apache Sling."
}
\ No newline at end of file
diff --git a/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json b/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json
index aeb11e0..21d4e4d 100644
--- a/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json
+++ b/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json
@@ -1,5 +1,6 @@
{
"jcr:primaryType":"sling:Folder",
"sling:resourceType":"slingshot/Userinfo",
- "about":"The Truth Is Out There"
+ "name":"The Truth Is Out There",
+ "about":"This is a sample account for the famous SlingShot application from Apache Sling."
}
\ No newline at end of file