Author: niallp
Date: Sun Nov 12 07:05:41 2006
New Revision: 473970
URL: http://svn.apache.org/viewvc?view=rev&rev=473970
Log:
remove tabs
Modified:
jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtilsBean.java
Modified:
jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtilsBean.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtilsBean.java?view=diff&rev=473970&r1=473969&r2=473970
==============================================================================
---
jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtilsBean.java
(original)
+++
jakarta/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtilsBean.java
Sun Nov 12 07:05:41 2006
@@ -45,9 +45,9 @@
public class LocaleBeanUtilsBean extends BeanUtilsBean {
- /**
- * Contains <code>LocaleBeanUtilsBean</code> instances indexed by
context classloader.
- */
+ /**
+ * Contains <code>LocaleBeanUtilsBean</code> instances indexed by context
classloader.
+ */
private static final ContextClassLoaderLocal
localeBeansByClassLoader = new ContextClassLoaderLocal() {
// Creates the default instance used when the context
classloader is unavailable
@@ -61,14 +61,14 @@
return (LocaleBeanUtilsBean)localeBeansByClassLoader.get();
}
- /**
- * Sets the instance which provides the functionality for [EMAIL
PROTECTED] LocaleBeanUtils}.
- * This is a pseudo-singleton - an single instance is provided per
(thread) context classloader.
- * This mechanism provides isolation for web apps deployed in the same
container.
- */
- public synchronized static void setInstance(LocaleBeanUtilsBean
newInstance) {
+ /**
+ * Sets the instance which provides the functionality for [EMAIL
PROTECTED] LocaleBeanUtils}.
+ * This is a pseudo-singleton - an single instance is provided per
(thread) context classloader.
+ * This mechanism provides isolation for web apps deployed in the same
container.
+ */
+ public synchronized static void setInstance(LocaleBeanUtilsBean
newInstance) {
localeBeansByClassLoader.set(newInstance);
- }
+ }
/** All logging goes through this logger */
private Log log = LogFactory.getLog(LocaleBeanUtilsBean.class);
@@ -712,11 +712,11 @@
* @param pattern The convertion pattern
*/
protected Object convert(Class type, int index, Object value, String
pattern) {
-
- if (log.isTraceEnabled()) {
- log.trace("Converting value '" + value + "' to type:" +
type);
- }
-
+
+ if (log.isTraceEnabled()) {
+ log.trace("Converting value '" + value + "' to type:" + type);
+ }
+
Object newValue = null;
if (type.isArray() && (index < 0)) { // Scalar value into array
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]