Author: niallp
Date: Wed May 21 10:39:47 2008
New Revision: 658779
URL: http://svn.apache.org/viewvc?rev=658779&view=rev
Log:
Fix svn properties only (eol-style, keywords etc)
Modified:
commons/proper/beanutils/trunk/PROPOSAL.html (props changed)
commons/proper/beanutils/trunk/STATUS.html (props changed)
commons/proper/beanutils/trunk/build.properties.sample (props changed)
commons/proper/beanutils/trunk/build.xml (props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html
(contents, props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleConvertUtils.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ByteLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/DecimalLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/DoubleLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/IntegerLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/SqlDateLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/SqlTimeLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/SqlTimestampLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/StringLocaleConverter.java
(props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java
(props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
(contents, props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestBean.java
(props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/bugs/Jira92TestCase.java
(contents, props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java
(props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/BooleanConverterTestCase.java
(props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/ClassReloader.java
(props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/ClassReloaderTestCase.java
(props changed)
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/MemoryTestCase.java
(props changed)
Propchange: commons/proper/beanutils/trunk/PROPOSAL.html
('svn:executable' removed)
Propchange: commons/proper/beanutils/trunk/STATUS.html
('svn:executable' removed)
Propchange: commons/proper/beanutils/trunk/build.properties.sample
('svn:executable' removed)
Propchange: commons/proper/beanutils/trunk/build.xml
('svn:executable' removed)
Modified:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html?rev=658779&r1=658778&r2=658779&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html
(original)
+++
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html
Wed May 21 10:39:47 2008
@@ -1,26 +1,26 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<html>
-<head>
-<title>Package Documentation for
org.apache.commons.beanutils.expression</title>
-</head>
-<body bgcolor="white">
-<p>Contains the
-<code>Resolver</code>
-interface and implementations.</p>
-</body>
-</html>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<html>
+<head>
+<title>Package Documentation for
org.apache.commons.beanutils.expression</title>
+</head>
+<body bgcolor="white">
+<p>Contains the
+<code>Resolver</code>
+interface and implementations.</p>
+</body>
+</html>
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/expression/package.html
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/BaseLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleBeanUtils.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleConvertUtils.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/LocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigDecimalLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/BigIntegerLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ByteLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/DateLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/DecimalLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/DoubleLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/FloatLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/IntegerLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/LongLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/ShortLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/SqlDateLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/SqlTimeLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/SqlTimestampLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/java/org/apache/commons/beanutils/locale/converters/StringLocaleConverter.java
('svn:executable' removed)
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropertyUtilsTestCase.java
('svn:executable' removed)
Modified:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java?rev=658779&r1=658778&r2=658779&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
(original)
+++
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
Wed May 21 10:39:47 2008
@@ -1,70 +1,70 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.commons.beanutils;
-
-import java.util.Map;
-import java.beans.PropertyDescriptor;
-import java.lang.reflect.InvocationTargetException;
-
-/**
- * A PropertyUtilsBean which customises the behaviour of the
- * setNestedProperty and getNestedProperty methods to look for
- * simple properties in preference to map entries.
- */
-public class PropsFirstPropertyUtilsBean extends PropertyUtilsBean {
-
- public PropsFirstPropertyUtilsBean() {
- super();
- }
-
- /**
- * Note: this is a *very rough* override of this method. In particular,
- * it does not handle MAPPED_DELIM and INDEXED_DELIM chars in the
- * propertyName, so propertyNames like "a(b)" or "a[3]" will not
- * be correctly handled.
- */
- protected Object getPropertyOfMapBean(Map bean, String propertyName)
- throws IllegalAccessException, InvocationTargetException,
NoSuchMethodException {
-
- PropertyDescriptor descriptor = getPropertyDescriptor(bean,
propertyName);
- if (descriptor == null) {
- // no simple property exists so return the value from the map
- return bean.get(propertyName);
- } else {
- // a simple property exists so return its value instead.
- return getSimpleProperty(bean, propertyName);
- }
- }
-
- /**
- * Note: this is a *very rough* override of this method. In particular,
- * it does not handle MAPPED_DELIM and INDEXED_DELIM chars in the
- * propertyName, so propertyNames like "a(b)" or "a[3]" will not
- * be correctly handled.
- */
- protected void setPropertyOfMapBean(Map bean, String propertyName, Object
value)
- throws IllegalAccessException, InvocationTargetException,
NoSuchMethodException {
- PropertyDescriptor descriptor = getPropertyDescriptor(bean,
propertyName);
- if (descriptor == null) {
- // no simple property exists so put the value into the map
- bean.put(propertyName, value);
- } else {
- // a simple property exists so set that instead.
- setSimpleProperty(bean, propertyName, value);
- }
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.beanutils;
+
+import java.util.Map;
+import java.beans.PropertyDescriptor;
+import java.lang.reflect.InvocationTargetException;
+
+/**
+ * A PropertyUtilsBean which customises the behaviour of the
+ * setNestedProperty and getNestedProperty methods to look for
+ * simple properties in preference to map entries.
+ */
+public class PropsFirstPropertyUtilsBean extends PropertyUtilsBean {
+
+ public PropsFirstPropertyUtilsBean() {
+ super();
+ }
+
+ /**
+ * Note: this is a *very rough* override of this method. In particular,
+ * it does not handle MAPPED_DELIM and INDEXED_DELIM chars in the
+ * propertyName, so propertyNames like "a(b)" or "a[3]" will not
+ * be correctly handled.
+ */
+ protected Object getPropertyOfMapBean(Map bean, String propertyName)
+ throws IllegalAccessException, InvocationTargetException,
NoSuchMethodException {
+
+ PropertyDescriptor descriptor = getPropertyDescriptor(bean,
propertyName);
+ if (descriptor == null) {
+ // no simple property exists so return the value from the map
+ return bean.get(propertyName);
+ } else {
+ // a simple property exists so return its value instead.
+ return getSimpleProperty(bean, propertyName);
+ }
+ }
+
+ /**
+ * Note: this is a *very rough* override of this method. In particular,
+ * it does not handle MAPPED_DELIM and INDEXED_DELIM chars in the
+ * propertyName, so propertyNames like "a(b)" or "a[3]" will not
+ * be correctly handled.
+ */
+ protected void setPropertyOfMapBean(Map bean, String propertyName, Object
value)
+ throws IllegalAccessException, InvocationTargetException,
NoSuchMethodException {
+ PropertyDescriptor descriptor = getPropertyDescriptor(bean,
propertyName);
+ if (descriptor == null) {
+ // no simple property exists so put the value into the map
+ bean.put(propertyName, value);
+ } else {
+ // a simple property exists so set that instead.
+ setSimpleProperty(bean, propertyName, value);
+ }
+ }
+}
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed May 21 10:39:47 2008
@@ -1 +1 @@
-Id
+Date Author Id Revision HeadURL
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/TestBean.java
('svn:executable' removed)
Modified:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/bugs/Jira92TestCase.java
URL:
http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/bugs/Jira92TestCase.java?rev=658779&r1=658778&r2=658779&view=diff
==============================================================================
---
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/bugs/Jira92TestCase.java
(original)
+++
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/bugs/Jira92TestCase.java
Wed May 21 10:39:47 2008
@@ -1,58 +1,58 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.commons.beanutils.bugs;
-
-import junit.framework.TestCase;
-
-import org.apache.commons.beanutils.PropertyUtils;
-import org.apache.commons.beanutils.TestBean;
-
-/**
- * Test case for Jira issue# BEANUTILS-92.
- * <br/>
- * See https://issues.apache.org/jira/browse/BEANUTILS-92
- *
- * @version $Revision$ $Date$
- */
-public class Jira92TestCase extends TestCase {
-
- /**
- * Test copy properties where the target bean only
- * has an indexed setter.
- */
- public void testIssue_BEANUTILS_92_copyProperties_indexed_only_setter()
throws Exception {
- PropertyUtils.copyProperties(new Jira92TestBean(), new TestBean());
- }
-
- /**
- * Test bean which has only indexed setter
- */
- public static class Jira92TestBean {
-
- private java.util.Date[] dateArrayProperty = new java.util.Date[10];
-
- /**
- * Indexed Setter.
- *
- * @param index index
- * @param date indexed value to set
- */
- public void setDateArrayProperty(int index, java.util.Date date) {
- this.dateArrayProperty[index] = date;
- }
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.beanutils.bugs;
+
+import junit.framework.TestCase;
+
+import org.apache.commons.beanutils.PropertyUtils;
+import org.apache.commons.beanutils.TestBean;
+
+/**
+ * Test case for Jira issue# BEANUTILS-92.
+ * <br/>
+ * See https://issues.apache.org/jira/browse/BEANUTILS-92
+ *
+ * @version $Revision$ $Date$
+ */
+public class Jira92TestCase extends TestCase {
+
+ /**
+ * Test copy properties where the target bean only
+ * has an indexed setter.
+ */
+ public void testIssue_BEANUTILS_92_copyProperties_indexed_only_setter()
throws Exception {
+ PropertyUtils.copyProperties(new Jira92TestBean(), new TestBean());
+ }
+
+ /**
+ * Test bean which has only indexed setter
+ */
+ public static class Jira92TestBean {
+
+ private java.util.Date[] dateArrayProperty = new java.util.Date[10];
+
+ /**
+ * Indexed Setter.
+ *
+ * @param index index
+ * @param date indexed value to set
+ */
+ public void setDateArrayProperty(int index, java.util.Date date) {
+ this.dateArrayProperty[index] = date;
+ }
+ }
+}
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/bugs/Jira92TestCase.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/bugs/Jira92TestCase.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/BooleanArrayConverterTestCase.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed May 21 10:39:47 2008
@@ -1 +1 @@
-Id
+Date Author Id Revision HeadURL
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/BooleanConverterTestCase.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/BooleanConverterTestCase.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed May 21 10:39:47 2008
@@ -1 +1 @@
-Id
+Date Author Id Revision HeadURL
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/ClassReloader.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/ClassReloader.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed May 21 10:39:47 2008
@@ -1 +1 @@
-Id
+Date Author Id Revision HeadURL
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/ClassReloaderTestCase.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/ClassReloaderTestCase.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed May 21 10:39:47 2008
@@ -1 +1 @@
-Id
+Date Author Id Revision HeadURL
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/MemoryTestCase.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
commons/proper/beanutils/trunk/src/test/org/apache/commons/beanutils/converters/MemoryTestCase.java
------------------------------------------------------------------------------
--- svn:keywords (original)
+++ svn:keywords Wed May 21 10:39:47 2008
@@ -1 +1 @@
-Id
+Date Author Id Revision HeadURL