falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From srik...@apache.org
Subject [23/47] git commit: Fixing issue with entity::clone() method
Date Fri, 26 Apr 2013 15:50:39 GMT
Fixing issue with entity::clone() method


Project: http://git-wip-us.apache.org/repos/asf/incubator-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-falcon/commit/74a1c658
Tree: http://git-wip-us.apache.org/repos/asf/incubator-falcon/tree/74a1c658
Diff: http://git-wip-us.apache.org/repos/asf/incubator-falcon/diff/74a1c658

Branch: refs/heads/master
Commit: 74a1c6584d6e5c9f31636e0973e4573859a89edf
Parents: e69b220
Author: srikanth.sundarrajan <srikanth.sundarrajan@inmobi.com>
Authored: Tue Apr 16 23:50:06 2013 +0530
Committer: srikanth.sundarrajan <srikanth.sundarrajan@inmobi.com>
Committed: Tue Apr 16 23:50:06 2013 +0530

----------------------------------------------------------------------
 .../java/org/apache/falcon/entity/v0/Entity.java   |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-falcon/blob/74a1c658/client/src/main/java/org/apache/falcon/entity/v0/Entity.java
----------------------------------------------------------------------
diff --git a/client/src/main/java/org/apache/falcon/entity/v0/Entity.java b/client/src/main/java/org/apache/falcon/entity/v0/Entity.java
index 8759976..1929429 100644
--- a/client/src/main/java/org/apache/falcon/entity/v0/Entity.java
+++ b/client/src/main/java/org/apache/falcon/entity/v0/Entity.java
@@ -26,7 +26,7 @@ import java.io.StringWriter;
 /**
  * Base class that all entity jaxb object will extend.
  */
-public abstract class Entity implements Cloneable{
+public abstract class Entity {
     public abstract String getName();
 
     public EntityType getEntityType() {
@@ -89,8 +89,7 @@ public abstract class Entity implements Cloneable{
     }
 
     @Override
-    public Entity clone() throws CloneNotSupportedException {
-        Object ignore = super.clone();
+    public Entity clone() {
         return fromString(getEntityType(), toString());
     }
 }


Mime
View raw message