Author: dkuleshov
Date: 2010-12-22 07:47:06 -0500 (Wed, 22 Dec 2010)
New Revision: 3710
Modified:
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/reflect/AnnotationIntrospector.java
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/MimeTypeResolver.java
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/SecurityHelper.java
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/services/log/impl/Log4JConfigurator.java
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/services/log/impl/SLF4JExoLogFactory.java
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/mail/impl/MailServiceImpl.java
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/net/impl/NetServiceImpl.java
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/rpc/impl/RPCServiceImpl.java
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/transaction/impl/jotm/TransactionServiceJotmImpl.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/PortalContainer.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/RootContainer.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/StandaloneContainer.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/UnifiedClassLoader.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/ConfigurationManagerImpl.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/ConfigurationUnmarshaller.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/EntityResolverImpl.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/jmx/MX4JComponentAdapter.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/monitor/jvm/J2EEServerInfo.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/monitor/jvm/JVMRuntimeInfoImpl.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/util/ContainerUtil.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/management/jmx/impl/JMXManagementProvider.java
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/xml/object/XMLObject.java
Log:
EXOJCR-1117: code refactoring - misspelling corrected
Modified:
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/reflect/AnnotationIntrospector.java
===================================================================
---
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/reflect/AnnotationIntrospector.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/reflect/AnnotationIntrospector.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -111,7 +111,7 @@
}
};
- for (Method method : SecurityHelper.doPriviledgedAction(action))
+ for (Method method : SecurityHelper.doPrivilegedAction(action))
{
A annotation = method.getAnnotation(methodAnnotation);
if (annotation != null)
Modified:
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/MimeTypeResolver.java
===================================================================
---
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/MimeTypeResolver.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/MimeTypeResolver.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -34,7 +34,7 @@
{
try
{
- SecurityHelper.doPriviledgedIOExceptionAction(new
PrivilegedExceptionAction<Void>()
+ SecurityHelper.doPrivilegedIOExceptionAction(new
PrivilegedExceptionAction<Void>()
{
public Void run() throws Exception
{
Modified:
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/SecurityHelper.java
===================================================================
---
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/SecurityHelper.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/commons/utils/SecurityHelper.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -48,7 +48,7 @@
* @return
* @throws IOException
*/
- public static <E> E
doPriviledgedIOExceptionAction(PrivilegedExceptionAction<E> action) throws
IOException
+ public static <E> E
doPrivilegedIOExceptionAction(PrivilegedExceptionAction<E> action) throws
IOException
{
try
{
@@ -80,7 +80,7 @@
* @return
* @throws IOException
*/
- public static <E> E
doPriviledgedSQLExceptionAction(PrivilegedExceptionAction<E> action) throws
SQLException
+ public static <E> E
doPrivilegedSQLExceptionAction(PrivilegedExceptionAction<E> action) throws
SQLException
{
try
{
@@ -112,7 +112,7 @@
* @return
* @throws IOException
*/
- public static <E> E
doPriviledgedParserConfigurationOrSAXExceptionAction(PrivilegedExceptionAction<E>
action)
+ public static <E> E
doPrivilegedParserConfigurationOrSAXExceptionAction(PrivilegedExceptionAction<E>
action)
throws ParserConfigurationException, SAXException
{
try
@@ -149,7 +149,7 @@
* @return
* @throws IOException
*/
- public static <E> E
doPriviledgedParserConfigurationAction(PrivilegedExceptionAction<E> action)
+ public static <E> E
doPrivilegedParserConfigurationAction(PrivilegedExceptionAction<E> action)
throws ParserConfigurationException
{
try
@@ -182,7 +182,7 @@
* @return
* @throws IOException
*/
- public static <E> E
doPriviledgedSAXExceptionAction(PrivilegedExceptionAction<E> action) throws
SAXException
+ public static <E> E
doPrivilegedSAXExceptionAction(PrivilegedExceptionAction<E> action) throws
SAXException
{
try
{
@@ -214,7 +214,7 @@
* @return
* @throws IOException
*/
- public static <E> E
doPriviledgedMalformedURLExceptionAction(PrivilegedExceptionAction<E> action)
+ public static <E> E
doPrivilegedMalformedURLExceptionAction(PrivilegedExceptionAction<E> action)
throws MalformedURLException
{
try
@@ -246,7 +246,7 @@
* @param action
* @return
*/
- public static <E> E doPriviledgedAction(PrivilegedAction<E> action)
+ public static <E> E doPrivilegedAction(PrivilegedAction<E> action)
{
return AccessController.doPrivileged(action);
}
@@ -258,7 +258,7 @@
* @param action
* @return
*/
- public static <E> E
doPriviledgedExceptionAction(PrivilegedExceptionAction<E> action)
+ public static <E> E
doPrivilegedExceptionAction(PrivilegedExceptionAction<E> action)
throws PrivilegedActionException
{
return AccessController.doPrivileged(action);
Modified:
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/services/log/impl/Log4JConfigurator.java
===================================================================
---
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/services/log/impl/Log4JConfigurator.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/services/log/impl/Log4JConfigurator.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -37,7 +37,7 @@
{
public void configure(final Properties properties)
{
- SecurityHelper.doPriviledgedAction(new PrivilegedAction<Object>()
+ SecurityHelper.doPrivilegedAction(new PrivilegedAction<Object>()
{
public Object run()
{
Modified:
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/services/log/impl/SLF4JExoLogFactory.java
===================================================================
---
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/services/log/impl/SLF4JExoLogFactory.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.commons/src/main/java/org/exoplatform/services/log/impl/SLF4JExoLogFactory.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -43,7 +43,7 @@
@Override
protected Log getLogger(final String name)
{
- Logger slf4jlogger = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<Logger>()
+ Logger slf4jlogger = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<Logger>()
{
public Logger run()
{
Modified:
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/mail/impl/MailServiceImpl.java
===================================================================
---
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/mail/impl/MailServiceImpl.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/mail/impl/MailServiceImpl.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -62,7 +62,7 @@
String username = props_.getProperty("mail.smtp.auth.username");
String password = props_.getProperty("mail.smtp.auth.password");
final ExoAuthenticator auth = new ExoAuthenticator(username, password);
- mailSession_ = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<Session>()
+ mailSession_ = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<Session>()
{
public Session run()
{
@@ -72,7 +72,7 @@
}
else
{
- mailSession_ = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<Session>()
+ mailSession_ = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<Session>()
{
public Session run()
{
Modified:
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/net/impl/NetServiceImpl.java
===================================================================
---
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/net/impl/NetServiceImpl.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/net/impl/NetServiceImpl.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -38,7 +38,7 @@
try
{
startTime = System.currentTimeMillis();
- Socket socket = SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Socket>()
+ Socket socket = SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Socket>()
{
public Socket run() throws Exception
{
Modified:
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/rpc/impl/RPCServiceImpl.java
===================================================================
---
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/rpc/impl/RPCServiceImpl.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/rpc/impl/RPCServiceImpl.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -755,7 +755,7 @@
}
});
- SecurityHelper.doPriviledgedAction(new PrivilegedAction<Void>()
+ SecurityHelper.doPrivilegedAction(new PrivilegedAction<Void>()
{
public Void run()
{
Modified:
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/transaction/impl/jotm/TransactionServiceJotmImpl.java
===================================================================
---
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/transaction/impl/jotm/TransactionServiceJotmImpl.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.component.common/src/main/java/org/exoplatform/services/transaction/impl/jotm/TransactionServiceJotmImpl.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -69,7 +69,7 @@
{
try
{
- SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Void>()
+ SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Void>()
{
public Void run() throws Exception
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/PortalContainer.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/PortalContainer.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/PortalContainer.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -163,7 +163,7 @@
this.webAppContexts = Collections.singleton(new WebAppInitContext(portalContext));
this.portalContext = portalContext;
this.portalMergedContext = new PortalContainerContext(this);
- this.portalMergedClassLoader = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<ClassLoader>()
+ this.portalMergedClassLoader = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<ClassLoader>()
{
public ClassLoader run()
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/RootContainer.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/RootContainer.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/RootContainer.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -114,7 +114,7 @@
log.info("Active profiles " + profiles);
//
- SecurityHelper.doPriviledgedAction(new PrivilegedAction<Void>()
+ SecurityHelper.doPrivilegedAction(new PrivilegedAction<Void>()
{
public Void run()
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/StandaloneContainer.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/StandaloneContainer.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/StandaloneContainer.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -206,7 +206,7 @@
if ((path == null) || (path.length() == 0))
return;
- URL confURL = SecurityHelper.doPriviledgedMalformedURLExceptionAction(new
PrivilegedExceptionAction<URL>()
+ URL confURL = SecurityHelper.doPrivilegedMalformedURLExceptionAction(new
PrivilegedExceptionAction<URL>()
{
public URL run() throws Exception
{
@@ -319,7 +319,7 @@
{
try
{
- SecurityHelper.doPriviledgedIOExceptionAction(new
PrivilegedExceptionAction<Void>()
+ SecurityHelper.doPrivilegedIOExceptionAction(new
PrivilegedExceptionAction<Void>()
{
public Void run() throws Exception
{
@@ -352,7 +352,7 @@
// (2) exo-configuration.xml in AS (standalone) home directory
configurationURL =
- SecurityHelper.doPriviledgedMalformedURLExceptionAction(new
PrivilegedExceptionAction<URL>()
+ SecurityHelper.doPrivilegedMalformedURLExceptionAction(new
PrivilegedExceptionAction<URL>()
{
public URL run() throws Exception
{
@@ -364,7 +364,7 @@
if (!fileExists(configurationURL))
{
configurationURL =
- SecurityHelper.doPriviledgedMalformedURLExceptionAction(new
PrivilegedExceptionAction<URL>()
+ SecurityHelper.doPrivilegedMalformedURLExceptionAction(new
PrivilegedExceptionAction<URL>()
{
public URL run() throws Exception
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/UnifiedClassLoader.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/UnifiedClassLoader.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/UnifiedClassLoader.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -116,7 +116,7 @@
static protected UnifiedClassLoader createUnifiedClassLoaderInPrivilegedMode(final
ClassLoader... cls)
{
- return SecurityHelper.doPriviledgedAction(new
PrivilegedAction<UnifiedClassLoader>()
+ return SecurityHelper.doPrivilegedAction(new
PrivilegedAction<UnifiedClassLoader>()
{
public UnifiedClassLoader run()
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/ConfigurationManagerImpl.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/ConfigurationManagerImpl.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/ConfigurationManagerImpl.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -304,7 +304,7 @@
+ ") could not be found or the invoker doesn't have adequate
privileges to get the resource");
}
- return SecurityHelper.doPriviledgedIOExceptionAction(new
PrivilegedExceptionAction<InputStream>()
+ return SecurityHelper.doPrivilegedIOExceptionAction(new
PrivilegedExceptionAction<InputStream>()
{
public InputStream run() throws Exception
{
@@ -328,7 +328,7 @@
{
final String path = removePrefix("jar:/", url);
final ClassLoader cl = Thread.currentThread().getContextClassLoader();
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<URL>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<URL>()
{
public URL run()
{
@@ -340,7 +340,7 @@
{
final String path = removePrefix("classpath:/", url);
final ClassLoader cl = Thread.currentThread().getContextClassLoader();
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<URL>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<URL>()
{
public URL run()
{
@@ -354,7 +354,7 @@
if (context != null)
{
final String fPath = path;
- return SecurityHelper.doPriviledgedMalformedURLExceptionAction(new
PrivilegedExceptionAction<URL>()
+ return SecurityHelper.doPrivilegedMalformedURLExceptionAction(new
PrivilegedExceptionAction<URL>()
{
public URL run() throws Exception
{
@@ -370,7 +370,7 @@
path = path.substring(1);
}
final String fPath = path;
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<URL>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<URL>()
{
public URL run()
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/ConfigurationUnmarshaller.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/ConfigurationUnmarshaller.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/ConfigurationUnmarshaller.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -187,7 +187,7 @@
Reporter reporter = new Reporter(url);
builder.setErrorHandler(reporter);
builder.setEntityResolver(Namespaces.resolver);
- builder.parse(SecurityHelper.doPriviledgedIOExceptionAction(new
PrivilegedExceptionAction<InputStream>()
+ builder.parse(SecurityHelper.doPrivilegedIOExceptionAction(new
PrivilegedExceptionAction<InputStream>()
{
public InputStream run() throws Exception
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/EntityResolverImpl.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/EntityResolverImpl.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/configuration/EntityResolverImpl.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -69,7 +69,7 @@
final String path = systemIdToResourcePath.get(systemId);
if (path != null)
{
- InputStream in = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<InputStream>()
+ InputStream in = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<InputStream>()
{
public InputStream run()
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/jmx/MX4JComponentAdapter.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/jmx/MX4JComponentAdapter.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/jmx/MX4JComponentAdapter.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -161,7 +161,7 @@
}
final Object[] params = {cplugin};
- SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Void>()
+ SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Void>()
{
public Void run() throws Exception
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/monitor/jvm/J2EEServerInfo.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/monitor/jvm/J2EEServerInfo.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/monitor/jvm/J2EEServerInfo.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -113,7 +113,7 @@
//
try
{
- Class clazz = SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Class>()
+ Class clazz = SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Class>()
{
public Class run() throws Exception
{
@@ -170,7 +170,7 @@
}
if (mbeanServer == null)
{
- mbeanServer = SecurityHelper.doPriviledgedAction(new
PrivilegedAction<MBeanServer>()
+ mbeanServer = SecurityHelper.doPrivilegedAction(new
PrivilegedAction<MBeanServer>()
{
public MBeanServer run()
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/monitor/jvm/JVMRuntimeInfoImpl.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/monitor/jvm/JVMRuntimeInfoImpl.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/monitor/jvm/JVMRuntimeInfoImpl.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -61,7 +61,7 @@
public String getName()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -72,7 +72,7 @@
public String getSpecName()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -83,7 +83,7 @@
public String getSpecVendor()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -94,7 +94,7 @@
public String getSpecVersion()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -105,7 +105,7 @@
public String getManagementSpecVersion()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -116,7 +116,7 @@
public String getVmName()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -127,7 +127,7 @@
public String getVmVendor()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -138,7 +138,7 @@
public String getVmVersion()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -149,7 +149,7 @@
public List getInputArguments()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<List>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<List>()
{
public List run()
{
@@ -160,7 +160,7 @@
public Map getSystemProperties()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<Map>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<Map>()
{
public Map run()
{
@@ -171,7 +171,7 @@
public boolean getBootClassPathSupported()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<Boolean>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<Boolean>()
{
public Boolean run()
{
@@ -182,7 +182,7 @@
public String getBootClassPath()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -193,7 +193,7 @@
public String getClassPath()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -204,7 +204,7 @@
public String getLibraryPath()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<String>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<String>()
{
public String run()
{
@@ -215,7 +215,7 @@
public long getStartTime()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<Long>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<Long>()
{
public Long run()
{
@@ -226,7 +226,7 @@
public long getUptime()
{
- return SecurityHelper.doPriviledgedAction(new PrivilegedAction<Long>()
+ return SecurityHelper.doPrivilegedAction(new PrivilegedAction<Long>()
{
public Long run()
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/util/ContainerUtil.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/util/ContainerUtil.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/util/ContainerUtil.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -76,7 +76,7 @@
{
final ClassLoader cl = Thread.currentThread().getContextClassLoader();
- Collection c = SecurityHelper.doPriviledgedIOExceptionAction(new
PrivilegedExceptionAction<Collection>()
+ Collection c = SecurityHelper.doPrivilegedIOExceptionAction(new
PrivilegedExceptionAction<Collection>()
{
public Collection run() throws IOException
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/management/jmx/impl/JMXManagementProvider.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/management/jmx/impl/JMXManagementProvider.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/management/jmx/impl/JMXManagementProvider.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -155,7 +155,7 @@
}
try
{
- SecurityHelper.doPriviledgedExceptionAction(new
PrivilegedExceptionAction<Void>()
+ SecurityHelper.doPrivilegedExceptionAction(new
PrivilegedExceptionAction<Void>()
{
public Void run() throws Exception
{
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/xml/object/XMLObject.java
===================================================================
---
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/xml/object/XMLObject.java 2010-12-22
11:56:25 UTC (rev 3709)
+++
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/xml/object/XMLObject.java 2010-12-22
12:47:06 UTC (rev 3710)
@@ -253,7 +253,7 @@
final Field fld = field[i];
- SecurityHelper.doPriviledgedAction(new PrivilegedAction<Void>()
+ SecurityHelper.doPrivilegedAction(new PrivilegedAction<Void>()
{
public Void run()
{