Author: dkuleshov
Date: 2010-12-22 07:51:43 -0500 (Wed, 22 Dec 2010)
New Revision: 3712
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/FieldInjectorImpl.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/RequestHandlerImpl.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/ResourceBinder.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/method/DefaultMethodInvoker.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/method/ParameterHelper.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/DOMSourceEntityProvider.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBContextResolver.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBElementEntityProvider.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBObjectEntityProvider.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/MultipartFormDataEntityProvider.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/SAXSourceEntityProvider.java
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/resource/AbstractResourceDescriptorImpl.java
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy/GroovyJaxrsPublisher.java
Log:
EXOJCR-1117: code refactoring - misspelling corrected
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/FieldInjectorImpl.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/FieldInjectorImpl.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/FieldInjectorImpl.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -214,7 +214,7 @@
{
if (!Modifier.isPublic(jfield.getModifiers()))
{
- SecurityHelper.doPriviledgedAction(new PrivilegedAction<Void>()
+ SecurityHelper.doPrivilegedAction(new PrivilegedAction<Void>()
{
public Void run()
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/RequestHandlerImpl.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/RequestHandlerImpl.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/RequestHandlerImpl.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -361,7 +361,7 @@
}
// Register Shutdown Hook for cleaning temporary files.
- SecurityHelper.doPriviledgedAction(new PrivilegedAction<Void>()
+ SecurityHelper.doPrivilegedAction(new PrivilegedAction<Void>()
{
public Void run()
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/ResourceBinder.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/ResourceBinder.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/ResourceBinder.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -206,7 +206,7 @@
// Initialize RuntimeDelegate instance
// This is first component in life cycle what needs.
// TODO better solution to initialize RuntimeDelegate
- SecurityHelper.doPriviledgedAction(new PrivilegedAction<Void>()
+ SecurityHelper.doPrivilegedAction(new PrivilegedAction<Void>()
{
public Void run()
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/method/DefaultMethodInvoker.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/method/DefaultMethodInvoker.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/method/DefaultMethodInvoker.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -181,7 +181,7 @@
{
try
{
- return SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Object>()
+ return SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Object>()
{
public Object run() throws Exception
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/method/ParameterHelper.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/method/ParameterHelper.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/method/ParameterHelper.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -264,7 +264,7 @@
{
try
{
- Method method = SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Method>()
+ Method method = SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Method>()
{
public Method run() throws Exception
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/DOMSourceEntityProvider.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/DOMSourceEntityProvider.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/DOMSourceEntityProvider.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -82,7 +82,7 @@
final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
factory.setNamespaceAware(true);
- Document d = SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Document>()
+ Document d = SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Document>()
{
public Document run() throws Exception
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBContextResolver.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBContextResolver.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBContextResolver.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -83,7 +83,7 @@
{
try
{
- jaxbctx = SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<JAXBContext>()
+ jaxbctx = SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<JAXBContext>()
{
public JAXBContext run() throws Exception
{
@@ -127,7 +127,7 @@
try
{
- jaxbctx = SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<JAXBContext>()
+ jaxbctx = SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<JAXBContext>()
{
public JAXBContext run() throws Exception
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBElementEntityProvider.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBElementEntityProvider.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBElementEntityProvider.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -89,7 +89,7 @@
{
final JAXBContext jaxbctx = getJAXBContext(c, mediaType);
- return SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<JAXBElement<?>>()
+ return SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<JAXBElement<?>>()
{
public JAXBElement<?> run() throws Exception
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBObjectEntityProvider.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBObjectEntityProvider.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/JAXBObjectEntityProvider.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -85,7 +85,7 @@
{
final JAXBContext jaxbctx = getJAXBContext(type, mediaType);
- return SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Object>()
+ return SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Object>()
{
public Object run() throws Exception
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/MultipartFormDataEntityProvider.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/MultipartFormDataEntityProvider.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/MultipartFormDataEntityProvider.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -108,7 +108,7 @@
DefaultFileItemFactory factory = new DefaultFileItemFactory(bufferSize, repo);
final FileUpload upload = new FileUpload(factory);
- return SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Iterator<FileItem>>()
+ return SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Iterator<FileItem>>()
{
public Iterator<FileItem> run() throws Exception
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/SAXSourceEntityProvider.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/SAXSourceEntityProvider.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/provider/SAXSourceEntityProvider.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -95,7 +95,7 @@
final StreamResult out = new StreamResult(entityStream);
try
{
- SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Void>()
+ SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Void>()
{
public Void run() throws Exception
{
Modified:
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/resource/AbstractResourceDescriptorImpl.java
===================================================================
---
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/resource/AbstractResourceDescriptorImpl.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.core/src/main/java/org/exoplatform/services/rest/impl/resource/AbstractResourceDescriptorImpl.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -224,7 +224,7 @@
// process field
java.lang.reflect.Field[] jfields =
- SecurityHelper.doPriviledgedAction(new
PrivilegedAction<java.lang.reflect.Field[]>()
+ SecurityHelper.doPrivilegedAction(new
PrivilegedAction<java.lang.reflect.Field[]>()
{
public java.lang.reflect.Field[] run()
{
@@ -377,7 +377,7 @@
{
final Class<?> resourceClass = getObjectClass();
- Method[] methods = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<Method[]>()
+ Method[] methods = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<Method[]>()
{
public Method[] run()
{
Modified:
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy/GroovyJaxrsPublisher.java
===================================================================
---
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy/GroovyJaxrsPublisher.java 2010-12-22
12:49:34 UTC (rev 3711)
+++
ws/trunk/exo.ws.rest.ext/src/main/java/org/exoplatform/services/rest/ext/groovy/GroovyJaxrsPublisher.java 2010-12-22
12:51:43 UTC (rev 3712)
@@ -184,7 +184,7 @@
public void publishPerRequest(final InputStream in, final ResourceId resourceId,
final MultivaluedMap<String, String> properties, final ClassPathEntry[]
classPath)
{
- Class<?> rc = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<Class<?>>() {
+ Class<?> rc = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<Class<?>>() {
public Class<?> run()
{
try
@@ -462,7 +462,7 @@
*/
protected GroovyCodeSource createCodeSource(final InputStream in, final String name)
{
- GroovyCodeSource gcs = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<GroovyCodeSource>() {
+ GroovyCodeSource gcs = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<GroovyCodeSource>() {
public GroovyCodeSource run()
{
return new GroovyCodeSource(in, name, "/groovy/script/jaxrs");