commit | cd1a6499f5500480ffeb7934acc890af85c9e236 | [log] [tgz] |
---|---|---|
author | Jason Dillon <jdillon@apache.org> | Fri Dec 12 15:16:06 2008 +0000 |
committer | Jason Dillon <jdillon@apache.org> | Fri Dec 12 15:16:06 2008 +0000 |
tree | 1bd927a12cbbcf397e4896a6625b73c515895da7 | |
parent | 710534d2802402f0b9c3032dc9a02cb0bd83149d [diff] |
Suppress warnings git-svn-id: https://svn.apache.org/repos/asf/geronimo/gshell/trunk@726032 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java b/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java index 0c2b934..6c7ca34 100644 --- a/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java +++ b/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java
@@ -70,6 +70,7 @@ } } + @SuppressWarnings({"unchecked"}) public void set(final Object value) { assert value != null; @@ -79,7 +80,6 @@ try { Marshaller marshaller = xstore.getMarshaller(value.getClass()); output = new BufferedOutputStream(file.getContent().getOutputStream()); - // noinspection unchecked marshaller.marshal(value, output); } catch (FileSystemException e) {