Skip to content

Commit

Permalink
Removed ERXEOSerializationUtilities since it is not necessary anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
nullterminated committed May 31, 2012
1 parent 3eb5237 commit 4a98a64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 315 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
* included with this distribution in the LICENSE.NPL file. */
package er.directtoweb.components;

import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;

import org.apache.log4j.Logger;

import com.webobjects.appserver.WOContext;
Expand All @@ -24,7 +20,6 @@
import com.webobjects.foundation.NSMutableArray;

import er.extensions.foundation.ERXArrayUtilities;
import er.extensions.foundation.ERXEOSerializationUtilities;

/**
* Superclass for most of the custom edit components. <br />
Expand All @@ -37,7 +32,7 @@ public abstract class ERDCustomEditComponent extends ERDCustomComponent {
* See section 5.6 <cite>Type Changes Affecting Serialization</cite> on page 51 of the
* <a href="http://java.sun.com/j2se/1.4/pdf/serial-spec.pdf">Java Object Serialization Spec</a>
*/
private static final long serialVersionUID = 1L;
private static final long serialVersionUID = 2L;

/** logging support */
public final static Logger log = Logger.getLogger(ERDCustomEditComponent.class);
Expand All @@ -63,19 +58,7 @@ public ERDCustomEditComponent(WOContext context) {
private EOEnterpriseObject object;
protected EOEditingContext editingContext;

private void writeObject(ObjectOutputStream out) throws IOException {
out.writeObject(_defaultSortOrderingsForDestinationEntity);
out.writeObject(editingContext);
ERXEOSerializationUtilities.writeEO(out, object);
}

private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
_defaultSortOrderingsForDestinationEntity = (NSArray) in.readObject();
editingContext = (EOEditingContext) in.readObject();
object = ERXEOSerializationUtilities.readEO(in);
}

public Object objectPropertyValue() {
public Object objectPropertyValue() {
return objectKeyPathValue();
}
public void setObjectPropertyValue(Object newValue) {
Expand Down

This file was deleted.

0 comments on commit 4a98a64

Please sign in to comment.