Author: cziegeler
Date: Sun Oct 30 13:19:10 2016
New Revision: 1767160
URL: http://svn.apache.org/viewvc?rev=1767160&view=rev
Log:
Clean up code, add name/about for user info
Modified:
sling/trunk/samples/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java
sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json
sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json
Modified:
sling/trunk/samples/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java
URL:
http://svn.apache.org/viewvc/sling/trunk/samples/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java?rev=1767160&r1=1767159&r2=1767160&view=diff
==============================================================================
---
sling/trunk/samples/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java
(original)
+++
sling/trunk/samples/slingshot/src/main/java/org/apache/sling/sample/slingshot/model/StreamInfo.java
Sun Oct 30 13:19:10 2016
@@ -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 {
Modified:
sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json
URL:
http://svn.apache.org/viewvc/sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json?rev=1767160&r1=1767159&r2=1767160&view=diff
==============================================================================
---
sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json
(original)
+++
sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot1/info.json
Sun Oct 30 13:19:10 2016
@@ -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
Modified:
sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json
URL:
http://svn.apache.org/viewvc/sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json?rev=1767160&r1=1767159&r2=1767160&view=diff
==============================================================================
---
sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json
(original)
+++
sling/trunk/samples/slingshot/src/main/resources/SLING-INF/content/slingshot/users/slingshot2/info.json
Sun Oct 30 13:19:10 2016
@@ -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