Re: [VOTE] Release Apache Jackrabbit 2.8.7

2017-12-29 Thread Dave Brosius
[x] +1 Release this package as Apache Jackrabbit 2.8.7 On 12/29/2017 10:06 AM, Julian Reschke wrote: A candidate for the Jackrabbit 2.8.7 release is available at:     https://dist.apache.org/repos/dist/dev/jackrabbit/2.8.7/ The release candidate is a zip archive of the sources in:     https:

[jira] [Resolved] (JCR-4238) use StandardCharsets to avoid having to handle UnsupportedEncodingException

2017-12-25 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius resolved JCR-4238. --- Resolution: Fixed Committed revision 1819271. > use StandardCharsets to avoid having to han

[jira] [Updated] (JCR-4238) use StandardCharsets to avoid having to handle UnsupportedEncodingException

2017-12-25 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-4238: -- Attachment: JCR-4238.txt > use StandardCharsets to avoid having to handle UnsupportedEncodingExcept

[jira] [Created] (JCR-4238) use StandardCharsets to avoid having to handle UnsupportedEncodingException

2017-12-25 Thread Dave Brosius (JIRA)
Dave Brosius created JCR-4238: - Summary: use StandardCharsets to avoid having to handle UnsupportedEncodingException Key: JCR-4238 URL: https://issues.apache.org/jira/browse/JCR-4238 Project: Jackrabbit

[jira] [Resolved] (JCR-4237) cleanup throws clauses of private methods

2017-12-25 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius resolved JCR-4237. --- Resolution: Fixed Committed revision 1819269 > cleanup throws clauses of private meth

[jira] [Updated] (JCR-4237) cleanup throws clauses of private methods

2017-12-25 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-4237: -- Attachment: JCR-4237.txt > cleanup throws clauses of private meth

[jira] [Created] (JCR-4237) cleanup throws clauses of private methods

2017-12-25 Thread Dave Brosius (JIRA)
Dave Brosius created JCR-4237: - Summary: cleanup throws clauses of private methods Key: JCR-4237 URL: https://issues.apache.org/jira/browse/JCR-4237 Project: Jackrabbit Content Repository Issue

[jira] [Updated] (JCR-4160) simplify char encoding by using StandardCharsets

2017-07-04 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-4160: -- Summary: simplify char encoding by using StandardCharsets (was: simple char encoding by using

[jira] [Updated] (JCR-4160) simple char encoding by using StandardCharsets

2017-07-04 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-4160: -- Attachment: jcr-4160.txt > simple char encoding by using StandardChars

[jira] [Created] (JCR-4160) simple char encoding by using StandardCharsets

2017-07-04 Thread Dave Brosius (JIRA)
Dave Brosius created JCR-4160: - Summary: simple char encoding by using StandardCharsets Key: JCR-4160 URL: https://issues.apache.org/jira/browse/JCR-4160 Project: Jackrabbit Content Repository

[jira] [Updated] (JCR-4159) push down code to where/until it's needed

2017-07-04 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-4159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-4159: -- Attachment: jcr-4159.txt > push down code to where/until it'

[jira] [Created] (JCR-4159) push down code to where/until it's needed

2017-07-04 Thread Dave Brosius (JIRA)
Dave Brosius created JCR-4159: - Summary: push down code to where/until it's needed Key: JCR-4159 URL: https://issues.apache.org/jira/browse/JCR-4159 Project: Jackrabbit Content Repository

curious o.a.j.c.d.GarbageCollector.checkObservationException

2013-08-24 Thread Dave Brosius
Is this method supposed to be throwing an exception? Currently it just creates one and ignores it. private void checkObservationException() throws RepositoryException { RepositoryException e = observationException; if (e != null) { observationException = null;

curious o.a.j.c.d.GarbageCollector.checkObservationException

2013-08-24 Thread Dave Brosius
Is this method supposed to be throwing an exception? Currently it just creates one and ignores it. private void checkObservationException() throws RepositoryException { RepositoryException e = observationException; if (e != null) { observationException = null;

Curious code in QueryEngine.execute

2013-07-25 Thread Dave Brosius
QueryEngine.execute(JoinMerger merger, ConstraintSplitInfo csInfo, boolean isOuterJoin, int printIndentation) does if (leftRows == null || leftRows.isEmpty()) { return merger.merge(new RowIteratorAdapter(leftRows), new RowIteratorAdapter(n

[jira] [Created] (JCR-3532) GarbageCollector.checkObservationException creates exception but doesn't throw it

2013-03-08 Thread Dave Brosius (JIRA)
Dave Brosius created JCR-3532: - Summary: GarbageCollector.checkObservationException creates exception but doesn't throw it Key: JCR-3532 URL: https://issues.apache.org/jira/browse/JCR-3532 Pr

Re: svn commit: r1299243 - in /jackrabbit/sandbox/jackrabbit-mongo-persistence: README.txt pom.xml src/main/java/org/apache/jackrabbit/core/persistence/mongo/MongoPersistenceManager.java

2012-03-10 Thread Dave Brosius
The drivers are apache2 if that matters any. On 03/10/2012 02:38 PM, Roy T. Fielding wrote: Why MongoDB? It is under an incompatible license, so we'd never be able to distribute this pm. Roy On Mar 10, 2012, at 9:56 AM, ste...@apache.org wrote: Author: stefan Date: Sat Mar 10 17:56:34 2

[jira] [Created] (JCR-3189) JCARepositoryManager.createNonTransientRepository throws NPE with no JCAManagedConnectionFactory.CONFIGFILE_KEY

2011-12-20 Thread Dave Brosius (Created) (JIRA)
://issues.apache.org/jira/browse/JCR-3189 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-jca Reporter: Dave Brosius Priority: Minor JCARepositoryManager.createNonTransientRepository fails if String configFile

LuceneQueryBuilder.visit on RelationQueryNode seems to handle null relPaths oddly

2011-12-20 Thread Dave Brosius
Seems like absolute paths with similar and spellcheck operations are flawed if I'm reading the code correctly. public Object visit(RelationQueryNode node, Object data) throws RepositoryException { PathQueryNode relPath = node.getRelativePath(); if (*relPath* == null && no

Curious synchronous code

2011-11-10 Thread Dave Brosius
In QueryStatImpl.java public void setSlowQueriesQueueSize(int size) { synchronized (*queries*) { this.queueSize = size; this.*queries* = new PriorityQueue(this.queueSize + 1, comparator); } } this seems really odd to me, code

seemingly incorrect if guard

2011-10-16 Thread Dave Brosius
Greetings, org.apache.jackrabbit.webdav.security.report.AclPrincipalReport.java does the following This logic seems wrong to me *if (href == null && respMap.containsKey(href)) {* i'd expect it should be || correct? @Override public void init(DavResource resource, ReportInfo info) thr

Curious method definition

2011-10-11 Thread Dave Brosius
The following method in class / / /org.apache.jackrabbit.spi.commons.QNodeTypeDefinitionImpl / would appear to return a set of serializable property definitions. However, it would appear that it just returns a set-version of the passed in parameter, irrespective of whether the property defs

CompareTo code seems odd, ok?

2011-10-08 Thread Dave Brosius
This comparator seems odd to me, as it never returns (d) but perhaps i'm confused, is it ok? org.apache.jackrabbit.core.query.lucene.sort.ValueComparableWrapper public int compareTo(ValueComparableWrapper o) { final int d = compare(v, o.getValue()); if (d != 0) { if

CompareTo code seems odd, ok?

2011-10-07 Thread Dave Brosius
This comparator seems odd to me, as it never returns (d) but perhaps i'm confused, is it ok? org.apache.jackrabbit.core.query.lucene.sort.ValueComparableWrapper public int compareTo(ValueComparableWrapper o) { final int d = compare(v, o.getValue()); if (d != 0) { if

[jira] [Commented] (JCR-2929) Various places do map lookups in loop instead of using entrySet iterator

2011-03-24 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010664#comment-13010664 ] Dave Brosius commented on JCR-2929: --- ok, sorry. > Various places do map lookups

[jira] [Commented] (JCR-2929) Various places do map lookups in loop instead of using entrySet iterator

2011-03-23 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010544#comment-13010544 ] Dave Brosius commented on JCR-2929: --- Committed revision 1084832 > Various places

[jira] [Resolved] (JCR-2929) Various places do map lookups in loop instead of using entrySet iterator

2011-03-23 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius resolved JCR-2929. --- Resolution: Fixed > Various places do map lookups in loop instead of using entrySet itera

[jira] [Created] (JCR-2929) Various places do map lookups in loop instead of using entrySet iterator

2011-03-23 Thread Dave Brosius (JIRA)
Issue Type: Improvement Components: jackrabbit-core Affects Versions: 2.2.4 Reporter: Dave Brosius Priority: Trivial Fix For: 2.2.5 Various places loop over a keyset iterator and do a map look up each time thru the loop, I plan to

[jira] [Resolved] (JCR-2926) DefaultProtectedPropertyImporter masks several fields from parent, causing potential derived classes to not perform correctly

2011-03-22 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius resolved JCR-2926. --- Resolution: Fixed > DefaultProtectedPropertyImporter masks several fields from parent, caus

[jira] [Commented] (JCR-2926) DefaultProtectedPropertyImporter masks several fields from parent, causing potential derived classes to not perform correctly

2011-03-22 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010007#comment-13010007 ] Dave Brosius commented on JCR-2926: --- Committed revision 108

[jira] [Created] (JCR-2926) DefaultProtectedPropertyImporter masks several fields from parent, causing potential derived classes to not perform correctly

2011-03-22 Thread Dave Brosius (JIRA)
URL: https://issues.apache.org/jira/browse/JCR-2926 Project: Jackrabbit Content Repository Issue Type: Improvement Components: jackrabbit-core Affects Versions: 2.2.4 Reporter: Dave Brosius Priority: Trivial Fix For: 2.2.5

[jira] [Resolved] (JCR-2925) Various inner classes maintain references to owning class for no reason

2011-03-22 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius resolved JCR-2925. --- Resolution: Fixed > Various inner classes maintain references to owning class for no rea

[jira] [Commented] (JCR-2925) Various inner classes maintain references to owning class for no reason

2011-03-22 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009995#comment-13009995 ] Dave Brosius commented on JCR-2925: --- Committed revision 1084477 > Various inner

[jira] [Created] (JCR-2925) Various inner classes maintain references to owning class for no reason

2011-03-22 Thread Dave Brosius (JIRA)
Issue Type: Improvement Components: jackrabbit-core Affects Versions: 2.2.4 Reporter: Dave Brosius Priority: Trivial Fix For: 2.2.5 Various inner classes maintain references to their owning classes for no reason, as they are independent

[jira] Commented: (JCRRMI-30) Serializable Binary synchronizes readObject unnecessarily

2011-03-16 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCRRMI-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13007812#comment-13007812 ] Dave Brosius commented on JCRRMI-30: Committed revision 1082398 to

[jira] Resolved: (JCRRMI-30) Serializable Binary synchronizes readObject unnecessarily

2011-03-16 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCRRMI-30?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius resolved JCRRMI-30. Resolution: Fixed > Serializable Binary synchronizes readObject unnecessar

[jira] Created: (JCRRMI-30) Serializable Binary synchronizes readObject unnecessarily

2011-03-16 Thread Dave Brosius (JIRA)
Affects Versions: 2.1.0 Reporter: Dave Brosius Priority: Trivial Fix For: 2.1.0 readObject, like constructors, are thread safe being only reachable by one thread. I'm removing the synchronized attribu

[jira] Updated: (JCR-2899) [patch] fix uppercase/lowercase handling for not equal to

2011-02-17 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-2899: -- Attachment: fix_switch_falls.diff > [patch] fix uppercase/lowercase handling for not equal

[jira] Created: (JCR-2899) [patch] fix uppercase/lowercase handling for not equal to

2011-02-17 Thread Dave Brosius (JIRA)
Components: jackrabbit-core Affects Versions: 2.2.4 Reporter: Dave Brosius Priority: Trivial Fix For: 2.3.0 Attachments: fix_switch_falls.diff code is missing breaks in switch statements, which causes both uppercase and lowercase terms to

[jira] Created: (JCR-2898) [patch] remove bogus test

2011-02-17 Thread Dave Brosius (JIRA)
Versions: 2.2.4 Reporter: Dave Brosius Priority: Trivial Fix For: 2.3.0 Attachments: remove_bogus_test.diff code checks an int to see if it's bigger than MAX_VALUE which is impossible -- removed. -- This message is automatically generated by

[jira] Updated: (JCR-2898) [patch] remove bogus test

2011-02-17 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-2898: -- Attachment: remove_bogus_test.diff > [patch] remove bogus t

[jira] Created: (JCR-2436) webdav's PropertyDefinitionImpl's toXML doesn't seem to attach query operators element to the returned dom

2009-12-11 Thread Dave Brosius (JIRA)
sues.apache.org/jira/browse/JCR-2436 Project: Jackrabbit Content Repository Issue Type: Bug Components: jackrabbit-webdav Affects Versions: 2.0-alpha1 Reporter: Dave Brosius Priority: Trivial Fix For: 2.0.0 PropertyDefinition

[jira] Updated: (JCR-2435) [patch] Fix overly specific casting in core

2009-12-11 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-2435: -- Attachment: oc.diff > [patch] Fix overly specific casting in c

[jira] Created: (JCR-2435) [patch] Fix overly specific casting in core

2009-12-11 Thread Dave Brosius (JIRA)
: jackrabbit-core Affects Versions: 2.0-beta3 Reporter: Dave Brosius Priority: Trivial Fix For: 2.0-beta4 several places in core, casts are made to overly concrete classes when, interfaces are only needed. Doing so ties the algorithms to specific

[jira] Updated: (JCR-2392) [patch] QValueFactoryImpl.equals doesn't do compare correctly

2009-11-14 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-2392: -- Status: In Progress (was: Patch Available) > [patch] QValueFactoryImpl.equals doesn't do

[jira] Updated: (JCR-2392) [patch] QValueFactoryImpl.equals doesn't do compare correctly

2009-11-14 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-2392: -- Status: Patch Available (was: Open) > [patch] QValueFactoryImpl.equals doesn't do compare c

[jira] Updated: (JCR-2392) [patch] QValueFactoryImpl.equals doesn't do compare correctly

2009-11-14 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-2392: -- Attachment: equals_fix.diff > [patch] QValueFactoryImpl.equals doesn't do compare c

[jira] Created: (JCR-2392) [patch] QValueFactoryImpl.equals doesn't do compare correctly

2009-11-14 Thread Dave Brosius (JIRA)
Type: Bug Components: jackrabbit-spi2dav Affects Versions: 1.6.0 Reporter: Dave Brosius Priority: Minor Fix For: 1.6.1 Attachments: equals_fix.diff equals compares it's uri to it's own uri, as poosed to the other one.

Re: Pain Trying FirstHop application

2009-11-11 Thread Dave Brosius
iles because they are one. You can use other types of repositories that this is not the case. -Original Message- From: "Greg Akins" Sent: Wednesday, November 11, 2009 3:50pm To: "Dave Brosius" Cc: dev@jackrabbit.apache.org Subject: Re: Pain Trying FirstHop application

RE: Pain Trying FirstHop application

2009-11-11 Thread Dave Brosius
try deleting your repository directory and doing it again. My guess is that you created that file when your class path wasn't right. -Original Message- From: "Greg Akins" Sent: Wednesday, November 11, 2009 3:29pm To: dev@jackrabbit.apache.org Subject: Pain Trying FirstHop application I'

[jira] Updated: (JCR-2299) [patch] bad check for null attribute in import

2009-09-07 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-2299: -- Status: Patch Available (was: Open) > [patch] bad check for null attribute in imp

[jira] Updated: (JCR-2299) [patch] bad check for null attribute in import

2009-09-07 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-2299: -- Attachment: svname_check.diff > [patch] bad check for null attribute in imp

[jira] Created: (JCR-2299) [patch] bad check for null attribute in import

2009-09-07 Thread Dave Brosius (JIRA)
Components: jackrabbit-core Reporter: Dave Brosius Priority: Minor sax content handler checks the wrong variable to see if it's null in SysViewImportHandler name vs. svName patch fixes this -- This message is automatically generated by JIRA. - You can reply to this ema

RE: Problem building jackrabbit-core-1.6.0.jar

2009-08-13 Thread Dave Brosius
>>Caused by: java.lang.OutOfMemoryError: Java heap space try bumping up maven memory MAVEN_OPTS=-Xmx512m -Original Message- From: "arcas...@gmail.com" Sent: Thursday, August 13, 2009 7:52am To: dev@jackrabbit.apache.org Subject: Problem building jackrabbit-core-1.6.0.jar Hello, I've d

Re: System.getSecurityManager(); is null

2009-07-14 Thread Dave Brosius
I take it then that bioimagene is a standalone application, and not one that runs in a web server or applet, or container of any kind? -Original Message- From: "ndesk1900" Sent: Tuesday, July 14, 2009 4:00pm To: dev@jackrabbit.apache.org Subject: Re: System.getSecurityManager(); is null

RE: unsubscribe

2009-07-06 Thread Dave Brosius
You want to send that message to dev-unsubscr...@jackrabbit.apache.org -Original Message- From: dan.dam...@codesphere.ro Sent: Monday, July 6, 2009 11:51am To: dev@jackrabbit.apache.org Subject: unsubscribe Dan Damian Software Development Manager Tel:(+40) 767 90 17 80 [http://www.c

[jira] Commented: (JCR-1968) [PATCH] Give the GC a break

2009-02-05 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670992#action_12670992 ] Dave Brosius commented on JCR-1968: --- Ah sorry, i thought i saw 1.5 in the ocm pom,

[jira] Created: (JCR-1968) [PATCH] Give the GC a break

2009-02-04 Thread Dave Brosius (JIRA)
Versions: 1.6.0 Reporter: Dave Brosius Priority: Trivial Fix For: 1.6.0 Attachments: ease_the_gc.diff Code creates new objects for Booleans, when can just use the constants new Boolean vs. Boolean.valueOf No need to create all these objects for the gc to

[jira] Updated: (JCR-1968) [PATCH] Give the GC a break

2009-02-04 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1968: -- Attachment: ease_the_gc.diff > [PATCH] Give the GC a br

[jira] Created: (JCR-1967) Impossible comparison in NodeTypeImpl

2009-02-04 Thread Dave Brosius (JIRA)
Affects Versions: 1.6.0 Reporter: Dave Brosius Priority: Minor Fix For: 1.6.0 org.apache.jackrabbit.jcr2spi.nodetype.NodeTypeImpl does public boolean isNodeType(Name nodeTypeName) { return getName().equals(nodeTypeName) || ent.includesNodeType

[jira] Updated: (JCR-1966) [PATCH] Remove Stutter in NodeState

2009-02-04 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1966: -- Attachment: remove_stutter.diff > [PATCH] Remove Stutter in NodeSt

[jira] Created: (JCR-1966) [PATCH] Remove Stutter in NodeState

2009-02-04 Thread Dave Brosius (JIRA)
-rmi Affects Versions: 1.6.0 Reporter: Dave Brosius Fix For: 1.6.0 Code duplicates code for no reason Index: src/main/java/org/apache/jackrabbit/jcr2spi/state/NodeState.java === --- src/main/java/org/apache

[jira] Created: (JCR-1965) [PATCH] Remove Stutter in ItemValidator

2009-02-04 Thread Dave Brosius (JIRA)
: jackrabbit-core Affects Versions: 1.6.0 Reporter: Dave Brosius Priority: Trivial Fix For: 1.6.0 Attachments: remove_stutter.diff ItemValidator duplicates code for no reason. Remove the duplication if (permissions > Permission.N

[jira] Updated: (JCR-1965) [PATCH] Remove Stutter in ItemValidator

2009-02-04 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1965: -- Attachment: remove_stutter.diff > [PATCH] Remove Stutter in ItemValida

Re: how to Connect to the Repository

2008-09-22 Thread Dave Brosius
the implementation of JSR170 for the exist db? Dave Brosius-2 wrote: Assuming you have written an implementation of JSR170 for the exist db, you would do Repository r = new ExistDBRespository(); Session s = r.login(new ExistCredentials()); Node n = s.getRootNode(); .. . As others

Re: how to Connect to the Repository

2008-09-22 Thread Dave Brosius
Assuming you have written an implementation of JSR170 for the exist db, you would do Repository r = new ExistDBRespository(); Session s = r.login(new ExistCredentials()); Node n = s.getRootNode(); .. . As others have said, this is an enormous undertaking, and one you probably are

Re: How to use jsr170 to write and read the eXist xml-db

2008-09-20 Thread Dave Brosius
Start with implementing a class that implements javax.jcr.Repository. This is the starting point. As you implement this class, you will need to implement lots of other classes, to satisfy the interface. But that should drive your understanding of what you need to do. --dave - Original Me

[jira] Commented: (JCR-1522) [PATCH] Java Class file text extractor

2008-09-02 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627753#action_12627753 ] Dave Brosius commented on JCR-1522: --- >> PS. Dave, I assume it's O

[jira] Commented: (JCR-1456) Database connection pooling

2008-09-02 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627752#action_12627752 ] Dave Brosius commented on JCR-1456: --- I like the idea of this patch, but i think

[jira] Updated: (JCR-1594) FirstHop maven archetype

2008-05-10 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1594: -- Attachment: (was: firsthop-1.0-SNAPSHOT.jar) > FirstHop maven archet

[jira] Updated: (JCR-1594) FirstHop maven archetype

2008-05-10 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1594: -- Attachment: firsthop-1.0-SNAPSHOT.jar add SecondHop.java as well > FirstHop maven archet

[jira] Updated: (JCR-1594) FirstHop maven archetype

2008-05-10 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1594: -- Attachment: firsthop-1.0-SNAPSHOT.jar > FirstHop maven archet

[jira] Updated: (JCR-1594) FirstHop maven archetype

2008-05-10 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1594: -- Attachment: (was: firsthop-1.0-SNAPSHOT.jar) > FirstHop maven archet

[jira] Updated: (JCR-1594) FirstHop maven archetype

2008-05-10 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1594: -- Attachment: firsthop-1.0-SNAPSHOT.jar > FirstHop maven archet

[jira] Created: (JCR-1594) FirstHop maven archetype

2008-05-10 Thread Dave Brosius (JIRA)
FirstHop maven archetype Key: JCR-1594 URL: https://issues.apache.org/jira/browse/JCR-1594 Project: Jackrabbit Issue Type: New Feature Reporter: Dave Brosius Priority: Trivial I'm no

[jira] Created: (JCR-1575) [PATCH] cleanup unwanted stream closing that isn't used

2008-05-06 Thread Dave Brosius (JIRA)
nents: jackrabbit-core Affects Versions: core 1.4.2 Reporter: Dave Brosius Priority: Trivial Fix For: core 1.4.4 Attachments: unneeded_null_in_closing.patch Due to refactoring, a stream is being closed that is never used. Isn't harmful, jus

[jira] Updated: (JCR-1575) [PATCH] cleanup unwanted stream closing that isn't used

2008-05-06 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1575?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1575: -- Attachment: unneeded_null_in_closing.patch > [PATCH] cleanup unwanted stream closing that isn

[jira] Updated: (JCR-1574) [PATCH] PropertyWrapper has a typo that causes an infinite loop

2008-05-06 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1574: -- Attachment: PropertyWrapper_typo_infinite_loop.patch > [PATCH] PropertyWrapper has a typo that causes

[jira] Created: (JCR-1574) [PATCH] PropertyWrapper has a typo that causes an infinite loop

2008-05-06 Thread Dave Brosius (JIRA)
Components: jackrabbit-core Affects Versions: core 1.4.2 Reporter: Dave Brosius Priority: Minor Fix For: core 1.4.4 PropertyWrapper.refresh is missing the delegation to 'property' for refresh, and has an infinite loop instead. Patch fixes th

[jira] Updated: (JCR-1570) [PATCH] better exception messages when generating schema

2008-05-02 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1570: -- Attachment: better_schema_ex_messages.patch > [PATCH] better exception messages when generating sch

[jira] Created: (JCR-1570) [PATCH] better exception messages when generating schema

2008-05-02 Thread Dave Brosius (JIRA)
Components: jackrabbit-core Affects Versions: core 1.4.2 Reporter: Dave Brosius Priority: Trivial Fix For: core 1.4.4 When a statement fails to execute generating the schema, patch outputs the statement that failed. -- This message is automatically generated

Re: JCRSQLQueryBuilder.java

2008-05-01 Thread Dave Brosius
Bah, never mind, i blew away my repository and started over, and alls ok. Sorry for the noise. - Original Message - From: "Dave Brosius" <[EMAIL PROTECTED]> To: Sent: Friday, May 02, 2008 12:40 AM Subject: JCRSQLQueryBuilder.java Howdy, I am trying to build svn

JCRSQLQueryBuilder.java

2008-05-01 Thread Dave Brosius
Howdy, I am trying to build svn head and getting bunches of errors in JCRSQLQueryBuilder, like the following. C:\jackrabbit-latest\jackrabbit-core\src\main\java\org\apache\jackrabbit\core\query\sql\JCRSQLQueryBuilder.java:[321,23] cannot find symbol symbol : method getOperationType() loc

[jira] Commented: (JCR-1544) [PATCH] fix a NOT b queries

2008-04-22 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591450#action_12591450 ] Dave Brosius commented on JCR-1544: --- Ok, fair enough. Is the query syntax of cont

[jira] Updated: (JCR-1544) [PATCH] fix a NOT b queries

2008-04-17 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1544: -- Description: the query a NOT b doesn't work. Problem was LuceneQueryBuilder was lower casing th

[jira] Created: (JCR-1544) [PATCH] fix a NOT b queries

2008-04-17 Thread Dave Brosius (JIRA)
Reporter: Dave Brosius Priority: Minor Fix For: core 1.4.3 Attachments: fix_not_queries.patch the query a NOT b doesn't work. Problem was LuceneQueryBuilder was lower casing the NOT which causes the javacc code to fail. In addition, code just did a

[jira] Updated: (JCR-1544) [PATCH] fix a NOT b queries

2008-04-17 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1544: -- Attachment: fix_not_queries.patch > [PATCH] fix a NOT b quer

[jira] Created: (JCR-1538) [patch] add toString for NodeImpl and PropertyImpl

2008-04-14 Thread Dave Brosius (JIRA)
: jackrabbit-core Affects Versions: core 1.4.2 Reporter: Dave Brosius Priority: Trivial Fix For: 1.5 Attachments: node_and_property_toString.patch add toString for NodeImpl and PropertyImpl with new format. see how it is liked, before adding more

[jira] Updated: (JCR-1538) [patch] add toString for NodeImpl and PropertyImpl

2008-04-14 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1538: -- Attachment: node_and_property_toString.patch > [patch] add toString for NodeImpl and PropertyI

Re: lack of toString?

2008-04-14 Thread Dave Brosius
>>This risk could be mitigated by returning a prefix (for example the class name) and the value (except for binaries of course): Yes, I agree. I tend to do things like ItemImpl[Name=Foo;Type=Boohoo] as a toString format. So long as this is ok, i'll add them. -Original Message- From: T

lack of toString?

2008-04-12 Thread Dave Brosius
I notice that many of the classes in Jackrabbit lack a toString method. Without them, it makes debugging code more difficult. My question is, is that intentional? Did you want to avoid a problem of people using toString for production code? Or would folks be ok if i added some?

[jira] Created: (JCR-1531) [PATCH] Add Column and line numbers to repository.xml parse exception messages

2008-04-10 Thread Dave Brosius (JIRA)
Issue Type: Improvement Components: jackrabbit-core Affects Versions: core 1.4.2 Reporter: Dave Brosius Priority: Trivial Fix For: 1.5 Attachments: report_config_parse_error_position.patch Code caught SAXExceptions when the an xml

[jira] Updated: (JCR-1531) [PATCH] Add Column and line numbers to repository.xml parse exception messages

2008-04-10 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1531: -- Attachment: report_config_parse_error_position.patch > [PATCH] Add Column and line numbers

[jira] Issue Comment Edited: (JCR-1521) Text Extractors are executed twice

2008-04-10 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587751#action_12587751 ] dbrosius edited comment on JCR-1521 at 4/10/08 6:54 PM: Based on

[jira] Commented: (JCR-1521) Text Extractors are executed twice

2008-04-10 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587751#action_12587751 ] Dave Brosius commented on JCR-1521: --- Based on the stack traces, i see this line in

[jira] Commented: (JCR-1521) Text Extractors are executed twice

2008-04-09 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587462#action_12587462 ] Dave Brosius commented on JCR-1521: --- It might be useful to put this Exception e =

[jira] Updated: (JCR-1522) [PATCH] Java Class file text extractor

2008-04-07 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1522: -- Attachment: classfile_text_extractor.patch converted tabs to spaces > [PATCH] Java Class file t

[jira] Commented: (JCR-1522) [PATCH] Java Class file text extractor

2008-04-07 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1522?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12586367#action_12586367 ] Dave Brosius commented on JCR-1522: --- I assumed this dependency was ok, as ocm use

[jira] Updated: (JCR-1523) [PATCH] png, apng, mng text extractor

2008-04-07 Thread Dave Brosius (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dave Brosius updated JCR-1523: -- Attachment: png_text_extractor.patch changes made as suggested > [PATCH] png, apng, mng text extrac

[jira] Created: (JCR-1524) [PATCH] tests use 12 for month which is invalid

2008-04-06 Thread Dave Brosius (JIRA)
Affects Versions: 1.4 Reporter: Dave Brosius Priority: Trivial Fix For: 1.4.1 Attachments: december_is_not_12.patch tests create calendar with 12 as a month, which is invalid. December is 11, so use Calendar.DECEMBER instead. - patch fixes this

  1   2   >