svn commit: r1204408 - /struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java

2011-11-21 Thread mcucchiara
Author: mcucchiara
Date: Mon Nov 21 09:13:25 2011
New Revision: 1204408

URL: http://svn.apache.org/viewvc?rev=1204408&view=rev
Log:
Removed useless cast

Modified:

struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java

Modified: 
struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java?rev=1204408&r1=1204407&r2=1204408&view=diff
==
--- 
struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java
 (original)
+++ 
struts/struts2/trunk/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java
 Mon Nov 21 09:13:25 2011
@@ -31,7 +31,6 @@ import org.apache.struts2.rest.handler.C
 import javax.servlet.http.HttpServletRequest;
 import java.io.InputStream;
 import java.io.InputStreamReader;
-import java.io.Reader;
 
 /**
  * Uses the content handler to apply the request body to the action
@@ -60,9 +59,9 @@ public class ContentTypeInterceptor impl
 }
 
 if (request.getContentLength() > 0) {
-InputStream is = (InputStream) request.getInputStream();
+InputStream is = request.getInputStream();
 InputStreamReader reader = new InputStreamReader(is);
-handler.toObject((Reader) reader, target);
+handler.toObject(reader, target);
 }
 return invocation.invoke();
 }




svn commit: r1204535 - /struts/site/src/site/xdoc/primer.xml

2011-11-21 Thread mcucchiara
Author: mcucchiara
Date: Mon Nov 21 15:09:40 2011
New Revision: 1204535

URL: http://svn.apache.org/viewvc?rev=1204535&view=rev
Log:
WW-3709 - Corrected some broken links

Modified:
struts/site/src/site/xdoc/primer.xml

Modified: struts/site/src/site/xdoc/primer.xml
URL: 
http://svn.apache.org/viewvc/struts/site/src/site/xdoc/primer.xml?rev=1204535&r1=1204534&r2=1204535&view=diff
==
--- struts/site/src/site/xdoc/primer.xml (original)
+++ struts/site/src/site/xdoc/primer.xml Mon Nov 21 15:09:40 2011
@@ -313,7 +313,7 @@ limitations under the License.
 in the Java Tutorial
 
 
-http://java.sun.com/docs/books/tutorial/essential/threads/index.html";>
+http://docs.oracle.com/javase/tutorial/essential/concurrency/index.html";>
 Threads: Doing Two or More Tasks At Once
 
 in the Java Language
@@ -347,7 +347,7 @@ limitations under the License.
  
 These papers can be especially helpful if you are
 fact-finding or reviewing server-side
-http://directory.google.com/Top/Computers/Programming/Languages/Java/Server-Side/Libraries_and_Frameworks/";>
+http://www.dmoz.org/Computers/Programming/Languages/Java/Enterprise_Edition/Libraries_and_Frameworks/";>
 frameworks
 .
 
@@ -479,7 +479,7 @@ limitations under the License.
 
 
 
-http://java.sun.com/docs/books/tutorial/essential/attributes/properties.html";>
+http://docs.oracle.com/javase/tutorial/essential/environment/properties.html";>
 Using Properties to Manage Program
 Attributes
 
@@ -1189,8 +1189,8 @@ limitations under the License.
 
 
 
-http://acegisecurity.org/";>
-Acegi Security
+http://www.springframework.org/spring-security/";>
+Spring Security
 
 
 http://sslext.sourceforge.net/";>
@@ -1324,7 +1324,7 @@ limitations under the License.
 
 
 For an open source implementation of JSF, visit our
-sibling project, 
+sibling project, http://myfaces.apache.org";>
 Apache MyFaces.
 
 
@@ -1533,7 +1533,7 @@ limitations under the License.
 http://springframework.org/";>Spring
 
 
-http://www.opensymphony.com/xwork/";>XWork
+http://struts.apache.org/2.x/";>XWork
 
 
 




svn commit: r1204601 - /struts/site/src/site/xdoc/primer.xml

2011-11-21 Thread mcucchiara
Author: mcucchiara
Date: Mon Nov 21 17:08:12 2011
New Revision: 1204601

URL: http://svn.apache.org/viewvc?rev=1204601&view=rev
Log:
WW-3709 - Corrected some broken links

Modified:
struts/site/src/site/xdoc/primer.xml

Modified: struts/site/src/site/xdoc/primer.xml
URL: 
http://svn.apache.org/viewvc/struts/site/src/site/xdoc/primer.xml?rev=1204601&r1=1204600&r2=1204601&view=diff
==
--- struts/site/src/site/xdoc/primer.xml (original)
+++ struts/site/src/site/xdoc/primer.xml Mon Nov 21 17:08:12 2011
@@ -1373,7 +1373,7 @@ limitations under the License.
 
 For more about how XML is used with Java applications
 generally, see the
-http://java.sun.com/webservices/jaxp/dist/1.1/docs/tutorial/index.html";>
+http://jaxp.java.net/";>
 Java API for XML Processing Tutorial.
 While the framework makes good use of this API internally,
 it is not something most developers would use
@@ -1417,7 +1417,7 @@ limitations under the License.
 
 
 For more about JAAS, see the Sun Developer Network
-http://java.sun.com/products/jaas";>product
+http://download.oracle.com/javase/6/docs/technotes/guides/security/jaas/JAASRefGuide.html";>product
 page.
 
 




[CONF] Confluence Changes in the last 24 hours

2011-11-21 Thread confluence
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-


Apache Camel (https://cwiki.apache.org/confluence/display/CAMEL)

Pages
-
Merging commits from trunk to fixes branch edited by  dkulp  (11:51 AM)
https://cwiki.apache.org/confluence/display/CAMEL/Merging+commits+from+trunk+to+fixes+branch

Team edited by  hadr...@apache.org  (09:36 AM)
https://cwiki.apache.org/confluence/display/CAMEL/Team



Apache CXF Documentation (https://cwiki.apache.org/confluence/display/CXF20DOC)

Pages
-
Schemas and Namespaces edited by  ffang  (08:03 PM)
https://cwiki.apache.org/confluence/display/CXF20DOC/Schemas+and+Namespaces

JAX-RS Basics edited by  sergey_beryozkin  (04:50 AM)
https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS+Basics



Apache Hive (https://cwiki.apache.org/confluence/display/Hive)

Pages
-
HowToCommit edited by  jvs  (02:59 PM)
https://cwiki.apache.org/confluence/display/Hive/HowToCommit



Apache Isis (https://cwiki.apache.org/confluence/display/ISIS)

Pages
-
BlogTopicIdeas created by danhaywood (06:13 PM)
https://cwiki.apache.org/confluence/display/ISIS/BlogTopicIdeas

Index edited by  danhaywood  (06:11 PM)
https://cwiki.apache.org/confluence/display/ISIS/Index

Blogging created by danhaywood (12:32 PM)
https://cwiki.apache.org/confluence/display/ISIS/Blogging

MavenModulesMultipleRuntimesProposal edited by  danhaywood  (10:39 AM)
https://cwiki.apache.org/confluence/display/ISIS/MavenModulesMultipleRuntimesProposal

UiTechnologies edited by  danhaywood  (10:36 AM)
https://cwiki.apache.org/confluence/display/ISIS/UiTechnologies

MavenArchetypeDesign edited by  danhaywood  (10:01 AM)
https://cwiki.apache.org/confluence/display/ISIS/MavenArchetypeDesign

Viewer-agnostic Network Protocol edited by  danhaywood  (09:59 AM)
https://cwiki.apache.org/confluence/display/ISIS/Viewer-agnostic+Network+Protocol

RevampedSiteIdeas created by danhaywood (03:01 AM)
https://cwiki.apache.org/confluence/display/ISIS/RevampedSiteIdeas



Apache Kafka (https://cwiki.apache.org/confluence/display/KAFKA)

Pages
-
Powered By edited by  cscotta  (08:18 PM)
https://cwiki.apache.org/confluence/display/KAFKA/Powered+By

Index edited by  nehanarkhede  (07:51 PM)
https://cwiki.apache.org/confluence/display/KAFKA/Index

Wire Format edited by  tgautier  (12:11 AM)
https://cwiki.apache.org/confluence/display/KAFKA/Wire+Format



Apache Mahout (https://cwiki.apache.org/confluence/display/MAHOUT)

Pages
-
Professional Support edited by  frankscholten  (03:47 PM)
https://cwiki.apache.org/confluence/display/MAHOUT/Professional+Support



OODT (https://cwiki.apache.org/confluence/display/OODT)

Pages
-
Getting products from a remote FileManager created by ricky.ngu...@gmail.com 
(10:14 PM)
https://cwiki.apache.org/confluence/display/OODT/Getting+products+from+a+remote+FileManager


Comments
https://cwiki.apache.org/confluence/display/OODT/Getting+products+from+a+remote+FileManager
 (2)

Apache OpenOffice.org Community 
(https://cwiki.apache.org/confluence/display/OOOUSERS)

Pages
-
IP_Clearance edited by  af  (12:10 PM)
https://cwiki.apache.org/confluence/display/OOOUSERS/IP_Clearance

Release-QA-Plan created by zhaoxia (04:02 AM)
https://cwiki.apache.org/confluence/display/OOOUSERS/Release-QA-Plan



Apache Qpid (https://cwiki.apache.org/confluence/display/qpid)

Pages
-
0.16 Release created by justi9 (02:04 PM)
https://cwiki.apache.org/confluence/display/qpid/0.16+Release

Qpid Release Page edited by  justi9  (02:06 PM)
https://cwiki.apache.org/confluence/display/qpid/Qpid+Release+Page

0.14 Release edited by  justi9  (09:41 AM)
https://cwiki.apache.org/confluence/display/qpid/0.14+Release



Apache Tapestry (https://cwiki.apache.org/confluence/display/TAPESTRY)

Pages
-
Download edited by  hlship  (09:51 PM)
https://cwiki.apache.org/confluence/display/TAPESTRY/Download

Release Notes 5.3 edited by  hlship  (07:12 PM)
https://cwiki.apache.org/confluence/display/TAPESTRY/Release+Notes+5.3

downloadBoxes edited by  hlship  (07:08 PM)
https://cwiki.apache.org/confluence/display/TAPESTRY/downloadBoxes

Release Notes edited by  hlship  (07:02 PM)
https://cwiki.apache.org/confluence/display/TAPESTRY/Rel