harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r473392 [1/3] - in /incubator/harmony/enhanced/classlib/trunk/modules: beans/src/main/java/java/beans/beancontext/ print/src/main/java/common/javax/print/attribute/ print/src/main/java/common/org/apache/harmony/x/print/ print/src/main/java/...
Date Fri, 10 Nov 2006 17:00:33 GMT
Author: ayza
Date: Fri Nov 10 09:00:32 2006
New Revision: 473392

URL: http://svn.apache.org/viewvc?view=rev&rev=473392
Log:
Adding serialVersionUIDs (HARMONY-1962) and other minor code updates 

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextEvent.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/MimeType.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ServiceUIDialog.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/attributes/MediaMargins.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/attributes/PPDMediaSizeName.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppAttributeGroup.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppAttributeGroupSet.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/IppException.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/ipp/util/IppMimeType.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/windows/org/apache/harmony/x/print/GDIClient.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextEvent.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextEvent.java?view=diff&rev=473392&r1=473391&r2=473392
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextEvent.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/beans/src/main/java/java/beans/beancontext/BeanContextEvent.java
Fri Nov 10 09:00:32 2006
@@ -21,6 +21,8 @@
 
 public abstract class BeanContextEvent extends EventObject {
 
+    static final long serialVersionUID = 7267998073569045052L;
+    
     /**
      * @serial
      */

Modified: incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java?view=diff&rev=473392&r1=473391&r2=473392
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/AttributeSetUtilities.java
Fri Nov 10 09:00:32 2006
@@ -14,11 +14,6 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-/** 
- * @author Elena V. Sayapina 
- * @version $Revision: 1.6 $ 
- */ 
-
 package javax.print.attribute;
 
 import java.io.Serializable;
@@ -29,6 +24,7 @@
     private static class SynchronizedAttributeSet
         implements AttributeSet, Serializable {
 
+        static final long serialVersionUID = 8365731020128564925L;
 
         private AttributeSet aset;
 
@@ -96,6 +92,8 @@
         extends SynchronizedAttributeSet
             implements DocAttributeSet, Serializable {
 
+        static final long serialVersionUID = 6455869095246629354L;
+        
         public SynchronizedDocAttributeSet(DocAttributeSet attributeSet) {
             super(attributeSet);
         }
@@ -105,6 +103,8 @@
         extends SynchronizedAttributeSet
             implements PrintJobAttributeSet, Serializable {
 
+        static final long serialVersionUID = 2117188707856965749L;
+        
         public SynchronizedPrintJobAttributeSet
                     (PrintJobAttributeSet attributeSet) {
                         super(attributeSet);
@@ -115,6 +115,8 @@
         extends SynchronizedAttributeSet
             implements PrintRequestAttributeSet, Serializable {
 
+        static final long serialVersionUID = 5671237023971169027L;
+        
         public SynchronizedPrintRequestAttributeSet
                     (PrintRequestAttributeSet attributeSet) {
                         super(attributeSet);
@@ -125,6 +127,8 @@
         extends SynchronizedAttributeSet
             implements PrintServiceAttributeSet, Serializable {
 
+        static final long serialVersionUID = -2830705374001675073L;
+        
         public SynchronizedPrintServiceAttributeSet
                     (PrintServiceAttributeSet attributeSet) {
                         super(attributeSet);
@@ -134,7 +138,8 @@
     private static class UnmodifiableAttributeSet
         implements AttributeSet, Serializable {
 
-
+        static final long serialVersionUID = -6131802583863447813L;
+        
         private AttributeSet aset;
 
         public UnmodifiableAttributeSet(AttributeSet attributeSet) {
@@ -201,6 +206,8 @@
         extends UnmodifiableAttributeSet
             implements DocAttributeSet, Serializable {
 
+        static final long serialVersionUID = -6349408326066898956L;
+        
         public UnmodifiableDocAttributeSet(DocAttributeSet attributeSet) {
             super(attributeSet);
         }
@@ -210,6 +217,8 @@
         extends UnmodifiableAttributeSet
             implements PrintJobAttributeSet, Serializable {
 
+        static final long serialVersionUID = -8002245296274522112L;
+        
         public UnmodifiablePrintJobAttributeSet
                     (PrintJobAttributeSet attributeSet) {
                         super (attributeSet);
@@ -220,6 +229,8 @@
         extends UnmodifiableAttributeSet
             implements PrintRequestAttributeSet, Serializable {
 
+        static final long serialVersionUID = 7799373532614825073L;
+        
         public UnmodifiablePrintRequestAttributeSet
                     (PrintRequestAttributeSet attributeSet) {
                         super(attributeSet);
@@ -230,6 +241,8 @@
         extends UnmodifiableAttributeSet
             implements PrintServiceAttributeSet, Serializable {
 
+        static final long serialVersionUID = -7112165137107826819L;
+        
         public UnmodifiablePrintServiceAttributeSet
                     (PrintServiceAttributeSet attributeSet) {
                         super(attributeSet);

Modified: incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/MimeType.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/MimeType.java?view=diff&rev=473392&r1=473391&r2=473392
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/MimeType.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/org/apache/harmony/x/print/MimeType.java
Fri Nov 10 09:00:32 2006
@@ -14,10 +14,6 @@
  *  See the License for the specific language governing permissions and
  *  limitations under the License.
  */
-/** 
- * @author Irina A. Arkhipets 
- * @version $Revision: 1.3 $ 
- */ 
 
 /*
  * MimeType.java
@@ -31,6 +27,8 @@
 import java.util.Vector;
 
 public class MimeType implements Serializable, Cloneable {
+    
+    static final long serialVersionUID = -1062742668693502508L;
 
     private String aType = null; // Media type
     private String aSubtype = null; // Media subtype



Mime
View raw message