geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r726032 - /geronimo/gshell/trunk/gshell-support/gshell-xstore/src/main/java/org/apache/geronimo/gshell/xstore/XStoreRecordImpl.java
Date Fri, 12 Dec 2008 15:16:06 GMT
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) {



Mime
View raw message