You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/12/12 16:16:06 UTC

svn commit: r726032 - /geronimo/gshell/trunk/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java

Author: jdillon
Date: Fri Dec 12 07:16:06 2008
New Revision: 726032

URL: http://svn.apache.org/viewvc?rev=726032&view=rev
Log:
Suppress warnings

Modified:
    geronimo/gshell/trunk/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java

Modified: geronimo/gshell/trunk/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java?rev=726032&r1=726031&r2=726032&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java (original)
+++ geronimo/gshell/trunk/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java Fri Dec 12 07:16:06 2008
@@ -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) {