in progress
authorcmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Mon, 25 Apr 2011 21:38:59 +0000 (21:38 +0000)
committercmzmasek@gmail.com <cmzmasek@gmail.com@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Mon, 25 Apr 2011 21:38:59 +0000 (21:38 +0000)
forester/java/src/org/forester/ws/uniprot/EbiDbEntry.java
forester/java/src/org/forester/ws/uniprot/UniProtEntry.java

index 8adda22..98fe38d 100644 (file)
@@ -27,8 +27,6 @@ package org.forester.ws.uniprot;
 
 import java.util.List;
 
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
-
 public final class EbiDbEntry implements SequenceDatabaseEntry {
 
     //http://www.ebi.ac.uk/Tools/dbfetch/dbfetch/emb/AAR37336/
@@ -42,8 +40,8 @@ public final class EbiDbEntry implements SequenceDatabaseEntry {
     }
 
     @Override
-    public Object clone() {
-        throw new NotImplementedException();
+    public Object clone() throws CloneNotSupportedException {
+        throw new CloneNotSupportedException();
     }
 
     public static SequenceDatabaseEntry createInstanceFromPlainText( final List<String> lines ) {
index 222df5b..5a5568a 100644 (file)
@@ -38,6 +38,11 @@ public final class UniProtEntry implements SequenceDatabaseEntry {
     private UniProtEntry() {
     }
 
+    @Override
+    public Object clone() throws CloneNotSupportedException {
+        throw new CloneNotSupportedException();
+    }
+
     public static SequenceDatabaseEntry createInstanceFromPlainText( final List<String> lines ) {
         final UniProtEntry e = new UniProtEntry();
         for( final String line : lines ) {