Re: Best Home for Checksum Implementations?

2017-01-25 Thread Niall Pemberton
On Tue, Jan 24, 2017 at 10:51 AM, sebb wrote: > I think Validator has some checksum code. > Yes, theres a checkdigit package: http://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/checkdigit/package-summary.html Niall > > On 24 January 2017 at 10:1

Re: JCS jcache examples specifically with spring caching

2017-01-25 Thread Romain Manni-Bucau
2017-01-25 20:37 GMT+01:00 Tim Cronin : > still playing around with the jcache impl (see attached) > > I created the cache using jcache functionality but if I try to access it > via native jcs it shows the cache as empty. > > Right, we isolate managers to avoid issues (the singleton pattern taking

Re: [OT][ALL] Eclipse Neon not saving credentials on MacOS/X

2017-01-25 Thread sebb
On 25 January 2017 at 20:02, Gary Gregory wrote: > Sounds painful. What changed? Just the Neon version? Could this be related > to a change in the JDK/JRE? It happened some while ago so I don't know what changed. > G > > On Jan 25, 2017 5:31 AM, "sebb" wrote: > >> I'm currently using Eclipse Ne

Re: [OT][ALL] Eclipse Neon not saving credentials on MacOS/X

2017-01-25 Thread Gary Gregory
Sounds painful. What changed? Just the Neon version? Could this be related to a change in the JDK/JRE? G On Jan 25, 2017 5:31 AM, "sebb" wrote: > I'm currently using Eclipse Neon.2 on Mac OS/X (El Capitan) > > I used to be able to save the SVN and Git passwords in my login > keychain, but that

Re: JCS jcache examples specifically with spring caching

2017-01-25 Thread Tim Cronin
still playing around with the jcache impl (see attached) I created the cache using jcache functionality but if I try to access it via native jcs it shows the cache as empty. so you're are unable to manage the caches via JCSAdmin. but could have something misconfigured public final class CacheI

[GitHub] commons-rdf pull request #31: COMMONSRDF-54: overloads of RDF4J#asRDFTerm

2017-01-25 Thread ghxiao
GitHub user ghxiao opened a pull request: https://github.com/apache/commons-rdf/pull/31 COMMONSRDF-54: overloads of RDF4J#asRDFTerm Resolves: COMMONSRDF-54 This PR adds three overloaded methods into the class RDF4J: RDF4JBlankNode asRDFTerm(final org.eclipse.rdf4j.m

Re: JCS jcache examples specifically with spring caching

2017-01-25 Thread Romain Manni-Bucau
Hi this is not the way to use JCache in spring, Use spring method factory bean to do: provider=Caching.getCachingProvider(), destroy method will be close() then you can do through the same factory: // the provider can give you default values for these params if you want manager=provider.getCach

JCS jcache examples specifically with spring caching

2017-01-25 Thread Tim Cronin
I'm trying to leverage Spring caching using jcs cache the javadocs show only ctor for the JCSCachingManager. https://commons.apache.org/proper/commons-jcs/commons-jcs-jcache/apidocs/src-html/org/apache/commons/jcs/jcache/JCSCachingManager.html#line.83 but i pass in what seems more like default val

[OT][ALL] Eclipse Neon not saving credentials on MacOS/X

2017-01-25 Thread sebb
I'm currently using Eclipse Neon.2 on Mac OS/X (El Capitan) I used to be able to save the SVN and Git passwords in my login keychain, but that does not work any more. I think it stopped working with Neon. The most I can do is save the credentials for the current session, which is quite annoying.