incubator-directmemory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simone Tripodi <simonetrip...@apache.org>
Subject Re: svn commit: r1293273 - /incubator/directmemory/trunk/integrations/solr/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java
Date Fri, 24 Feb 2012 14:45:53 GMT
merci, that is the way to go!

apologize for the breakage ;(

can you please turn off the TABS from the format?
TIA!
-Simo

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/



On Fri, Feb 24, 2012 at 3:40 PM,  <bperroud@apache.org> wrote:
> Author: bperroud
> Date: Fri Feb 24 14:40:33 2012
> New Revision: 1293273
>
> URL: http://svn.apache.org/viewvc?rev=1293273&view=rev
> Log:
> DIRECTMEMORY-71 : preserve initial logic
>
> Modified:
>    incubator/directmemory/trunk/integrations/solr/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java
>
> Modified: incubator/directmemory/trunk/integrations/solr/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java
> URL: http://svn.apache.org/viewvc/incubator/directmemory/trunk/integrations/solr/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java?rev=1293273&r1=1293272&r2=1293273&view=diff
> ==============================================================================
> --- incubator/directmemory/trunk/integrations/solr/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java
(original)
> +++ incubator/directmemory/trunk/integrations/solr/src/main/java/org/apache/directmemory/examples/solr/SolrOffHeapCache.java
Fri Feb 24 14:40:33 2012
> @@ -107,15 +107,14 @@ public class SolrOffHeapCache<K, V>
>             Serializer serializer = null;
>             try
>             {
> -
>                 serializer = SerializerFactory.createNewSerializer( serializerClassName
);
>             }
>             catch ( SerializerNotFoundException e )
>             {
> -                // ignore and revert to default one
> -                // TODO olamy log that ?
> +               log.warn("Serializer not found for class " + serializerClassName
+
> +                               ", falling back to the default serializer");
> +               serializer = SerializerFactory.createNewSerializer();
>             }
> -            serializer = SerializerFactory.createNewSerializer();
>
>             cacheService.setSerializer( serializer );
>         }
>
>

Mime
View raw message