Return-Path: X-Original-To: apmail-creadur-dev-archive@www.apache.org Delivered-To: apmail-creadur-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 827D318962 for ; Sat, 30 May 2015 20:07:17 +0000 (UTC) Received: (qmail 81578 invoked by uid 500); 30 May 2015 20:07:17 -0000 Delivered-To: apmail-creadur-dev-archive@creadur.apache.org Received: (qmail 81538 invoked by uid 500); 30 May 2015 20:07:17 -0000 Mailing-List: contact dev-help@creadur.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@creadur.apache.org Delivered-To: mailing list dev@creadur.apache.org Received: (qmail 81524 invoked by uid 99); 30 May 2015 20:07:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 30 May 2015 20:07:17 +0000 Date: Sat, 30 May 2015 20:07:17 +0000 (UTC) From: "Philipp Ottlinger (JIRA)" To: dev@creadur.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (RAT-204) Make sure I/O resources are properly closed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RAT-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Philipp Ottlinger updated RAT-204: ---------------------------------- Description: At the moment multiple tests and classes implement hand-crafted methods to * read, write files * delete files * close files Some of these can be unified to use IOUtils to have a more concise codebase. Apply IntelliJ/Eclipse warnings, minor refactorings to avoid * NPE/ null access * resource leaks h2. Affected modules * apache-rat-core - http://svn.apache.org/r1682341 * apache-rat-plugin - http://svn.apache.org/r1682347 * apache-rat-tasks - http://svn.apache.org/r1682561 was: At the moment multiple tests and classes implement hand-crafted methods to * read, write files * delete files * close files Some of these can be unified to use IOUtils to have a more concise codebase. Apply IntelliJ/Eclipse warnings, minor refactorings to avoid * NPE/ null access * resource leaks h2. Affected modules * apache-rat-core - http://svn.apache.org/r1682341 * apache-rat-plugin - http://svn.apache.org/r1682347 > Make sure I/O resources are properly closed > ------------------------------------------- > > Key: RAT-204 > URL: https://issues.apache.org/jira/browse/RAT-204 > Project: Apache Rat > Issue Type: Improvement > Affects Versions: 0.11 > Reporter: Philipp Ottlinger > Assignee: Philipp Ottlinger > Priority: Minor > Fix For: 0.12 > > > At the moment multiple tests and classes implement hand-crafted methods to > * read, write files > * delete files > * close files > Some of these can be unified to use IOUtils to have a more concise codebase. > Apply IntelliJ/Eclipse warnings, minor refactorings to avoid > * NPE/ null access > * resource leaks > h2. Affected modules > * apache-rat-core - http://svn.apache.org/r1682341 > * apache-rat-plugin - http://svn.apache.org/r1682347 > * apache-rat-tasks - http://svn.apache.org/r1682561 -- This message was sent by Atlassian JIRA (v6.3.4#6332)