[lsc-changes] r500 - in lsc/trunk/src: main/java/org/lsc/objects test/java/org/lsc/beans

jclarke at lsc-project.org jclarke at lsc-project.org
Mon Nov 30 00:21:53 CET 2009


Author: jclarke
Date: 2009-11-30 00:21:53 +0100 (Mon, 30 Nov 2009)
New Revision: 500

Modified:
   lsc/trunk/src/main/java/org/lsc/objects/account.java
   lsc/trunk/src/main/java/org/lsc/objects/organizationalPerson.java
   lsc/trunk/src/main/java/org/lsc/objects/organizationalUnit.java
   lsc/trunk/src/main/java/org/lsc/objects/person.java
   lsc/trunk/src/test/java/org/lsc/beans/personBean.java
Log:
Avoid warnings on deprecated classes that won't change

Modified: lsc/trunk/src/main/java/org/lsc/objects/account.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/objects/account.java	2009-11-29 23:06:55 UTC (rev 499)
+++ lsc/trunk/src/main/java/org/lsc/objects/account.java	2009-11-29 23:21:53 UTC (rev 500)
@@ -57,6 +57,7 @@
  * 		necessary, but kept for reverse compatibility. It will be
  * 		removed in LSC 1.3.
  */
+ at SuppressWarnings("unchecked")
 public class account extends top {
 
 	public account() {

Modified: lsc/trunk/src/main/java/org/lsc/objects/organizationalPerson.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/objects/organizationalPerson.java	2009-11-29 23:06:55 UTC (rev 499)
+++ lsc/trunk/src/main/java/org/lsc/objects/organizationalPerson.java	2009-11-29 23:21:53 UTC (rev 500)
@@ -55,6 +55,7 @@
  * 		necessary, but kept for reverse compatibility. It will be
  * 		removed in LSC 1.3.
  */
+ at SuppressWarnings("unchecked")
 public class organizationalPerson extends person {
 
     /**

Modified: lsc/trunk/src/main/java/org/lsc/objects/organizationalUnit.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/objects/organizationalUnit.java	2009-11-29 23:06:55 UTC (rev 499)
+++ lsc/trunk/src/main/java/org/lsc/objects/organizationalUnit.java	2009-11-29 23:21:53 UTC (rev 500)
@@ -55,6 +55,7 @@
  * 		necessary, but kept for reverse compatibility. It will be
  * 		removed in LSC 1.3.
  */
+ at SuppressWarnings("unchecked")
 public class organizationalUnit extends top {
 
     /**

Modified: lsc/trunk/src/main/java/org/lsc/objects/person.java
===================================================================
--- lsc/trunk/src/main/java/org/lsc/objects/person.java	2009-11-29 23:06:55 UTC (rev 499)
+++ lsc/trunk/src/main/java/org/lsc/objects/person.java	2009-11-29 23:21:53 UTC (rev 500)
@@ -55,6 +55,7 @@
  * 		necessary, but kept for reverse compatibility. It will be
  * 		removed in LSC 1.3.
  */
+ at SuppressWarnings("unchecked")
 public class person extends top {
 
     /**

Modified: lsc/trunk/src/test/java/org/lsc/beans/personBean.java
===================================================================
--- lsc/trunk/src/test/java/org/lsc/beans/personBean.java	2009-11-29 23:06:55 UTC (rev 499)
+++ lsc/trunk/src/test/java/org/lsc/beans/personBean.java	2009-11-29 23:21:53 UTC (rev 500)
@@ -11,6 +11,13 @@
 import org.lsc.objects.person;
 import org.lsc.objects.top;
 
+/**
+ * @deprecated
+ * 		This class was used in LSC 1.1 projects, and is no longer
+ * 		necessary, but kept for reverse compatibility. It will be
+ * 		removed in LSC 1.3.
+ */
+ at SuppressWarnings("serial")
 public class personBean extends AbstractBean implements IBean {
 
 	public static personBean getInstance(top myclass) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException, NamingException {



More information about the lsc-changes mailing list