Return-Path: Delivered-To: apmail-incubator-pdfbox-dev-archive@minotaur.apache.org Received: (qmail 78210 invoked from network); 10 Feb 2009 17:45:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 17:45:25 -0000 Received: (qmail 92723 invoked by uid 500); 10 Feb 2009 17:45:23 -0000 Delivered-To: apmail-incubator-pdfbox-dev-archive@incubator.apache.org Received: (qmail 92643 invoked by uid 500); 10 Feb 2009 17:45:23 -0000 Mailing-List: contact pdfbox-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: pdfbox-dev@incubator.apache.org Delivered-To: mailing list pdfbox-dev@incubator.apache.org Received: (qmail 92556 invoked by uid 99); 10 Feb 2009 17:45:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 09:45:22 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 17:45:21 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DA59B234C4B8 for ; Tue, 10 Feb 2009 09:44:59 -0800 (PST) Message-ID: <1372544964.1234287899893.JavaMail.jira@brutus> Date: Tue, 10 Feb 2009 09:44:59 -0800 (PST) From: "Gustavo Hexsel (JIRA)" To: pdfbox-dev@incubator.apache.org Subject: [jira] Created: (PDFBOX-422) Methods are marked as deprecated but they're effectively dead MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Methods are marked as deprecated but they're effectively dead ------------------------------------------------------------- Key: PDFBOX-422 URL: https://issues.apache.org/jira/browse/PDFBOX-422 Project: PDFBox Issue Type: Bug Components: Text extraction Affects Versions: 0.8.0-incubator Reporter: Gustavo Hexsel There are several methods on PDFTextStripper and PDFStreamEngine that are marked @deprecated, but they are not really used by the existing infrastructure anymore. This would be ok if such methods weren't callbacks. In this case, it breaks pre-existing code, and prevents the compiler from letting you know the methods are not to be used anymore. Simply removing the methods would have been a much better solution in this case. Example of said methods: org.apache.pdfbox.util.PDFTextStripper#processLineSeparator org.apache.pdfbox.util.PDFTextStripper#processWordSeparator org.apache.pdfbox.util.PDFTextStripper#writeCharacters -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.