[jboss-cvs] jboss-seam/src/main/org/jboss/seam/core ...
Peter Muir
peter at bleepbleep.org.uk
Tue Mar 6 11:56:48 EST 2007
User: pmuir
Date: 07/03/06 11:56:48
Modified: src/main/org/jboss/seam/core Image.java
Log:
better naming
Revision Changes Path
1.5 +4 -3 jboss-seam/src/main/org/jboss/seam/core/Image.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Image.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Image.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- Image.java 6 Mar 2007 15:21:11 -0000 1.4
+++ Image.java 6 Mar 2007 16:56:48 -0000 1.5
@@ -11,6 +11,7 @@
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
+import java.io.Serializable;
import java.net.URL;
import java.util.Arrays;
import java.util.Iterator;
@@ -41,7 +42,7 @@
@Scope(ScopeType.CONVERSATION)
@Install(precedence = Install.BUILT_IN)
@Intercept(InterceptionType.NEVER)
-public class Image
+public class Image implements Serializable
{
public enum Type
@@ -117,7 +118,7 @@
private static final Type DEFAULT_CONTENT_TYPE = Type.IMAGE_PNG;
- private Object input;
+ private transient Object input;
private byte[] output;
@@ -125,7 +126,7 @@
private Type contentType = DEFAULT_CONTENT_TYPE;
- private BufferedImage bufferedImage;
+ private transient BufferedImage bufferedImage;
public Image()
{
More information about the jboss-cvs-commits
mailing list