aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Grebac2014-04-30 12:44:10 (EDT)
committerTomas Kraus2014-05-01 11:44:13 (EDT)
commitb3ddc9ed1bfdf920b4571006929fe1b7cb2fd902 (patch)
treefc21811cdca4b80eef1f5efbb7271c656b042e7a
parent520c45010a3fdc5350ee781f0fa45dd7fc4a3705 (diff)
downloadeclipselink.runtime-b3ddc9ed1bfdf920b4571006929fe1b7cb2fd902.zip
eclipselink.runtime-b3ddc9ed1bfdf920b4571006929fe1b7cb2fd902.tar.gz
eclipselink.runtime-b3ddc9ed1bfdf920b4571006929fe1b7cb2fd902.tar.bz2
Fix for 433684 - removing unnecessary cast
Signed-off-by: Martin Grebac <martin.grebac@oracle.com>
-rw-r--r--sdo/org.eclipse.persistence.sdo/src/org/eclipse/persistence/sdo/SDOResolvable.java24
1 files changed, 12 insertions, 12 deletions
diff --git a/sdo/org.eclipse.persistence.sdo/src/org/eclipse/persistence/sdo/SDOResolvable.java b/sdo/org.eclipse.persistence.sdo/src/org/eclipse/persistence/sdo/SDOResolvable.java
index a439a7f..1360d71 100644
--- a/sdo/org.eclipse.persistence.sdo/src/org/eclipse/persistence/sdo/SDOResolvable.java
+++ b/sdo/org.eclipse.persistence.sdo/src/org/eclipse/persistence/sdo/SDOResolvable.java
@@ -1,8 +1,8 @@
-/*******************************************************************************
- * Copyright (c) 1998, 2012 Oracle and/or its affiliates. All rights reserved.
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
- * which accompanies this distribution.
+/*******************************************************************************
+ * Copyright (c) 1998, 2014 Oracle and/or its affiliates. All rights reserved.
+ * This program and the accompanying materials are made available under the
+ * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0
+ * which accompanies this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html
* and the Eclipse Distribution License is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
@@ -222,13 +222,13 @@ public class SDOResolvable implements ExternalizableDelegator.Resolvable {
// write path to the root
String aPath = theSDODataObject._getPath();
- objectOutput.writeUTF(aPath);
-
- // write root (via indirect recursion to SDOResolvable)
- ((ObjectOutputStream)objectOutput).writeObject(theSDODataObject.getRootObject());
- }
- }
-
+ objectOutput.writeUTF(aPath);
+
+ // write root (via indirect recursion to SDOResolvable)
+ objectOutput.writeObject(theSDODataObject.getRootObject());
+ }
+ }
+
/**
* Purpose: Deserialize from an ObjectInputStream into an SDODataObject This
* function is mandated by the Externalizable interface. It reads back