From ab92f4ec859413b2d3612068dfb21d741fb389a3 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 6 May 2008 13:52:12 +0000 Subject: Code cleanup: add @Override annotations, remove unused imports, remove dead code and add @Deprecated annotations. --- src/main/java/com/amazon/carbonado/lob/CharArrayClob.java | 1 + src/main/java/com/amazon/carbonado/lob/StringClob.java | 2 ++ 2 files changed, 3 insertions(+) (limited to 'src/main/java/com/amazon/carbonado/lob') diff --git a/src/main/java/com/amazon/carbonado/lob/CharArrayClob.java b/src/main/java/com/amazon/carbonado/lob/CharArrayClob.java index 1472da3..ddba889 100644 --- a/src/main/java/com/amazon/carbonado/lob/CharArrayClob.java +++ b/src/main/java/com/amazon/carbonado/lob/CharArrayClob.java @@ -100,6 +100,7 @@ public class CharArrayClob extends AbstractClob { return mLength; } + @Override public synchronized String asString() { return new String(mData, 0, mLength); } diff --git a/src/main/java/com/amazon/carbonado/lob/StringClob.java b/src/main/java/com/amazon/carbonado/lob/StringClob.java index fe9b05d..663e20b 100644 --- a/src/main/java/com/amazon/carbonado/lob/StringClob.java +++ b/src/main/java/com/amazon/carbonado/lob/StringClob.java @@ -63,6 +63,7 @@ public class StringClob extends AbstractClob { return mStr.length(); } + @Override public String asString() { return mStr; } @@ -83,6 +84,7 @@ public class StringClob extends AbstractClob { throw denied(); } + @Override public void setValue(String value) throws PersistException { denied(); } -- cgit v1.2.3