You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ml...@apache.org on 2006/06/08 05:40:30 UTC

svn commit: r412641 [31/32] - in /incubator/harmony/enhanced/classlib/trunk/modules/beans/src: main/java/java/beans/ main/java/java/beans/beancontext/ test/java-internal/java/beans/beancontext/ test/java/org/apache/harmony/beans/tests/ test/java/org/ap...

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecPrimitives.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecPrimitives.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecPrimitives.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBean4CodecPrimitives.java Wed Jun  7 20:40:24 2006
@@ -1,401 +1,401 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.lang.reflect.Field;
-import java.util.Collection;
-
-public class MockBean4CodecPrimitives {
-
-	boolean bool = true;
-
-	byte b = 1;
-
-	char c = 'a';
-
-	double d = 3.14;
-
-	float f = 3.14F;
-
-	int i = 4;
-
-	long l = 8;
-
-	short s = 2;
-
-	Boolean boolobj = Boolean.FALSE;
-
-	Byte bobj = new Byte((byte) 11);
-
-	Character cobj = new Character('A');
-
-	Double dobj = new Double(6.28);
-
-	Float fobj = new Float(6.28F);
-
-	Integer iobj = new Integer(44);
-
-	Long lobj = new Long(88);
-
-	Short sobj = new Short((short) 22);
-
-	Object nill = "start with not null";
-
-	Class clazz = Collection.class;
-
-	int zarr[] = { 1, 2, 3, 4 };
-
-	String zarrarr[][] = { { "1", "2" }, { "3", "4", "5" } };
-
-	public MockBean4CodecPrimitives() {
-		super();
-	}
-
-	public boolean equals(Object obj) {
-		if (obj == null || !getClass().equals(obj.getClass())) {
-			return false;
-		}
-		try {
-			Field fields[] = getClass().getDeclaredFields();
-			for (int i = 0; i < fields.length; i++) {
-				Object mine = fields[i].get(this);
-				Object other = fields[i].get(obj);
-				if (mine == null ? other != null : !mine.equals(other)) {
-					return false;
-				}
-			}
-			return true;
-		} catch (Exception e) {
-			throw new RuntimeException("impossible!!");
-		}
-	}
-
-	public int hashCode() {
-		try {
-			int code = 0;
-			Field fields[] = getClass().getDeclaredFields();
-			for (int i = 0; i < fields.length; i++) {
-				Object mine = fields[i].get(this);
-				if (mine != null) {
-					code += mine.hashCode();
-				}
-			}
-			return code;
-		} catch (Exception e) {
-			throw new RuntimeException("impossible!!");
-		}
-	}
-
-	/**
-	 * @return Returns the b.
-	 */
-	public byte getB() {
-		return b;
-	}
-
-	/**
-	 * @param b
-	 *            The b to set.
-	 */
-	public void setB(byte b) {
-		this.b = b;
-	}
-
-	/**
-	 * @return Returns the bobj.
-	 */
-	public Byte getBobj() {
-		return bobj;
-	}
-
-	/**
-	 * @param bobj
-	 *            The bobj to set.
-	 */
-	public void setBobj(Byte bobj) {
-		this.bobj = bobj;
-	}
-
-	/**
-	 * @return Returns the bool.
-	 */
-	public boolean isBool() {
-		return bool;
-	}
-
-	/**
-	 * @param bool
-	 *            The bool to set.
-	 */
-	public void setBool(boolean bool) {
-		this.bool = bool;
-	}
-
-	/**
-	 * @return Returns the boolobj.
-	 */
-	public Boolean getBoolobj() {
-		return boolobj;
-	}
-
-	/**
-	 * @param boolobj
-	 *            The boolobj to set.
-	 */
-	public void setBoolobj(Boolean boolobj) {
-		this.boolobj = boolobj;
-	}
-
-	/**
-	 * @return Returns the c.
-	 */
-	public char getC() {
-		return c;
-	}
-
-	/**
-	 * @param c
-	 *            The c to set.
-	 */
-	public void setC(char c) {
-		this.c = c;
-	}
-
-	/**
-	 * @return Returns the cobj.
-	 */
-	public Character getCobj() {
-		return cobj;
-	}
-
-	/**
-	 * @param cobj
-	 *            The cobj to set.
-	 */
-	public void setCobj(Character cobj) {
-		this.cobj = cobj;
-	}
-
-	/**
-	 * @return Returns the d.
-	 */
-	public double getD() {
-		return d;
-	}
-
-	/**
-	 * @param d
-	 *            The d to set.
-	 */
-	public void setD(double d) {
-		this.d = d;
-	}
-
-	/**
-	 * @return Returns the dobj.
-	 */
-	public Double getDobj() {
-		return dobj;
-	}
-
-	/**
-	 * @param dobj
-	 *            The dobj to set.
-	 */
-	public void setDobj(Double dobj) {
-		this.dobj = dobj;
-	}
-
-	/**
-	 * @return Returns the f.
-	 */
-	public float getF() {
-		return f;
-	}
-
-	/**
-	 * @param f
-	 *            The f to set.
-	 */
-	public void setF(float f) {
-		this.f = f;
-	}
-
-	/**
-	 * @return Returns the fobj.
-	 */
-	public Float getFobj() {
-		return fobj;
-	}
-
-	/**
-	 * @param fobj
-	 *            The fobj to set.
-	 */
-	public void setFobj(Float fobj) {
-		this.fobj = fobj;
-	}
-
-	/**
-	 * @return Returns the i.
-	 */
-	public int getI() {
-		return i;
-	}
-
-	/**
-	 * @param i
-	 *            The i to set.
-	 */
-	public void setI(int i) {
-		this.i = i;
-	}
-
-	/**
-	 * @return Returns the iobj.
-	 */
-	public Integer getIobj() {
-		return iobj;
-	}
-
-	/**
-	 * @param iobj
-	 *            The iobj to set.
-	 */
-	public void setIobj(Integer iobj) {
-		this.iobj = iobj;
-	}
-
-	/**
-	 * @return Returns the l.
-	 */
-	public long getL() {
-		return l;
-	}
-
-	/**
-	 * @param l
-	 *            The l to set.
-	 */
-	public void setL(long l) {
-		this.l = l;
-	}
-
-	/**
-	 * @return Returns the lobj.
-	 */
-	public Long getLobj() {
-		return lobj;
-	}
-
-	/**
-	 * @param lobj
-	 *            The lobj to set.
-	 */
-	public void setLobj(Long lobj) {
-		this.lobj = lobj;
-	}
-
-	/**
-	 * @return Returns the nill.
-	 */
-	public Object getNill() {
-		return nill;
-	}
-
-	/**
-	 * @param nill
-	 *            The nill to set.
-	 */
-	public void setNill(Object nill) {
-		this.nill = nill;
-	}
-
-	/**
-	 * @return Returns the s.
-	 */
-	public short getS() {
-		return s;
-	}
-
-	/**
-	 * @param s
-	 *            The s to set.
-	 */
-	public void setS(short s) {
-		this.s = s;
-	}
-
-	/**
-	 * @return Returns the sobj.
-	 */
-	public Short getSobj() {
-		return sobj;
-	}
-
-	/**
-	 * @param sobj
-	 *            The sobj to set.
-	 */
-	public void setSobj(Short sobj) {
-		this.sobj = sobj;
-	}
-
-	/**
-	 * @return Returns the clazz.
-	 */
-	public Class getClazz() {
-		return clazz;
-	}
-
-	/**
-	 * @param clazz
-	 *            The clazz to set.
-	 */
-	public void setClazz(Class clazz) {
-		this.clazz = clazz;
-	}
-
-	/**
-	 * @return Returns the zarr.
-	 */
-	public int[] getZarr() {
-		return zarr;
-	}
-
-	/**
-	 * @param arr
-	 *            The zarr to set.
-	 */
-	public void setZarr(int[] arr) {
-		this.zarr = arr;
-	}
-
-	/**
-	 * @return Returns the zarrarr.
-	 */
-	public String[][] getZarrarr() {
-		return zarrarr;
-	}
-
-	/**
-	 * @param arrarr
-	 *            The zarrarr to set.
-	 */
-	public void setZarrarr(String[][] arrarr) {
-		this.zarrarr = arrarr;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.lang.reflect.Field;
+import java.util.Collection;
+
+public class MockBean4CodecPrimitives {
+
+	boolean bool = true;
+
+	byte b = 1;
+
+	char c = 'a';
+
+	double d = 3.14;
+
+	float f = 3.14F;
+
+	int i = 4;
+
+	long l = 8;
+
+	short s = 2;
+
+	Boolean boolobj = Boolean.FALSE;
+
+	Byte bobj = new Byte((byte) 11);
+
+	Character cobj = new Character('A');
+
+	Double dobj = new Double(6.28);
+
+	Float fobj = new Float(6.28F);
+
+	Integer iobj = new Integer(44);
+
+	Long lobj = new Long(88);
+
+	Short sobj = new Short((short) 22);
+
+	Object nill = "start with not null";
+
+	Class clazz = Collection.class;
+
+	int zarr[] = { 1, 2, 3, 4 };
+
+	String zarrarr[][] = { { "1", "2" }, { "3", "4", "5" } };
+
+	public MockBean4CodecPrimitives() {
+		super();
+	}
+
+	public boolean equals(Object obj) {
+		if (obj == null || !getClass().equals(obj.getClass())) {
+			return false;
+		}
+		try {
+			Field fields[] = getClass().getDeclaredFields();
+			for (int i = 0; i < fields.length; i++) {
+				Object mine = fields[i].get(this);
+				Object other = fields[i].get(obj);
+				if (mine == null ? other != null : !mine.equals(other)) {
+					return false;
+				}
+			}
+			return true;
+		} catch (Exception e) {
+			throw new RuntimeException("impossible!!");
+		}
+	}
+
+	public int hashCode() {
+		try {
+			int code = 0;
+			Field fields[] = getClass().getDeclaredFields();
+			for (int i = 0; i < fields.length; i++) {
+				Object mine = fields[i].get(this);
+				if (mine != null) {
+					code += mine.hashCode();
+				}
+			}
+			return code;
+		} catch (Exception e) {
+			throw new RuntimeException("impossible!!");
+		}
+	}
+
+	/**
+	 * @return Returns the b.
+	 */
+	public byte getB() {
+		return b;
+	}
+
+	/**
+	 * @param b
+	 *            The b to set.
+	 */
+	public void setB(byte b) {
+		this.b = b;
+	}
+
+	/**
+	 * @return Returns the bobj.
+	 */
+	public Byte getBobj() {
+		return bobj;
+	}
+
+	/**
+	 * @param bobj
+	 *            The bobj to set.
+	 */
+	public void setBobj(Byte bobj) {
+		this.bobj = bobj;
+	}
+
+	/**
+	 * @return Returns the bool.
+	 */
+	public boolean isBool() {
+		return bool;
+	}
+
+	/**
+	 * @param bool
+	 *            The bool to set.
+	 */
+	public void setBool(boolean bool) {
+		this.bool = bool;
+	}
+
+	/**
+	 * @return Returns the boolobj.
+	 */
+	public Boolean getBoolobj() {
+		return boolobj;
+	}
+
+	/**
+	 * @param boolobj
+	 *            The boolobj to set.
+	 */
+	public void setBoolobj(Boolean boolobj) {
+		this.boolobj = boolobj;
+	}
+
+	/**
+	 * @return Returns the c.
+	 */
+	public char getC() {
+		return c;
+	}
+
+	/**
+	 * @param c
+	 *            The c to set.
+	 */
+	public void setC(char c) {
+		this.c = c;
+	}
+
+	/**
+	 * @return Returns the cobj.
+	 */
+	public Character getCobj() {
+		return cobj;
+	}
+
+	/**
+	 * @param cobj
+	 *            The cobj to set.
+	 */
+	public void setCobj(Character cobj) {
+		this.cobj = cobj;
+	}
+
+	/**
+	 * @return Returns the d.
+	 */
+	public double getD() {
+		return d;
+	}
+
+	/**
+	 * @param d
+	 *            The d to set.
+	 */
+	public void setD(double d) {
+		this.d = d;
+	}
+
+	/**
+	 * @return Returns the dobj.
+	 */
+	public Double getDobj() {
+		return dobj;
+	}
+
+	/**
+	 * @param dobj
+	 *            The dobj to set.
+	 */
+	public void setDobj(Double dobj) {
+		this.dobj = dobj;
+	}
+
+	/**
+	 * @return Returns the f.
+	 */
+	public float getF() {
+		return f;
+	}
+
+	/**
+	 * @param f
+	 *            The f to set.
+	 */
+	public void setF(float f) {
+		this.f = f;
+	}
+
+	/**
+	 * @return Returns the fobj.
+	 */
+	public Float getFobj() {
+		return fobj;
+	}
+
+	/**
+	 * @param fobj
+	 *            The fobj to set.
+	 */
+	public void setFobj(Float fobj) {
+		this.fobj = fobj;
+	}
+
+	/**
+	 * @return Returns the i.
+	 */
+	public int getI() {
+		return i;
+	}
+
+	/**
+	 * @param i
+	 *            The i to set.
+	 */
+	public void setI(int i) {
+		this.i = i;
+	}
+
+	/**
+	 * @return Returns the iobj.
+	 */
+	public Integer getIobj() {
+		return iobj;
+	}
+
+	/**
+	 * @param iobj
+	 *            The iobj to set.
+	 */
+	public void setIobj(Integer iobj) {
+		this.iobj = iobj;
+	}
+
+	/**
+	 * @return Returns the l.
+	 */
+	public long getL() {
+		return l;
+	}
+
+	/**
+	 * @param l
+	 *            The l to set.
+	 */
+	public void setL(long l) {
+		this.l = l;
+	}
+
+	/**
+	 * @return Returns the lobj.
+	 */
+	public Long getLobj() {
+		return lobj;
+	}
+
+	/**
+	 * @param lobj
+	 *            The lobj to set.
+	 */
+	public void setLobj(Long lobj) {
+		this.lobj = lobj;
+	}
+
+	/**
+	 * @return Returns the nill.
+	 */
+	public Object getNill() {
+		return nill;
+	}
+
+	/**
+	 * @param nill
+	 *            The nill to set.
+	 */
+	public void setNill(Object nill) {
+		this.nill = nill;
+	}
+
+	/**
+	 * @return Returns the s.
+	 */
+	public short getS() {
+		return s;
+	}
+
+	/**
+	 * @param s
+	 *            The s to set.
+	 */
+	public void setS(short s) {
+		this.s = s;
+	}
+
+	/**
+	 * @return Returns the sobj.
+	 */
+	public Short getSobj() {
+		return sobj;
+	}
+
+	/**
+	 * @param sobj
+	 *            The sobj to set.
+	 */
+	public void setSobj(Short sobj) {
+		this.sobj = sobj;
+	}
+
+	/**
+	 * @return Returns the clazz.
+	 */
+	public Class getClazz() {
+		return clazz;
+	}
+
+	/**
+	 * @param clazz
+	 *            The clazz to set.
+	 */
+	public void setClazz(Class clazz) {
+		this.clazz = clazz;
+	}
+
+	/**
+	 * @return Returns the zarr.
+	 */
+	public int[] getZarr() {
+		return zarr;
+	}
+
+	/**
+	 * @param arr
+	 *            The zarr to set.
+	 */
+	public void setZarr(int[] arr) {
+		this.zarr = arr;
+	}
+
+	/**
+	 * @return Returns the zarrarr.
+	 */
+	public String[][] getZarrarr() {
+		return zarrarr;
+	}
+
+	/**
+	 * @param arrarr
+	 *            The zarrarr to set.
+	 */
+	public void setZarrarr(String[][] arrarr) {
+		this.zarrarr = arrarr;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBeanListener2.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBeanListener2.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBeanListener2.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockBeanListener2.java Wed Jun  7 20:40:24 2006
@@ -1,31 +1,31 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-/**
- * test java.beans
- */
-public class MockBeanListener2 implements MockPropertyChangeListener2 {
-
-	public void mockPropertyChange(
-			org.apache.harmony.beans.tests.java.beans.mock.MockPropertyChangeEvent e) {
-	}
-
-	public void mockPropertyChange(
-			org.apache.harmony.beans.tests.java.beans.MockPropertyChangeEvent e) {
-	}
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+/**
+ * test java.beans
+ */
+public class MockBeanListener2 implements MockPropertyChangeListener2 {
+
+	public void mockPropertyChange(
+			org.apache.harmony.beans.tests.java.beans.mock.MockPropertyChangeEvent e) {
+	}
+
+	public void mockPropertyChange(
+			org.apache.harmony.beans.tests.java.beans.MockPropertyChangeEvent e) {
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockButton.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockButton.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockButton.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockButton.java Wed Jun  7 20:40:24 2006
@@ -1,75 +1,75 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.beans.PropertyChangeListener;
-import java.beans.PropertyChangeSupport;
-import java.io.Serializable;
-
-/**
- * This is a mock bean for EventHandler test.
- */
-public class MockButton implements Serializable {
-	String name;
-
-	String label;
-
-	PropertyChangeSupport support;
-
-	static public String defaultName = "MockButton 1";
-
-	public MockButton() {
-		this.name = defaultName;
-		this.label = this.name;
-		this.support = new PropertyChangeSupport(this);
-	}
-
-	public void addPropertyChangeListener(PropertyChangeListener listener) {
-		this.support.addPropertyChangeListener(listener);
-	}
-
-	/**
-	 * @return Returns the label.
-	 */
-	public String getLabel() {
-		return label;
-	}
-
-	/**
-	 * @param label
-	 *            The label to set.
-	 */
-	public void setLabel(String label) {
-		this.support.firePropertyChange("label", this.label, label);
-		this.label = label;
-	}
-
-	/**
-	 * @return Returns the name.
-	 */
-	public String getName() {
-		return name;
-	}
-
-	/**
-	 * @param name
-	 *            The name to set.
-	 */
-	public void setName(String name) {
-		this.name = name;
-	}
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.beans.PropertyChangeListener;
+import java.beans.PropertyChangeSupport;
+import java.io.Serializable;
+
+/**
+ * This is a mock bean for EventHandler test.
+ */
+public class MockButton implements Serializable {
+	String name;
+
+	String label;
+
+	PropertyChangeSupport support;
+
+	static public String defaultName = "MockButton 1";
+
+	public MockButton() {
+		this.name = defaultName;
+		this.label = this.name;
+		this.support = new PropertyChangeSupport(this);
+	}
+
+	public void addPropertyChangeListener(PropertyChangeListener listener) {
+		this.support.addPropertyChangeListener(listener);
+	}
+
+	/**
+	 * @return Returns the label.
+	 */
+	public String getLabel() {
+		return label;
+	}
+
+	/**
+	 * @param label
+	 *            The label to set.
+	 */
+	public void setLabel(String label) {
+		this.support.firePropertyChange("label", this.label, label);
+		this.label = label;
+	}
+
+	/**
+	 * @return Returns the name.
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * @param name
+	 *            The name to set.
+	 */
+	public void setName(String name) {
+		this.name = name;
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockExceptionListener.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockExceptionListener.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockExceptionListener.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockExceptionListener.java Wed Jun  7 20:40:24 2006
@@ -1,241 +1,241 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.beans.ExceptionListener;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.ListIterator;
-
-/**
- * Mock of ExceptionListener
- */
-public class MockExceptionListener implements ExceptionListener {
-
-	public ArrayList exHistory = new ArrayList();
-
-	public void exceptionThrown(Exception ex) {
-		exHistory.add(ex);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 */
-	public void add(int arg0, Object arg1) {
-		exHistory.add(arg0, arg1);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean add(Object arg0) {
-		return exHistory.add(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 * @return
-	 */
-	public boolean addAll(int arg0, Collection arg1) {
-		return exHistory.addAll(arg0, arg1);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean addAll(Collection arg0) {
-		return exHistory.addAll(arg0);
-	}
-
-	/**
-	 * 
-	 */
-	public void clear() {
-		exHistory.clear();
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean contains(Object arg0) {
-		return exHistory.contains(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean containsAll(Collection arg0) {
-		return exHistory.containsAll(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 */
-	public void ensureCapacity(int arg0) {
-		exHistory.ensureCapacity(arg0);
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.lang.Object#equals(java.lang.Object)
-	 */
-	public boolean equals(Object arg0) {
-		return exHistory.equals(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public Object get(int arg0) {
-		return exHistory.get(arg0);
-	}
-
-	/*
-	 * (non-Javadoc)
-	 * 
-	 * @see java.lang.Object#hashCode()
-	 */
-	public int hashCode() {
-		return exHistory.hashCode();
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public int indexOf(Object arg0) {
-		return exHistory.indexOf(arg0);
-	}
-
-	/**
-	 * @return
-	 */
-	public boolean isEmpty() {
-		return exHistory.isEmpty();
-	}
-
-	/**
-	 * @return
-	 */
-	public Iterator iterator() {
-		return exHistory.iterator();
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public int lastIndexOf(Object arg0) {
-		return exHistory.lastIndexOf(arg0);
-	}
-
-	/**
-	 * @return
-	 */
-	public ListIterator listIterator() {
-		return exHistory.listIterator();
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public ListIterator listIterator(int arg0) {
-		return exHistory.listIterator(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public Object remove(int arg0) {
-		return exHistory.remove(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean remove(Object arg0) {
-		return exHistory.remove(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean removeAll(Collection arg0) {
-		return exHistory.removeAll(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public boolean retainAll(Collection arg0) {
-		return exHistory.retainAll(arg0);
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 * @return
-	 */
-	public Object set(int arg0, Object arg1) {
-		return exHistory.set(arg0, arg1);
-	}
-
-	/**
-	 * @return
-	 */
-	public int size() {
-		return exHistory.size();
-	}
-
-	/**
-	 * @param arg0
-	 * @param arg1
-	 * @return
-	 */
-	public List subList(int arg0, int arg1) {
-		return exHistory.subList(arg0, arg1);
-	}
-
-	/**
-	 * @return
-	 */
-	public Object[] toArray() {
-		return exHistory.toArray();
-	}
-
-	/**
-	 * @param arg0
-	 * @return
-	 */
-	public Object[] toArray(Object[] arg0) {
-		return exHistory.toArray(arg0);
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.beans.ExceptionListener;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Iterator;
+import java.util.List;
+import java.util.ListIterator;
+
+/**
+ * Mock of ExceptionListener
+ */
+public class MockExceptionListener implements ExceptionListener {
+
+	public ArrayList exHistory = new ArrayList();
+
+	public void exceptionThrown(Exception ex) {
+		exHistory.add(ex);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 */
+	public void add(int arg0, Object arg1) {
+		exHistory.add(arg0, arg1);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean add(Object arg0) {
+		return exHistory.add(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 * @return
+	 */
+	public boolean addAll(int arg0, Collection arg1) {
+		return exHistory.addAll(arg0, arg1);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean addAll(Collection arg0) {
+		return exHistory.addAll(arg0);
+	}
+
+	/**
+	 * 
+	 */
+	public void clear() {
+		exHistory.clear();
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean contains(Object arg0) {
+		return exHistory.contains(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean containsAll(Collection arg0) {
+		return exHistory.containsAll(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 */
+	public void ensureCapacity(int arg0) {
+		exHistory.ensureCapacity(arg0);
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.lang.Object#equals(java.lang.Object)
+	 */
+	public boolean equals(Object arg0) {
+		return exHistory.equals(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public Object get(int arg0) {
+		return exHistory.get(arg0);
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * 
+	 * @see java.lang.Object#hashCode()
+	 */
+	public int hashCode() {
+		return exHistory.hashCode();
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public int indexOf(Object arg0) {
+		return exHistory.indexOf(arg0);
+	}
+
+	/**
+	 * @return
+	 */
+	public boolean isEmpty() {
+		return exHistory.isEmpty();
+	}
+
+	/**
+	 * @return
+	 */
+	public Iterator iterator() {
+		return exHistory.iterator();
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public int lastIndexOf(Object arg0) {
+		return exHistory.lastIndexOf(arg0);
+	}
+
+	/**
+	 * @return
+	 */
+	public ListIterator listIterator() {
+		return exHistory.listIterator();
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public ListIterator listIterator(int arg0) {
+		return exHistory.listIterator(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public Object remove(int arg0) {
+		return exHistory.remove(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean remove(Object arg0) {
+		return exHistory.remove(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean removeAll(Collection arg0) {
+		return exHistory.removeAll(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public boolean retainAll(Collection arg0) {
+		return exHistory.retainAll(arg0);
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 * @return
+	 */
+	public Object set(int arg0, Object arg1) {
+		return exHistory.set(arg0, arg1);
+	}
+
+	/**
+	 * @return
+	 */
+	public int size() {
+		return exHistory.size();
+	}
+
+	/**
+	 * @param arg0
+	 * @param arg1
+	 * @return
+	 */
+	public List subList(int arg0, int arg1) {
+		return exHistory.subList(arg0, arg1);
+	}
+
+	/**
+	 * @return
+	 */
+	public Object[] toArray() {
+		return exHistory.toArray();
+	}
+
+	/**
+	 * @param arg0
+	 * @return
+	 */
+	public Object[] toArray(Object[] arg0) {
+		return exHistory.toArray(arg0);
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFakeListener.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFakeListener.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFakeListener.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFakeListener.java Wed Jun  7 20:40:24 2006
@@ -1,23 +1,23 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-/**
- * test java.beans
- */
-public interface MockFakeListener {
-	public void mockPropertyChange(MockPropertyChangeEvent e);
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+/**
+ * test java.beans
+ */
+public interface MockFakeListener {
+	public void mockPropertyChange(MockPropertyChangeEvent e);
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo.java Wed Jun  7 20:40:24 2006
@@ -1,46 +1,46 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.io.Serializable;
-
-/**
- * This class is used for Introspector test.
- */
-public class MockFoo extends MockFooStop implements Serializable {
-
-	/**
-	 * Comment for <code>serialVersionUID</code>
-	 */
-	private static final long serialVersionUID = 1L;
-
-	private String name;
-
-	/**
-	 * @return Returns the name.
-	 */
-	public String getName() {
-		return name;
-	}
-
-	/**
-	 * @param name
-	 *            The name to set.
-	 */
-	public void setName(String name) {
-		this.name = name;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.io.Serializable;
+
+/**
+ * This class is used for Introspector test.
+ */
+public class MockFoo extends MockFooStop implements Serializable {
+
+	/**
+	 * Comment for <code>serialVersionUID</code>
+	 */
+	private static final long serialVersionUID = 1L;
+
+	private String name;
+
+	/**
+	 * @return Returns the name.
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * @param name
+	 *            The name to set.
+	 */
+	public void setName(String name) {
+		this.name = name;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2.java Wed Jun  7 20:40:24 2006
@@ -1,38 +1,38 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-/**
- * A bean that has get/set method different from getXXX and setXXX.
- */
-public class MockFoo2 extends MockFoo2Parent {
-	private int prop1;
-
-	public MockFoo2() {
-	}
-
-	public MockFoo2(int prop) {
-		this.prop1 = prop;
-	}
-
-	public int myget() {
-		return this.prop1;
-	}
-
-	public void myset(int prop) {
-		this.prop1 = prop;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+/**
+ * A bean that has get/set method different from getXXX and setXXX.
+ */
+public class MockFoo2 extends MockFoo2Parent {
+	private int prop1;
+
+	public MockFoo2() {
+	}
+
+	public MockFoo2(int prop) {
+		this.prop1 = prop;
+	}
+
+	public int myget() {
+		return this.prop1;
+	}
+
+	public void myset(int prop) {
+		this.prop1 = prop;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2BeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2BeanInfo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2BeanInfo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2BeanInfo.java Wed Jun  7 20:40:24 2006
@@ -1,40 +1,40 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.beans.IntrospectionException;
-import java.beans.PropertyDescriptor;
-import java.beans.SimpleBeanInfo;
-
-/**
- * Testcases for persistence delegate classes.
- */
-public class MockFoo2BeanInfo extends SimpleBeanInfo {
-
-	public PropertyDescriptor[] getPropertyDescriptors() {
-		PropertyDescriptor[] pds = new PropertyDescriptor[1];
-		try {
-			PropertyDescriptor pd = new PropertyDescriptor("prop",
-					MockFoo2.class, "myget", "myset");
-			pd.setName(pd.getName() + ".BeanInfo");
-			pds[0] = pd;
-		} catch (IntrospectionException e) {
-			throw new Error(e);
-		}
-		return pds;
-	}
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.beans.IntrospectionException;
+import java.beans.PropertyDescriptor;
+import java.beans.SimpleBeanInfo;
+
+/**
+ * Testcases for persistence delegate classes.
+ */
+public class MockFoo2BeanInfo extends SimpleBeanInfo {
+
+	public PropertyDescriptor[] getPropertyDescriptors() {
+		PropertyDescriptor[] pds = new PropertyDescriptor[1];
+		try {
+			PropertyDescriptor pd = new PropertyDescriptor("prop",
+					MockFoo2.class, "myget", "myset");
+			pd.setName(pd.getName() + ".BeanInfo");
+			pds[0] = pd;
+		} catch (IntrospectionException e) {
+			throw new Error(e);
+		}
+		return pds;
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2Parent.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2Parent.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2Parent.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2Parent.java Wed Jun  7 20:40:24 2006
@@ -1,32 +1,32 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-/**
- * test for DefaultPersistenceDelegate
- */
-public class MockFoo2Parent {
-	private int i = 0;
-
-	public void set(int i) {
-		this.i = i;
-	}
-
-	public int get() {
-		return this.i;
-	}
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+/**
+ * test for DefaultPersistenceDelegate
+ */
+public class MockFoo2Parent {
+	private int i = 0;
+
+	public void set(int i) {
+		this.i = i;
+	}
+
+	public int get() {
+		return this.i;
+	}
+
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2ParentBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2ParentBeanInfo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2ParentBeanInfo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFoo2ParentBeanInfo.java Wed Jun  7 20:40:24 2006
@@ -1,37 +1,37 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.beans.IntrospectionException;
-import java.beans.PropertyDescriptor;
-
-/**
- * test for DefaultPersistenceDelegate
- */
-public class MockFoo2ParentBeanInfo {
-	public PropertyDescriptor[] getPropertyDescriptors() {
-		PropertyDescriptor[] pds = new PropertyDescriptor[1];
-		try {
-			PropertyDescriptor pd = new PropertyDescriptor("prop",
-					MockFoo2.class, "get", "set");
-			pd.setName(pd.getName() + ".BeanInfo");
-			pds[0] = pd;
-		} catch (IntrospectionException e) {
-			throw new Error(e);
-		}
-		return pds;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.beans.IntrospectionException;
+import java.beans.PropertyDescriptor;
+
+/**
+ * test for DefaultPersistenceDelegate
+ */
+public class MockFoo2ParentBeanInfo {
+	public PropertyDescriptor[] getPropertyDescriptors() {
+		PropertyDescriptor[] pds = new PropertyDescriptor[1];
+		try {
+			PropertyDescriptor pd = new PropertyDescriptor("prop",
+					MockFoo2.class, "get", "set");
+			pd.setName(pd.getName() + ".BeanInfo");
+			pds[0] = pd;
+		} catch (IntrospectionException e) {
+			throw new Error(e);
+		}
+		return pds;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooBeanInfo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooBeanInfo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooBeanInfo.java Wed Jun  7 20:40:24 2006
@@ -1,38 +1,38 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.beans.BeanDescriptor;
-import java.beans.SimpleBeanInfo;
-
-import org.apache.harmony.beans.tests.java.beans.EncoderTest;
-
-/**
- * test for DefaultPersistenceDelegate
- */
-public class MockFooBeanInfo extends SimpleBeanInfo {
-	private Class clazz = MockFoo.class;
-
-	private String suffix = ".BeanInfo";
-
-	public BeanDescriptor getBeanDescriptor() {
-		BeanDescriptor beanDesc = new BeanDescriptor(clazz);
-		beanDesc.setName(beanDesc.getName() + suffix);
-		// beanDesc.setValue("persistenceDelegate", new
-		// EncoderTest.VerbosePD());
-		return beanDesc;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.beans.BeanDescriptor;
+import java.beans.SimpleBeanInfo;
+
+import org.apache.harmony.beans.tests.java.beans.EncoderTest;
+
+/**
+ * test for DefaultPersistenceDelegate
+ */
+public class MockFooBeanInfo extends SimpleBeanInfo {
+	private Class clazz = MockFoo.class;
+
+	private String suffix = ".BeanInfo";
+
+	public BeanDescriptor getBeanDescriptor() {
+		BeanDescriptor beanDesc = new BeanDescriptor(clazz);
+		beanDesc.setName(beanDesc.getName() + suffix);
+		// beanDesc.setValue("persistenceDelegate", new
+		// EncoderTest.VerbosePD());
+		return beanDesc;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooButton.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooButton.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooButton.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooButton.java Wed Jun  7 20:40:24 2006
@@ -1,40 +1,40 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.io.Serializable;
-
-/**
- * Test the default bean info search path.
- */
-public class MockFooButton implements Serializable {
-	private String text;
-
-	/**
-	 * @return Returns the text.
-	 */
-	public String getText() {
-		return text;
-	}
-
-	/**
-	 * @param text
-	 *            The text to set.
-	 */
-	public void setText(String text) {
-		this.text = text;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.io.Serializable;
+
+/**
+ * Test the default bean info search path.
+ */
+public class MockFooButton implements Serializable {
+	private String text;
+
+	/**
+	 * @return Returns the text.
+	 */
+	public String getText() {
+		return text;
+	}
+
+	/**
+	 * @param text
+	 *            The text to set.
+	 */
+	public void setText(String text) {
+		this.text = text;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooChild.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooChild.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooChild.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooChild.java Wed Jun  7 20:40:24 2006
@@ -1,50 +1,50 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import org.apache.harmony.beans.tests.java.beans.MockPropertyChangeListener;
-
-/**
- * test Introspector
- */
-public class MockFooChild extends MockFoo {
-	private String childName;
-
-	/**
-	 * @return Returns the childName.
-	 */
-	public String getChildName() {
-		return childName;
-	}
-
-	/**
-	 * @param childName
-	 *            The childName to set.
-	 */
-	public void setChildName(String childName) {
-		this.childName = childName;
-	}
-
-	public void addMockPropertyChangeListener(
-			MockPropertyChangeListener listener) {
-
-	}
-
-	public void removeMockPropertyChangeListener(
-			MockPropertyChangeListener listener) {
-
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import org.apache.harmony.beans.tests.java.beans.MockPropertyChangeListener;
+
+/**
+ * test Introspector
+ */
+public class MockFooChild extends MockFoo {
+	private String childName;
+
+	/**
+	 * @return Returns the childName.
+	 */
+	public String getChildName() {
+		return childName;
+	}
+
+	/**
+	 * @param childName
+	 *            The childName to set.
+	 */
+	public void setChildName(String childName) {
+		this.childName = childName;
+	}
+
+	public void addMockPropertyChangeListener(
+			MockPropertyChangeListener listener) {
+
+	}
+
+	public void removeMockPropertyChangeListener(
+			MockPropertyChangeListener listener) {
+
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooChildBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooChildBeanInfo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooChildBeanInfo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooChildBeanInfo.java Wed Jun  7 20:40:24 2006
@@ -1,81 +1,81 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.beans.EventSetDescriptor;
-import java.beans.IntrospectionException;
-import java.beans.MethodDescriptor;
-import java.beans.PropertyDescriptor;
-import java.beans.SimpleBeanInfo;
-import java.lang.reflect.Method;
-
-import org.apache.harmony.beans.tests.java.beans.MockPropertyChangeListener;
-
-/**
- * test Introspector
- */
-public class MockFooChildBeanInfo extends SimpleBeanInfo {
-
-	Class clazz = MockFooChild.class;
-
-	String suffix = ".MockFooChildBeanInfo";
-
-	public PropertyDescriptor[] getPropertyDescriptors() {
-		PropertyDescriptor[] pds = new PropertyDescriptor[1];
-		try {
-			PropertyDescriptor pd = new PropertyDescriptor("childName", clazz);
-			pd.setName(pd.getName() + suffix);
-			pds[0] = pd;
-		} catch (IntrospectionException e) {
-			e.printStackTrace();
-		}
-		return pds;
-	}
-
-	public MethodDescriptor[] getMethodDescriptors() {
-		MethodDescriptor[] mds = new MethodDescriptor[2];
-		try {
-			Method getMethod = clazz.getMethod("getChildName", (Class[])null);
-			Method setMethod = clazz.getMethod("setChildName",
-					new Class[] { String.class });
-			mds[0] = new MethodDescriptor(getMethod);
-			mds[0].setName(mds[0].getName() + suffix);
-
-			mds[1] = new MethodDescriptor(setMethod);
-			mds[1].setName(mds[1].getName() + suffix);
-
-		} catch (SecurityException e) {
-			e.printStackTrace();
-		} catch (NoSuchMethodException e) {
-			e.printStackTrace();
-		}
-		return mds;
-	}
-
-	public EventSetDescriptor[] getEventSetDescriptors() {
-		EventSetDescriptor[] esds = new EventSetDescriptor[1];
-		try {
-			EventSetDescriptor esd = new EventSetDescriptor(clazz,
-					"mockPropertyChange", MockPropertyChangeListener.class,
-					"mockPropertyChange");
-			esd.setName(esd.getName() + suffix);
-			esds[0] = esd;
-		} catch (IntrospectionException e) {
-			e.printStackTrace();
-		}
-		return esds;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.beans.EventSetDescriptor;
+import java.beans.IntrospectionException;
+import java.beans.MethodDescriptor;
+import java.beans.PropertyDescriptor;
+import java.beans.SimpleBeanInfo;
+import java.lang.reflect.Method;
+
+import org.apache.harmony.beans.tests.java.beans.MockPropertyChangeListener;
+
+/**
+ * test Introspector
+ */
+public class MockFooChildBeanInfo extends SimpleBeanInfo {
+
+	Class clazz = MockFooChild.class;
+
+	String suffix = ".MockFooChildBeanInfo";
+
+	public PropertyDescriptor[] getPropertyDescriptors() {
+		PropertyDescriptor[] pds = new PropertyDescriptor[1];
+		try {
+			PropertyDescriptor pd = new PropertyDescriptor("childName", clazz);
+			pd.setName(pd.getName() + suffix);
+			pds[0] = pd;
+		} catch (IntrospectionException e) {
+			e.printStackTrace();
+		}
+		return pds;
+	}
+
+	public MethodDescriptor[] getMethodDescriptors() {
+		MethodDescriptor[] mds = new MethodDescriptor[2];
+		try {
+			Method getMethod = clazz.getMethod("getChildName", (Class[])null);
+			Method setMethod = clazz.getMethod("setChildName",
+					new Class[] { String.class });
+			mds[0] = new MethodDescriptor(getMethod);
+			mds[0].setName(mds[0].getName() + suffix);
+
+			mds[1] = new MethodDescriptor(setMethod);
+			mds[1].setName(mds[1].getName() + suffix);
+
+		} catch (SecurityException e) {
+			e.printStackTrace();
+		} catch (NoSuchMethodException e) {
+			e.printStackTrace();
+		}
+		return mds;
+	}
+
+	public EventSetDescriptor[] getEventSetDescriptors() {
+		EventSetDescriptor[] esds = new EventSetDescriptor[1];
+		try {
+			EventSetDescriptor esd = new EventSetDescriptor(clazz,
+					"mockPropertyChange", MockPropertyChangeListener.class,
+					"mockPropertyChange");
+			esd.setName(esd.getName() + suffix);
+			esds[0] = esd;
+		} catch (IntrospectionException e) {
+			e.printStackTrace();
+		}
+		return esds;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLabel.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLabel.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLabel.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLabel.java Wed Jun  7 20:40:24 2006
@@ -1,40 +1,40 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.io.Serializable;
-
-/**
- * Test the default bean info search path.
- */
-public class MockFooLabel implements Serializable {
-	private String text;
-
-	/**
-	 * @return Returns the text.
-	 */
-	public String getText() {
-		return text;
-	}
-
-	/**
-	 * @param text
-	 *            The text to set.
-	 */
-	public void setText(String text) {
-		this.text = text;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.io.Serializable;
+
+/**
+ * Test the default bean info search path.
+ */
+public class MockFooLabel implements Serializable {
+	private String text;
+
+	/**
+	 * @return Returns the text.
+	 */
+	public String getText() {
+		return text;
+	}
+
+	/**
+	 * @param text
+	 *            The text to set.
+	 */
+	public void setText(String text) {
+		this.text = text;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLiYang.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLiYang.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLiYang.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLiYang.java Wed Jun  7 20:40:24 2006
@@ -1,46 +1,46 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.io.Serializable;
-
-/**
- * This class is used for Introspector test.
- */
-public class MockFooLiYang extends MockFooStop implements Serializable {
-
-	/**
-	 * Comment for <code>serialVersionUID</code>
-	 */
-	private static final long serialVersionUID = 1L;
-
-	private String name;
-
-	/**
-	 * @return Returns the name.
-	 */
-	public String getName() {
-		return name;
-	}
-
-	/**
-	 * @param name
-	 *            The name to set.
-	 */
-	public void setName(String name) {
-		this.name = name;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.io.Serializable;
+
+/**
+ * This class is used for Introspector test.
+ */
+public class MockFooLiYang extends MockFooStop implements Serializable {
+
+	/**
+	 * Comment for <code>serialVersionUID</code>
+	 */
+	private static final long serialVersionUID = 1L;
+
+	private String name;
+
+	/**
+	 * @return Returns the name.
+	 */
+	public String getName() {
+		return name;
+	}
+
+	/**
+	 * @param name
+	 *            The name to set.
+	 */
+	public void setName(String name) {
+		this.name = name;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLiYangBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLiYangBeanInfo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLiYangBeanInfo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooLiYangBeanInfo.java Wed Jun  7 20:40:24 2006
@@ -1,37 +1,37 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.beans.BeanDescriptor;
-import java.beans.SimpleBeanInfo;
-
-import org.apache.harmony.beans.tests.java.beans.EncoderTest;
-
-/**
- * test Introspector
- */
-public class MockFooLiYangBeanInfo extends SimpleBeanInfo {
-	private Class clazz = MockFoo.class;
-
-	private String suffix = ".BeanInfo";
-
-	public BeanDescriptor getBeanDescriptor() {
-		BeanDescriptor beanDesc = new BeanDescriptor(clazz);
-		beanDesc.setName(beanDesc.getName() + suffix);
-		beanDesc.setValue("persistenceDelegate", new EncoderTest.VerbosePD());
-		return beanDesc;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.beans.BeanDescriptor;
+import java.beans.SimpleBeanInfo;
+
+import org.apache.harmony.beans.tests.java.beans.EncoderTest;
+
+/**
+ * test Introspector
+ */
+public class MockFooLiYangBeanInfo extends SimpleBeanInfo {
+	private Class clazz = MockFoo.class;
+
+	private String suffix = ".BeanInfo";
+
+	public BeanDescriptor getBeanDescriptor() {
+		BeanDescriptor beanDesc = new BeanDescriptor(clazz);
+		beanDesc.setName(beanDesc.getName() + suffix);
+		beanDesc.setValue("persistenceDelegate", new EncoderTest.VerbosePD());
+		return beanDesc;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooStop.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooStop.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooStop.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooStop.java Wed Jun  7 20:40:24 2006
@@ -1,40 +1,40 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.io.Serializable;
-
-/**
- * test Introspector
- */
-public class MockFooStop implements Serializable {
-	private String label;
-
-	/**
-	 * @return Returns the label.
-	 */
-	public String getLabel() {
-		return label;
-	}
-
-	/**
-	 * @param label
-	 *            The label to set.
-	 */
-	public void setLabel(String label) {
-		this.label = label;
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.io.Serializable;
+
+/**
+ * test Introspector
+ */
+public class MockFooStop implements Serializable {
+	private String label;
+
+	/**
+	 * @return Returns the label.
+	 */
+	public String getLabel() {
+		return label;
+	}
+
+	/**
+	 * @param label
+	 *            The label to set.
+	 */
+	public void setLabel(String label) {
+		this.label = label;
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooSub.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooSub.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooSub.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooSub.java Wed Jun  7 20:40:24 2006
@@ -1,51 +1,51 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import org.apache.harmony.beans.tests.java.beans.MockPropertyChangeListener;
-
-/**
- * test Introspector
- */
-public class MockFooSub extends MockFooChild {
-
-	private String text;
-
-	/**
-	 * @return Returns the text.
-	 */
-	public String getText() {
-		return text;
-	}
-
-	/**
-	 * @param text
-	 *            The text to set.
-	 */
-	public void setText(String text) {
-		this.text = text;
-	}
-
-	public void addMockPropertyChangeListener(
-			MockPropertyChangeListener listener) {
-
-	}
-
-	public void removeMockPropertyChangeListener(
-			MockPropertyChangeListener listener) {
-
-	}
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import org.apache.harmony.beans.tests.java.beans.MockPropertyChangeListener;
+
+/**
+ * test Introspector
+ */
+public class MockFooSub extends MockFooChild {
+
+	private String text;
+
+	/**
+	 * @return Returns the text.
+	 */
+	public String getText() {
+		return text;
+	}
+
+	/**
+	 * @param text
+	 *            The text to set.
+	 */
+	public void setText(String text) {
+		this.text = text;
+	}
+
+	public void addMockPropertyChangeListener(
+			MockPropertyChangeListener listener) {
+
+	}
+
+	public void removeMockPropertyChangeListener(
+			MockPropertyChangeListener listener) {
+
+	}
+}

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooSubBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooSubBeanInfo.java?rev=412641&r1=412640&r2=412641&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooSubBeanInfo.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/mock/MockFooSubBeanInfo.java Wed Jun  7 20:40:24 2006
@@ -1,82 +1,82 @@
-/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
- * 
- * Licensed 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.harmony.beans.tests.java.beans.mock;
-
-import java.beans.EventSetDescriptor;
-import java.beans.IntrospectionException;
-import java.beans.MethodDescriptor;
-import java.beans.PropertyDescriptor;
-import java.beans.SimpleBeanInfo;
-import java.lang.reflect.Method;
-
-import org.apache.harmony.beans.tests.java.beans.MockPropertyChangeListener;
-
-/**
- * test Introspector
- */
-public class MockFooSubBeanInfo extends SimpleBeanInfo {
-
-	Class clazz = MockFooSub.class;
-
-	String suffix = ".MockFooSubBeanInfo";
-
-	public PropertyDescriptor[] getPropertyDescriptors() {
-		PropertyDescriptor[] pds = new PropertyDescriptor[1];
-		try {
-			PropertyDescriptor pd = new PropertyDescriptor("text", clazz);
-			pd.setName(pd.getName() + suffix);
-			pds[0] = pd;
-		} catch (IntrospectionException e) {
-			e.printStackTrace();
-		}
-		return pds;
-	}
-
-	public MethodDescriptor[] getMethodDescriptors() {
-		MethodDescriptor[] mds = new MethodDescriptor[2];
-		try {
-			Method getMethod = clazz.getMethod("getText", (Class[])null);
-			Method setMethod = clazz.getMethod("setText",
-					new Class[] { String.class });
-			mds[0] = new MethodDescriptor(getMethod);
-			mds[0].setName(mds[0].getName() + suffix);
-
-			mds[1] = new MethodDescriptor(setMethod);
-			mds[1].setName(mds[1].getName() + suffix);
-
-		} catch (SecurityException e) {
-			e.printStackTrace();
-		} catch (NoSuchMethodException e) {
-			e.printStackTrace();
-		}
-		return mds;
-	}
-
-	public EventSetDescriptor[] getEventSetDescriptors() {
-		EventSetDescriptor[] esds = new EventSetDescriptor[1];
-		try {
-			EventSetDescriptor esd = new EventSetDescriptor(clazz,
-					"mockPropertyChange", MockPropertyChangeListener.class,
-					"mockPropertyChange");
-			esd.setName(esd.getName() + suffix);
-			esds[0] = esd;
-		} catch (IntrospectionException e) {
-			e.printStackTrace();
-		}
-		return esds;
-	}
-
-}
+/* Copyright 2005 The Apache Software Foundation or its licensors, as applicable
+ * 
+ * Licensed 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.harmony.beans.tests.java.beans.mock;
+
+import java.beans.EventSetDescriptor;
+import java.beans.IntrospectionException;
+import java.beans.MethodDescriptor;
+import java.beans.PropertyDescriptor;
+import java.beans.SimpleBeanInfo;
+import java.lang.reflect.Method;
+
+import org.apache.harmony.beans.tests.java.beans.MockPropertyChangeListener;
+
+/**
+ * test Introspector
+ */
+public class MockFooSubBeanInfo extends SimpleBeanInfo {
+
+	Class clazz = MockFooSub.class;
+
+	String suffix = ".MockFooSubBeanInfo";
+
+	public PropertyDescriptor[] getPropertyDescriptors() {
+		PropertyDescriptor[] pds = new PropertyDescriptor[1];
+		try {
+			PropertyDescriptor pd = new PropertyDescriptor("text", clazz);
+			pd.setName(pd.getName() + suffix);
+			pds[0] = pd;
+		} catch (IntrospectionException e) {
+			e.printStackTrace();
+		}
+		return pds;
+	}
+
+	public MethodDescriptor[] getMethodDescriptors() {
+		MethodDescriptor[] mds = new MethodDescriptor[2];
+		try {
+			Method getMethod = clazz.getMethod("getText", (Class[])null);
+			Method setMethod = clazz.getMethod("setText",
+					new Class[] { String.class });
+			mds[0] = new MethodDescriptor(getMethod);
+			mds[0].setName(mds[0].getName() + suffix);
+
+			mds[1] = new MethodDescriptor(setMethod);
+			mds[1].setName(mds[1].getName() + suffix);
+
+		} catch (SecurityException e) {
+			e.printStackTrace();
+		} catch (NoSuchMethodException e) {
+			e.printStackTrace();
+		}
+		return mds;
+	}
+
+	public EventSetDescriptor[] getEventSetDescriptors() {
+		EventSetDescriptor[] esds = new EventSetDescriptor[1];
+		try {
+			EventSetDescriptor esd = new EventSetDescriptor(clazz,
+					"mockPropertyChange", MockPropertyChangeListener.class,
+					"mockPropertyChange");
+			esd.setName(esd.getName() + suffix);
+			esds[0] = esd;
+		} catch (IntrospectionException e) {
+			e.printStackTrace();
+		}
+		return esds;
+	}
+
+}