harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ndbe...@apache.org
Subject svn commit: r470220 - in /incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute: EnumSyntax.java IntegerSyntax.java Size2DSyntax.java URISyntax.java standard/Media.java
Date Thu, 02 Nov 2006 04:12:15 GMT
Author: ndbeyer
Date: Wed Nov  1 20:12:14 2006
New Revision: 470220

URL: http://svn.apache.org/viewvc?view=rev&rev=470220
Log:
Add explicit serialVersionUID fields

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/EnumSyntax.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/IntegerSyntax.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/Size2DSyntax.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/URISyntax.java
    incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/standard/Media.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/EnumSyntax.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/EnumSyntax.java?view=diff&rev=470220&r1=470219&r2=470220
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/EnumSyntax.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/EnumSyntax.java
Wed Nov  1 20:12:14 2006
@@ -22,6 +22,8 @@
 import java.io.Serializable;
 
 public abstract class EnumSyntax implements Cloneable, Serializable {
+    private static final long serialVersionUID = -2739521845085831642L;
+    
     private final int value;
 
     protected EnumSyntax(int intValue) {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/IntegerSyntax.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/IntegerSyntax.java?view=diff&rev=470220&r1=470219&r2=470220
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/IntegerSyntax.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/IntegerSyntax.java
Wed Nov  1 20:12:14 2006
@@ -20,6 +20,8 @@
 import java.io.Serializable;
 
 public abstract class IntegerSyntax implements Cloneable, Serializable {
+    private static final long serialVersionUID = 3644574816328081943L;
+    
     private final int value;
 
     protected IntegerSyntax(int intValue) {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/Size2DSyntax.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/Size2DSyntax.java?view=diff&rev=470220&r1=470219&r2=470220
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/Size2DSyntax.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/Size2DSyntax.java
Wed Nov  1 20:12:14 2006
@@ -20,6 +20,8 @@
 import java.io.Serializable;
 
 public abstract class Size2DSyntax implements Cloneable, Serializable {
+    private static final long serialVersionUID = 5584439964938660530L;
+    
     public static final int INCH = 25400;
 
     public static final int MM = 1000;

Modified: incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/URISyntax.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/URISyntax.java?view=diff&rev=470220&r1=470219&r2=470220
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/URISyntax.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/URISyntax.java
Wed Nov  1 20:12:14 2006
@@ -21,12 +21,14 @@
 import java.net.URI;
 
 public abstract class URISyntax implements Cloneable, Serializable {
+    private static final long serialVersionUID = -7842661210486401678L;
+    
     private final URI uri;
 
     protected URISyntax(URI uriValue) {
         super();
         if (uriValue == null) {
-            throw new NullPointerException("Null uri value");
+            throw new NullPointerException();
         }
         uri = uriValue;
     }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/standard/Media.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/standard/Media.java?view=diff&rev=470220&r1=470219&r2=470220
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/standard/Media.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/print/src/main/java/common/javax/print/attribute/standard/Media.java
Wed Nov  1 20:12:14 2006
@@ -25,6 +25,8 @@
 
 public abstract class Media extends EnumSyntax implements DocAttribute, PrintJobAttribute,
         PrintRequestAttribute {
+    private static final long serialVersionUID = -2823970704630722439L;
+    
     protected Media(int value) {
         super(value);
     }



Mime
View raw message