Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 63146 invoked from network); 25 Jun 2004 16:35:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jun 2004 16:35:13 -0000 Received: (qmail 73333 invoked by uid 500); 25 Jun 2004 16:35:17 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 73225 invoked by uid 500); 25 Jun 2004 16:35:15 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 73141 invoked by uid 99); 25 Jun 2004 16:35:12 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [216.136.173.241] (HELO web12704.mail.yahoo.com) (216.136.173.241) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 25 Jun 2004 09:35:09 -0700 Message-ID: <20040625163454.93646.qmail@web12704.mail.yahoo.com> Received: from [211.95.204.99] by web12704.mail.yahoo.com via HTTP; Fri, 25 Jun 2004 09:34:54 PDT Date: Fri, 25 Jun 2004 09:34:54 -0700 (PDT) From: Otis Gospodnetic Subject: Re: Java 1.5 Error w/lucene 1.4rc4 To: Lucene Developers List In-Reply-To: <3f0b9bc404062509284590422d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N No problem. Send the diff to dev@nu.... please. :) Otis --- Byron Miller wrote: > You know, my brain must have been on power saving mode, i didn't > think > of that obvious easy fix :) > > Thanks! hehe > > On Fri, 25 Jun 2004 09:27:10 -0700 (PDT), Otis Gospodnetic > wrote: > > > > Byron, I don't have Nutch sources handy to check, but this can > probably > > be fixed in Nutch (not Lucene), by using > > org.apache.lucene.util.PriorityQueue instead of just PriorityQueue, > and > > making sure there are no import java.util.* lines and such. > > > > Otis > > > > > > > > --- Byron Miller wrote: > > > While building nutch i ran across this error in > > > "org.apache.lucene.util.PriorityQueue" where it appears that java > 1.5 > > > now has "java.util.PriorityQueue" so the compiler is confused. > > > > > > Here is the ant error blow: > > > > > > [javac] Compiling 157 source files to > > > /home/blogbot/nutch/build/classes > > > [javac] > > > > > > /home/blogbot/nutch/src/java/net/nutch/indexer/IndexOptimizer.java:81: > > > reference to PriorityQueue is ambiguous, both class > > > org.apache.lucene.util.PriorityQueue in org.apache.lucene.util > and > > > class java.util.PriorityQueue in java.util match > > > [javac] private static class ScoreDocQueue extends > > > PriorityQueue { > > > > > > Thanks, > > > -byron > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org > > > For additional commands, e-mail: > lucene-dev-help@jakarta.apache.org > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: lucene-dev-help@jakarta.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: lucene-dev-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: lucene-dev-help@jakarta.apache.org